-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for mapbox style URLs #38
Conversation
Sweet! 👍 |
Hi, The custom style url are working perfectly for me on android, but on ios when the map is getting rendered (with the custom style url instead of the predefined ones) it crashes with the following message: -[__NSCFString scheme]: unrecognized selector sent to instance 0x7878d520 I've tried without the style url and it works fine... Is there a way to fix this misbehavior? Thanks in advance, wonderful job |
Hi @request-eduardo what's the style URL you're using? (want to reproduce the error) |
I found the problem already... Android accepts the style URL as the mapbox studio site provides it, with mapbox:// (only 2 slashes) but iOS only accepts it with mapbox:/// (3 slashes). After I changed it for iOS I noticed Android doesn't care which one I use, so I ended up just using 3 slashes. Thanks a lot for following the issue and answering so promptly, I expect this answer is useful for anyone else who runs into this |
Ha, thanks for sharing indeed! |
add support for mapbox style URLs
No description provided.