-
Notifications
You must be signed in to change notification settings - Fork 34
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
Are tiles also available over https? #67
Comments
Yes, but from different hostnames: https://stamen-tiles-{s}.a.ssl.fastly.net https://github.com/stamen/maps.stamen.com/blob/master/index.html#L443-L453 |
Please reconsider and reopen. |
@teo1978, @mojodna is away for a week. Not sure why that anchor link isn't working (it's getting intercepted and rewritten by the hash on the map at the top of the page), but the SSL documentation is at the very bottom of http://maps.stamen.com/
Stamen's map tiles are available as a free service, and my understanding is that maintaining custom-domain https through fast.ly (which provides our caching) is rather costly. We just had a similar discussion with the folks over at CartoDB, and they do the same thing for their free map tiles. |
I see. |
@teo1978 good point, CloudFlare's free SSL is nice. The main draw of Fastly is that it's unabashedly Varnish under the hood, which allows us to do some fairly complex stuff w/r/t artificial responses, backends for partial paths, etc. So, CloudFlare isn't a drop-in replacement, but it could work as an additional layer that provides SSL (under the free plan, even). Actually, the simplest solution is probably to use |
@mojodna since the non SSL endpoint is
then the protocol-less URL should be
(the {S} placeholder does already include a trailing dot). The url that you have in the front page right now suggest using
which has an extra dot after the {S} placeholder. |
Hmm. Yeah, I'd forgotten about that. ModestMaps, which the docs were originally written in mind for (hence the capitalized It might be clearer to not use the substitution syntax and instead be more explicit about that being where a subdomain could be placed. |
Could the JS file here (http://maps.stamen.com/js/tile.stamen.js) be modified to use the protocol agnostic URL? That would make implementation a bit smoother for mixed environments. |
For any React-Leaflet user stumbling here, the definitive URL for toner-lite is :
Beware of the lowercase {s}. |
This would be really helpful and would encourage use of the CDN link for the .js file rather than downloading it and changing the link. That said, thanks for offering this free service! |
In https://michielbdejong.com/2014/checked-into-mitosis- there is for instance this tile:
http://c.tile.stamen.com/toner-lite/16/35215/21503.png
When I try to open https://c.tile.stamen.com/toner-lite/16/35215/21503.png there is no appropriate certificate on there. Is there somewhere where this tile is available over https?
The text was updated successfully, but these errors were encountered: