2
votes

I am using mapbox to show the maps. In the mapbox documentation, it is said to be maximum zoom level is 18. But my requirement is too zoom the map > 18.

I am using below library in the build.gradle

compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:3.2.0@aar') {
    transitive = true
}

Can you please help me out from this problem. Thanks in Advance.

1

1 Answers

2
votes

This will be coming in the 4.0.0 release of the Mapbox Android SDK (and should be in the current snapshot releases), see this Github ticket for the implementation.

Once supported, you'll get/set the maximum zoom using:

map.getMaxZoom();
map.setMaxZoom(double);

The default will be 20 and the absolute maximum zoom will be 25 in v4.0.0.