mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.37k stars 1.33k forks source link

Is there any way I can add markers to map when tapped using package mapbox_gl in Flutter? #16597

Open saksham-gt opened 3 years ago

saksham-gt commented 3 years ago

Platform: Android Mapbox SDK version:

I'm using mapbox_gl 0.11.0 for my Flutter application. Well, I'm trying to add a marker as a user clicks on a place in the map, but I'm unable to do so. Is there any way I can add markers in maps using mapbox_gl package?

P.S. : I also tried using flutter_map but actually I'm also using camera package in the same app and there there's some issue with the version or something of quiver or something like that.

Can anyone please suggest a solution?

Thanks. SG!