mcguffin / acf-openstreetmap-field

WordPress ACF Field for OpenStreetMap
https://wordpress.org/plugins/acf-openstreetmap-field/
GNU General Public License v3.0
107 stars 22 forks source link

Mixed Content warnings #6

Closed djcowan closed 5 years ago

djcowan commented 5 years ago

Simply raising the issue for tracking here. Love the plugin – hoping ACF implements this as an alternative map field

Issue: Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure image ''. This content should also be served over HTTPS. "page" was loaded over HTTPS, but requested an insecure image 'http://b.tiles.wmflabs.org/bw-mapnik/9/464/"image".png'. This content should also be served over HTTPS.

Related articles: https://help.openstreetmap.org/questions/63360/httpbtileosmorg-for-https https://github.com/Leaflet/Leaflet/issues/3186

mcguffin commented 5 years ago

https://b.tiles.wmflabs.org/bw-mapnik/9/464/123.png results in a certificate error.
However https://tiles.wmflabs.org/bw-mapnik/9/464/123.png works. Applied a quick'n'dirty patch, substituting the original URLs from leaflet providers. Related: https://github.com/leaflet-extras/leaflet-providers/pull/311