Skip to content

v2.0 #85

Description

@tafelnl

This plugin is already quite good. But IMHO it still misses a few things to be a full fletched alternative to cordova-plugin-googlemaps in production.

I like to propose the following issues to be added to a possible milestone for v2.0 of this package. I considered a major release tag since some of the changes below are braking to 'old' API.

  1. The API should be unified to be completely the same on Android and iOS. At the moment event listeners and API calls have different names on both platforms. They should be the same.
  2. (Refactor: Split the Plugin class into smaller classes #8) Plugin classes should be split up in multiple classes
  3. Multiple map instances should be possible at once. The point above simplifies this. I already have a working proof-of-concept for Android.
  4. (Custom icon marker in SVG #15 & Marker icon not changing #44) Custom marker icons should be refactored to be fully supported and support vectors (and when possible svg's, but I do not think that is a hard requirement).
  5. (feat(map): cover map with HTMLElements #84) It should be possible for HTMLElements to overlap the map.
  6. Ideally, support for custom info windows is added. It would be even more interesting to support html content as an info window.
  7. Documentation should be updated. It should also be more clear. (Add docs using capacitor/docgen #17 & Reverse Geocoding Docs #4) have a WIP on these but slow progress.
  8. (Drawings on the map: Ground overlays #2 & Drawings on the map: Tiles #3) Finish drawing methods. Working local prototypes, need to cleanup and push. Could be a part of v2.

When above issues are addressed it is pretty much on par with the cordova maps, I think. Also, point 1, 2 and 3 I am already working on.

What do you think about this? Do you have any other important issues in mind that should be addressed?

__

On a side note: when releasing v2.0, it might be a good idea to change the name to capacitor-community/google-maps. This change addresses possible confusing about "capacitor" being two times in the name. Above all, the omitting of the word "native" opens up possibilities to also support web in the future.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions