mapbox / flutter-mapbox-gl

Moved to https://github.com/tobrun/flutter-mapbox-gl
Other
271 stars 60 forks source link

change to Platform View, add user location, simpler token #71

Closed yoavrofe closed 5 years ago

yoavrofe commented 5 years ago

This is a re-implementation of the Flutter plugin using Android Platform View. This is the path Google has taken with the Webview plugin, as well as their map plugin. The performance is good, and it's east to show the user location.

iOS is not implemented in this PR, but is quite easy to implement. An example is this Implementation of the plugin by Fontinalis, which is based on the Google Maps plugin.

I believe this basic plugin can be extended to provide full support of the Mapbox GL Native map.

Since Flutter will soon support the web as well, using HummingBird, I think it will be a good idea to have the controller methods stay as close as possible to the Mapbox GL JS component.

tobrun commented 5 years ago

This is amazing @yoavrofe !

tobrun commented 5 years ago

I'm going ahead and merge this. We can work out remaining todo and release when merged.