• Resolved elzappa

    (@elzappa)


    Hi,

    I noticed after upgrading several sites to latest version of FVM that on newer sites google maps no longer load and the missingapikey message is present in the dev console.

    When FVM is active is appears to strip out the querystring so… for example

    //maps.google.com/maps/api/js?key=AIzaSyAaLhi7XNuvb2Jg3k4jh5kjhyNKri0zRD

    becomes

    //maps.google.com/maps/api/js

    As a result the api key is never sent and the maps don’t load. Of course only a problem for sites that were not using google maps prior to google’s requirement to use an api key.

    Only solution i have at present is to hard code the url into the theme.

    Is there anyway to stop this from being stripped out? For information, i’m using “WP Google Maps” plugin to generate the maps. Although it also performs the same action when i try to add the “API KEY for Google Maps” plugin

    Thanks!

    • This topic was modified 7 years, 5 months ago by elzappa.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi,

    Thanks for reporting.
    I’ve found where the bug is and this will be fixed on the next update, which will be available within the next couple of hours.

    Make sure you select version 3.exp on WP Google Map, since others are deprecated:

    Thread Starter elzappa

    (@elzappa)

    Hi Raul,

    Great stuff – thanks for quick response, great plugin – keep up the good work ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Querystring removal and google maps api key’ is closed to new replies.