Search code examples
androidopenstreetmaposmdroid

how to limit mapview to show just a specific city?


i have seen the method mapView.setScrollableAreaLimit(bBox) for limiting the mapview to specific area .
now my question is how to limit mapview to a specific city? eg: Paris


Solution

  • Try to determine the bounding box for Paris, e.g. by using a geocoder like Nominatim.