• Resolved d33v

    (@d33v)


    Hi @all,

    i have problems with the plugin “Events Manager”.

    When i create a new Event and type the Street and Postal code, no map is showing.
    I get the error: Map not available.

    The Problem is not the Google API Key.
    When i use the API key on my TEST Site with the same plugin and version i have no problems.

    I have tried to disable all plugins and set the default theme but the problem is not solved.
    Also i have reinstalled the plugin without success.

    The plugin has worked some time ago.
    I do not know since when the plugin does not work anymore and what is the cause for it.

    Please can you help me how i can solve the problem.
    Many thanks in advance.

    Best regards
    d33v

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    Can you post a link?

    Hello,

    I have the very same problem and would like to provide some additional info:

    I have generated a Google API key according to Event Manager’s tutorial, just leaving it unrestricted for testing purposes. I’m using this key on both my local site and the client site.

    On my local site, I can add an event location and the map gets displayed correctly in both backend and frontend.

    On the client site, event locations that were added some time ago correctly show the map in frontend. However, the map won’t appear for newly created locations. In backend, I get Google Maps API error: MissingKeyMapError in the javascript console. Therefore, the coordinates don’t seem to be saved and in frontend I get Map not available. Again, this is using the same key that works on my local site.

    Another interesting titbit: I can add events using the frontend [event_form], the map works and the location is being saved. The map appears correctly for events that are added in this way.

    Can you post a link?

    Sure. Login/password is noeps/pferdchen.

    This works:
    http://noeps.at/termine/test-2-0/

    While this one doesn’t:
    http://noeps.at/termine/naturdialog-2016/

    Here is the frontend form, which also works:
    http://noeps.at/termine/temin-vorschlagen/

    If you need access to the backend, please let me know how I can message you directly.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    I see what you mean, I tried this on our test server and it seems to be working fine; we will to tried this again and update you here.

    Solved the problem! In my case it was a conflict with the Enfold theme, which also loads the Google Maps API. I had to make sure that the theme was up-to-date and then add the API browser key in Enfold settings. To be clear, it’s all about this line missing the API key:
    <script type='text/javascript' src='http://maps.google.com/maps/api/js?v=3.24'></script>

    Now in theory, any theme or plugin could load the API (without a key) before Events Manager does, therefore interfering with EM’s usage in the admin area.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Google Map not available’ is closed to new replies.