Skip to content

[google_maps_flutter] Plans for adapting Maps SDK Utility Library for google_maps_flutter #50636

@Camerash

Description

@Camerash

Use case

Adape the existing Maps SDK Utility Libraries on Android and iOS

Adapting the existing utility library from both native platforms will allow:

  • Rendering KML and GeoJSON
  • Rendering Heatmap
  • Other features from the utility libraries

Proposal

Approach 1:

To create a separate plugin, which depends on the existing google_maps_flutter

Since the existing utility only requires a reference to the map view, I think is the easiest approach.
I have try to build a plugin which depends on the google_maps_flutter. However, it seems impossible to get a reference on the MapView, since the plugin passes a GoogleMapFactory directly to flutter and no way of getting the MapView reference.

Approach 2:

Add utility implementation to the main google_map_flutter library.

However, this seems to be an approach which contradicts the motivation of the existing separate native utility libraries.

Does the Flutter team currently have any plans for adapting the utility libraries?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: mapsGoogle Maps pluginpackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions