Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • lolaika Friend
    #998278

    I would like to know, how can the Google Map of the location of the event can be shown… The latitude and longitude are correct. But whe you open the event it’s not showing the map.

    Do you know what’s happening?


    1. Captura-de-pantalla-2016-12-29-17.10.04
    Pankaj Sharma Moderator
    #998352

    Hi
    Now Google map needs API key to show map, Open in file : /html/layouts/joomla/content/item/event.php" in template "ja_charity".
    Line 189
    Add you Google map API key.
    Example:
    https://maps.googleapis.com/maps/api/js?key=
    Doc. here
    save and check.

    Hope it help.

    lolaika Friend
    #998365

    I replaced the API Key, but it’s still not showing the map. When you add the key, does it take long to configure?

    Pankaj Sharma Moderator
    #998367
    lolaika Friend
    #998373

    Weird, I cannot see it. Let me try in other devices…

    Pankaj Sharma Moderator
    #998400

    Hi
    Kindly clean the browser cache or check it another browser its showing fine in my Google chrome.
    Regards

    lolaika Friend
    #998403

    No, I cleaned the cache and reviewed in different devices and I still got the same issue. Still don’t know what’s wrong.

    Pankaj Sharma Moderator
    #998408

    Hi
    I just checked in Firefox too and its showing fine: http://prntscr.com/dplkcm
    You may check the error in the console window of the browser may be an issue from browser or browser extensions.

    lolaika Friend
    #998413

    Yes, I got an error: "Google Maps API error: RefererNotAllowedMapError " but I’m not sure what is wrong.

    :'(


    1. Captura-de-pantalla-2016-12-30-00.18.29
    lolaika Friend
    #998416

    The Error says: "The current URL loading the Google Maps JavaScript API has not been added to the list of allowed referrers. Please check the referrer settings of your API key on the Google API Console."

    But in my google accnt I have the restricted URL rule as :

    http://www.zaniccenter.com/*

    It is supposed to work, but I’m not sure.

    Pankaj Sharma Moderator
    #998471

    Hi
    its really strange. i suggest you to re create the API key and also raise ticket on Googlemap support why the error is showing in some locations , My side its working fine.

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 10 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum