mapbox / mapbox-plugins-ios

Experimental plugins to supercharge your maps ⚡️
ISC License
7 stars 8 forks source link

Plugin for disputed boundaries #15

Open jmkiley opened 7 years ago

jmkiley commented 7 years ago

We may want to add an iOS version of https://github.com/mapbox/mapbox-gl-boundaries/

One option is to offer a Boolean value that styles sets of disputed borders based on device locale.

1ec5 commented 7 years ago

Previously mapbox/ios-sdk-examples#29.

1ec5 commented 5 years ago

Mapbox Streets source v8 comes with a limited set of worldviews that a plugin could filter on. That said, this is really a form of localization/internationalization. So ultimately it would be great to put it right next to the built-in SDK option for localizing labels.

Regardless of where the functionality lives, it should default to choosing a worldview based on the country code in the system region, rather than forcing developers to implement that logic themselves. The automatic region logic is trivial but also well within the scope of what this issue tracks.