Skip Navigation

JS error from Google API when displaying a map on the front end

Resolved

Topic Tags: Toolset Maps

Symptoms

When showing a map on the front end—either a map to display a single address, or a map with multiple markers coming from a View—a JavaScript error appears in the console:

Loading the Google Maps JavaScript API without a callback is not supported: https://developers.google.com/maps/documentation/javascript/url-params#required_parameters

Workaround

3 thought on JS error from Google API when displaying a map on the front end

  • I cannot confirm this is “no issue”
    Ever since this issue appears, any newly saved address does simply not work when querying it by location in a View
    Older addresses, saved previously, do work flawlessly.

    Not work means:
    – create user or post address field
    – fill it out and save
    – create a view and list items, search by distance from, and find “no results found”

    If you search by location of address that was saved prior to this bug, the results are shown.

  • Thanks for sharing @smileBeda

    I have added a link to a patched version of Maps that includes the fix which you can use until the production version of Maps is updated.

Comments are closed