Support » Plugin: WP GPX Maps » This page contains some resources that are not secure

  • Hi,

    thanks for this great plugin

    May I suggest a small fix ?

    In WP-GPX-Maps.js, line 616, the icon url is using http. On website that use https, this cause browsers to display a security alert “This page contains some resources that are not secure”.

    May I suggest to use the following syntax

    currentIcon = "//maps.google.com/mapfiles/kml/pal4/icon25.png";

    instead of

    currentIcon = "http://maps.google.com/mapfiles/kml/pal4/icon25.png";

    This way, resource will be loaded according to the protocol used for the website.

    • This topic was modified 2 years, 5 months ago by  wordpressfab.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘This page contains some resources that are not secure’ is closed to new replies.