-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
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?