mapbox / DEPRECATED-mapbox-ios-sdk

REPLACED – use https://www.mapbox.com/ios-sdk instead
https://github.com/mapbox/mapbox-gl-native
Other
322 stars 8 forks source link

catch bad token with assertion during development #601

Closed incanus closed 9 years ago

incanus commented 9 years ago

When a bad access token is used with the v4 API, the tile source TileJSON comes back bad due to failed access, but this only manifests in an invalid layer to add. We should fail hard here during dev with an assertion to let the dev know.

screen shot 2015-03-09 at 1 55 53 pm