AgeOfMobile / flutter_mapbox

MapBox for Flutter
Other
7 stars 0 forks source link

Displaying current location #4

Open yoavrofe opened 6 years ago

yoavrofe commented 6 years ago

@tribui , Do you think the location plugin can be added to the plugin?

tribui commented 6 years ago

Hi @yoavrofe,

Sorry to say that I didn't follow up on the development of the Mapbox plugin since it's officially developed under Mapbox repo (I moved to another project).

I had a look at the Location Plugin source code. The Location Plugin depends on MapView and MapboxMap instances, but Mapbox's Flutter plugin works directly with NativeMapView, so I think it will not work without modifying the Location Plugin code. Though changing Location Plugin code to make it work with Flutter plugin is not so difficult, but it's not ideal.