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

UrlTile example is showing a beige screen on Apple Maps #1404

Closed
shenst1 opened this issue Jun 13, 2017 · 7 comments
Closed

UrlTile example is showing a beige screen on Apple Maps #1404

shenst1 opened this issue Jun 13, 2017 · 7 comments

Comments

@shenst1
Copy link

shenst1 commented Jun 13, 2017

screen shot 2017-06-13 at 4 03 24 pm

When trying to recreate the example of CustomTiles in the example folder, I am getting the above screen instead of the watercolor overlay. I created a [separate react-native project with the component isolated](https://github.com/shenst1/MapPlayground).
@markmssd
Copy link

Could it be because of a missing/wrong Google Maps API key? I know there was an opened PR to make urlTiles not to depend on it, not sure if it's merged yet though...

@shenst1
Copy link
Author

shenst1 commented Jun 14, 2017

This example isn't using Google Maps, it is using apple maps. Unless urlTiles are only meant to work with Google Maps?

@markmssd
Copy link

I think you're right, it could be related to this PR #1357

@shenst1
Copy link
Author

shenst1 commented Jun 15, 2017

hmm, I don't think that is the same issue. According to the screenshot provided by @spikebrehm in PR 595, the tileurls should be working in apple maps. I think an overlay is different than a tile, i could be wrong about that though.

@neo125874
Copy link

@shenst1 hi, did you got the tile working on the apple's map?

@shenst1
Copy link
Author

shenst1 commented Jun 26, 2017

@neo125874 nope, still stuck in a land of beige screens

@shenst1
Copy link
Author

shenst1 commented Jul 12, 2017

needed to allow the example url:
For IOS: configure App Transport Security in your app
So, in your Info.plist

<key>c.tile.stamen.com</key>
<dict>
  <key>NSExceptionAllowsInsecureHTTPLoads</key>
  <true/>
</dict>

@shenst1 shenst1 closed this as completed Jul 12, 2017
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