-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
Cannot load HTTP vector sources #177
Comments
Wondering whether it has to do with HTTP/S and mixed content.
2017-10-16 12:28 GMT-04:00 Peter Keum <notifications@github.com>:
… When I tried to load the data using https://maputnik.github.io/
editor/#10.82/47.6967/-122.2273
this site, it doesn't work.
But when I do load onto this maputnik http://editor.openmaptiles.
org/#10.75/47.6140/-122.3843
it works fine.
Can someone can explain the difference between maputnik that's running on
github.io and another one running off openmaptiles folks?
I'll be greatly appreciated for your help.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#177>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABOok4AcZZxddiX6AcijV3JQD7nz3E8kks5ss4QbgaJpZM4P65Ow>
.
|
@keum if you use https (https://editor.openmaptiles.org/#10.75/47.6140/-122.3843) do you get the same issue? |
@orangemug no, openmaptile version of maptunik works fine and renders the data. I think what @lukasmartinelli is thinking that http/s might has to do with it. Openmaptile.org version doesn't have https..just http. I'm trying to add source from my DigitalOcean vector tile that I've created here. http://vectortile.pkgeo.com:8080/data/wabldg.json. I think i see the problem, github's starts w/ HTTPS. any suggestion on getting around this so wabldg.json can be added to both version of maputnik? thanks as always. |
I see why it's doing it. I need to change my tileserver to serve https instead of http. I' think you can close this issue. |
@orangemug I imagine the majority of people will serve their tiles via HTTP... and then they cannot use maputnik.github.io to style them quickly - cause it is HTTP. I researched you cannot disable HTTPS enforcement on GitHub pages 😢 . |
@lukasmartinelli there is two version for editor.openmaptiles.org |
@lukasmartinelli so I'm a fan of using As for the http/https issue we really should be encouraging people to use https, for security reasons. Allowing http as an option only leads users into a situation where they won't be able to use https sources later on. I think this will cause confusion for users. The exported styles will also work in We should however show a better error if users try to enter
...yeah this message could be a lot better, but you get the idea Thoughts? |
For serving tiles online. We can resurrect maputnik.com again (reverting the maputnik.github.io PR), the CNAME is already still pointing to github. Force push master from https://github.com/maputnik/maputnik.github.io to https://github.com/maputnik/maputnik.com and add CNAME file. |
thanks @lukasmartinelli I agree. I think for local development, you'll just need to use locally installed Maputnik. I'm satisfied w/ options so you're free to close the tix if you would like. |
@lukasmartinelli good point. Allowing both http and https sounds good to me at this point then. In future I may look to create a standalone static file server that supports https. I have some experience of this with https://github.com/orangemug/manage-hosts, if anyone is interested this branch https://github.com/orangemug/manage-hosts/compare/feature/https adds self signed certs on OSX (messy but works) |
I just finished maptime seattle last night and used https://github.com version. it's little cumbersome but when you load the source data, I needed to disabled the security on the browser in Firefox to render the http source vector data. |
When I tried to load the data using https://maputnik.github.io/editor/#10.82/47.6967/-122.2273
this site, it doesn't work.
But when I do load onto this maputnik http://editor.openmaptiles.org/#10.75/47.6140/-122.3843
it works fine.
Can someone can explain the difference between maputnik that's running on github.io and another one running off openmaptiles folks?
I'll be greatly appreciated for your help.
The text was updated successfully, but these errors were encountered: