osm-navigation-map
osm-navigation-map copied to clipboard
Broken via HTTPS
When accessing the osm-navigation-map via HTTPS in current Chromium, it seems to be broken because of mixed content warnings.
Thanks for pointing this out @dbrgn. Possibly because we are using http for the JSOM link: https://github.com/mapbox/osm-navigation-map/blob/gh-pages/index.js#L1450.
I don't think that's it. There's an AJAX request to Cloudfront via HTTP. And Mapillary does not seem to work at all.
Have set the enforce HTTPS option in gh-pages. Not sure if it makes a difference.
That's the mapillary vector tile then: https://github.com/mapbox/osm-navigation-map/blob/gh-pages/index.js#L194. I've disabled enforce https on gh-pages. @dbrgn let me know if that helps.
Does the mapillary integration support protocol-relative URLs?
"tiles": ["//d25uarhxywzl1j.cloudfront.net/v0.1/{z}/{x}/{y}.mvt"]
Alternatively (even better) enforce HTTPS and use the https protocol everywhere.