mapbox / leaflet-pip

point in polygon intersections for leaflet
https://mapbox.github.io/leaflet-pip/
BSD 2-Clause "Simplified" License
199 stars 46 forks source link

Example isn't working over HTTP on Chrome #21

Closed JamesLMilner closed 8 years ago

JamesLMilner commented 8 years ago

On Chrome you get the warning:

"getCurrentPosition() and watchPosition() are deprecated on insecure origins."

for the example of HTTP. You also get a lot of mixed content warnings over HTTPS: https://mapbox.github.io/leaflet-pip/

I think changing the description URL to HTTPS would be beneficial to people coming to the page. Happy to make the pull request if require.

tmcw commented 8 years ago

Thanks! We're now enforcing HTTPS and I switched the tile default to HTTPS to avoid the mixed content problem.