On screen controls

4 posts / 0 new
Last post
lloureirofertagus
On screen controls

How add the screen controls?

zoom, for example.

Thanks


MQBrianCoakley
Create a zoom control and add
Create a zoom control and add it to the map. Make sure you're using the Leaflet plugins for any new development as the MapQuest JavaScript sdk is deprecated and will be sunset in the not too distant future.

lloureirofertagus
Thanks for your help

Thanks for your help MQBrianCoakley.

Leaflet plugins? In android SDK?

 


MQBrianCoakley
Ah, the Android sdk - sorry.
Ah, the Android sdk - sorry. You can create your own control and use the MapboxMap.moveCamera to set the new zoom level.