Support » Plugin: API KEY for Google Maps » Try to use https://wordpress.org/plugins/geolocation/

  • Resolved sebas74

    (@sebas74)


    hi,
    so it is the only natural embedded solution in the wp ios app, i still try to use the following (old?) plugin: https://wordpress.org/plugins/geolocation/
    i hoped to get the map displayed by using your API plugin, but it does not work – instead of the map i just get the “google map is not working java-script frame”. the api key is fresh generated with the api manager on my google account – do you have any idea? is there someone else you tries to use the “geolocation” plugin together with the API-plugin?
    thanks for help.
    site link: http://spanien2017.mayaweb.de/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stiofan

    (@stiofansisland)

    Hi @sebas74,

    That plugin does not add the Google api script the correct WordPress way, so this plugin will not help. If the author adds the script the proper WordPress way then this will work.

    It looks like the author of that plugin has not updated it in a while, you might be best editing the plugin file and adding the key to the correct line:
    Change:
    http://maps.google.com/maps/api/js?sensor=true
    to:
    http://maps.google.com/maps/api/js?key=MY_API_KEY
    Where MY_API_KEY is your api key you generated.

    Thanks,

    Stiofan

    Thank you very much! For your help and the very quick response!!
    I even had to change the line:
    http://maps.google.com/maps/api/js?sensor=false
    and adding the api key – now the old plugin works and shows the map even in back/and frontend!
    It´s a pity that the developer of the wp ios app don´t change the integrated geolocation feature to a actual and supported plugin.
    Thanks again
    Sebastian

    Plugin Author Stiofan

    (@stiofansisland)

    Thanks for letting us know 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Try to use https://wordpress.org/plugins/geolocation/’ is closed to new replies.