• Hi, I installed your plugin version PRO, but it doesnt work. I checked the console in Google Chrome and there is an error: You have included the Google Maps API multiple times on this page. This may cause unexpected errors. Can you help me out?
    https://www.aireretro.es/puntos-de-venta/

    • This topic was modified 7 years, 10 months ago by ucolin.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello

    It appears the Google Maps API is being loaded more than once on the page, which is causing an issue with your map. Please disable your another google map API(most likely from your theme)

    Please disable your theme api key and your issue will be resolved.

    Thanks

    Its not a problem with plugins but another js who load api by the theme.
    The solution is here, if you have created api key on google developer page and have installed Wp Google Maps Plugin, you can add that simple JS on footer or to any other page you want to load Google Maps.

    <script type=”text/javascript”
    src=”https://maps.googleapis.com/maps/api/js?key=PUT_YOUR_KEY_HERE&libraries=geometry,places”>
    </script>

    I just used Geometry and Places to load on Google Maps, bur you can add other options there.
    This JavaScript its not only for WordPress CMS but you can use it on other platforms either.

    Peace ??

    Hello @olsi Ferazini

    Thank you so much for your suggestion ??

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘You have included the Google Maps API multiple times on this page’ is closed to new replies.