Search code examples
androidosmdroid

how to set the boundaries of the map? uses OSMDroid


OSMDroid

how to set the boundaries of the map? so that there's such a

enter image description here


Solution

  • I think what you're looking for is:

    mMapView.setScrollableAreaLimit(boundingBox)