osm-navigation-map icon indicating copy to clipboard operation
osm-navigation-map copied to clipboard

Broken via HTTPS

Open dbrgn opened this issue 9 years ago • 5 comments

When accessing the osm-navigation-map via HTTPS in current Chromium, it seems to be broken because of mixed content warnings.

dbrgn avatar Sep 02 '16 07:09 dbrgn

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.

ajithranka avatar Sep 02 '16 08:09 ajithranka

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.

dbrgn avatar Sep 02 '16 09:09 dbrgn

Have set the enforce HTTPS option in gh-pages. Not sure if it makes a difference.

planemad avatar Sep 02 '16 10:09 planemad

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.

ajithranka avatar Sep 02 '16 11:09 ajithranka

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.

dbrgn avatar Sep 02 '16 11:09 dbrgn