Skip to content

Call to Openstreetmap provider through HTTP by default in geocoder.js #20

@benjaminh

Description

@benjaminh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions