Skip to content
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

Custom styles don't work on iOS #54

Closed
filleduchaos opened this issue Mar 30, 2019 · 2 comments
Closed

Custom styles don't work on iOS #54

filleduchaos opened this issue Mar 30, 2019 · 2 comments

Comments

@filleduchaos
Copy link

First off thanks for putting in the time on this plugin :)

I noticed today that the styleString parameter doesn't work on iOS. I'm using a custom style (built in Mapbox Studio), and I pass the mapbox:// URL for it to styleString. On Android it works fine, and the style is applied as expected. On iOS however it has no effect.

I think I have tracked down the problem to this class, which filters out all custom style URLs. I'm not familiar enough with Mapbox on iOS to know if this is by design though, or I would have raised a PR for a fix.

@philiplindberg
Copy link
Contributor

Seeing the exact same thing. The built-in Mapbox styles work fine (Outdoors, Light, Dark, etc...), but supplying your own style URL doesn't seem to do anything on iOS.

TimothySealy added a commit to TimothySealy/flutter-mapbox-gl that referenced this issue Apr 2, 2019
@tobrun tobrun closed this as completed in 06df802 Apr 17, 2019
SheaSmith pushed a commit to SheaSmith/flutter-mapbox-gl that referenced this issue Sep 15, 2019
[ios] - Load style from url (removes the need for default styles). Fixes flutter-mapbox-gl#54.
@GULERTOLGA
Copy link
Contributor

Hi
i have an example stye at http://ssltest.netcad.com.tr/a.json i am setting this url to styleString. Android works fine but on ios i can't see anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants