DEPRECATED-mapbox-ios-sdk
DEPRECATED-mapbox-ios-sdk copied to clipboard
map info bounds lacks precision
Assigned to MapBox iOS SDK #957. As reported in Tender:
The bounds values returned by Mapbox.com used by the iOS framework (and I assume would affect whatever else uses this) lacks precision. When querying http://a.tiles.mapbox.com/v3/examples.map-z2effxa8.json the bounds values returned are:
[-180,-85.0511,180,85.0511]but to be precise the latitude should be +/-85.05112878. The truncation results in a projected area that is smaller then the actual projected planet bounds. For example, calling [Mapview tileSourceBoundsContainScreenPoint:] with screen point 0,0 will always fail because it is outside the projected rect of the mapbox tile source due to the truncation of the bounds values.
Is there a URL that can be used to return more precise values?
We should handle this client-side and just reassign the value to a higher precision when we can make a guess that the server means it.