I'm using MapBox to display an offline map that covers just a small portion of Earth and I want to show markers that have coordinates ranging from lng: 14.0 - 15.0 and lat: 54.0 - 55.0 .
The problem is that MapBox/Route-Me thinks that my map bounds are -180 - 180 and -85 - 85 . I can set bounds
propery in .mbtiles
but it doesn't help me because then it shows just a small portion of my map. I think I need to tell MapBox that my map is just 14.0 - 15.0 and lat: 54.0 - 55.0 and not whole world.
You want this API to constrain the map:
http://www.mapbox.com/mapbox-ios-sdk/api/#//api/name/setConstraintsSouthWest:northEast :
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.