geocoder-js
geocoder-js copied to clipboard
Call to Openstreetmap provider through HTTP by default in geocoder.js
I have a page on which I call GeocoderJS through openstreetmap provider. Problem is my page is served with https, and I get some Mixed active content errors due to GeocoderJS using http protocol by default.
I had a look at and noticed that contrary to GoogleAPIProvider for which the protocol can be https, no https option is proposed for Openstreetmap provider (nor MapQuest btw). line 373.
Changing http to https on that line did solve the problem.