yagajs / leaflet-ng2

Angular.io integration of Leaflet
https://leaflet-ng2.yagajs.org
ISC License
66 stars 26 forks source link

https for OSM_TILE_LAYER_URL #433

Closed bpatrik closed 5 years ago

bpatrik commented 5 years ago

Hi,

The OSM_TILE_LAYER_URL uses an unsecure http url, that leads to a mixed content warning:

Mixed Content: The page at 'https://<mydomain>' was loaded over HTTPS, 
but requested an insecure image 'http://a.tile.openstreetmap.org/0/0/0.png'. 
This content should also be served over HTTPS.

Would you consider changing it to https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png. Or maybe to a protocol-relative URL?

Thank you!

Best, Patrik