简体   繁体   中英

How can I add markers on navigationlauncher of mapbox?

I'm using mapbox for map navigation.. is it possible to add markers on navigation view on mapbox like the waze app? when you start navigating markers are still shown on navigation

The NavigationView allows access to the MapboxMap via NavigationView#retrieveMap() . Once initialized, you should be able to use this to create your own SymbolManager using the annotation plugin. You can then use the plugin as your normally would to add / remove custom markers to the map.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM