Viewing 2 replies - 1 through 2 (of 2 total)
  • I have debugged the code for my site, and fixed the issue by changing a few details:

    1). Change the call from http to https on the static map area.
    2). Correct the address link to the new googleapis url.
    3) CREATE YOUR OWN API KEY ON GOOGLE DEVELOPPER. Because google has changed their API restrictions, etc, now you NEED to specify an api KEY to make this work (that is why you can access the image from the browser, but not embeded, the API does not retrieve the call as a correct one).

    In the end you have to change it to this:

    staticMap : ‘https://maps.googleapis.com/maps/api/staticmap?center=’ + address + ‘&markers=’ + address + ‘&size=’ + staticSize + ‘&sensor=true&key=YOURAPIKEY’,

    Hope it helps!

    Plugin Author jcdesign

    (@jcdesign)

    Thanks @psicotony! I have not really been keeping an eye on this, appreciate your help. I’m wrapping up the next version of the plugin, and I’ve included your fix for the staticMap. Will also be able to style the map.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Small browser compatibility’ is closed to new replies.