Skip to content

Errors rendering multiple maps on one page (related to Google Maps although OSM is used only) #3

Description

@zopyx

We are trying to render multiple maps (coming from several aggregated content objects with geolocation behavior enabled).

This leads to an the following JS error which is related to Google Maps although the maps are rendered using OSM.

You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
rh @ js?v=3&callback=onLoadGoogleApiCallback&sensor=false:125
zh @ js?v=3&callback=onLoadGoogleApiCallback&sensor=false:123
google.maps.Load @ js?v=3&callback=onLoadGoogleApiCallback&sensor=false:21
(anonymous) @ js?v=3&callback=onLoadGoogleApiCallback&sensor=false:203
(anonymous) @ js?v=3&callback=onLoadGoogleApiCallback&sensor=false:203

There is an additional JS error related to Google Maps:

VM4817 util.js:224 Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions