X
350729

Google maps disappaers after a few moments and is not showing the location

Hi there,

could you please have a closer look on this: https://www.rc-dorff.de/
By clicking on a event the the google part is showing for a second (without showing the adress) and disappears then.
The api-key is correctly, and also the adress as well.

The following error is shown:

Invalid latlng: (nan, nan)

Thanks for help!

BY: Jens Greeb - Apr 16,2024 AT 2:35AM - 2 years ago
    • Artem Apr 16,2024 AT 9:47AM - Posted 2 years ago - #350821

      Hello,

      Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer! Also please disable any IP blocking on your site if there are any.

    • Dev Help Apr 16,2024 AT 3:31PM - Posted 2 years ago - #350880

      Found the issue, so your google maps API key has referer restrictions, and it seems that is blocking the API from allowing the plugin to use it to get lat/lon values for the event location which is used to create the map/.

    • Dev Help Apr 16,2024 AT 3:33PM - Posted 2 years ago - #350882

      Found some information that might help resolve the API issue.

      https://wpstorelocator.co/document/create-google-api-keys/#:~:text=will%20be%20different.-,API%20keys%20with%20referer%20restrictions%20cannot%20be%20used%20with%20this,Address’%20for%20the%20server%20key.

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON