Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using Google's GMarkerManager cause the javascript error, because GMarkerManager is no longer supported by API version 3.
markermanager for ver3 is provided in the following.
http://google-maps-utility-library-v3.googlecode.com/svn/tags/markermana...
But it seems difficult to apply to gmap module.., because it need to change the structure of existing code.
EDIT: no, necessity patch for markermanager_marker.js
Comment | File | Size | Author |
---|---|---|---|
#1 | 1573062.patch | 2.01 KB | haiiro.shimeji |
Comments
Comment #1
haiiro.shimeji CreditAttribution: haiiro.shimeji commentedGoogle's GMarkerManager is no longer supported.
To use markermanager with googlemap v3, apply the following patch, and choose the radio button "GMaps Utility Library MarkerManager" in GMap setting (admin/config/services/gmap).
Downroad markermanager_packed.js from http://google-maps-utility-library-v3.googlecode.com/svn/tags/markermana...,
and place this in thirdparty/ directory.
cf) to use markermanager
https://groups.google.com/group/google-maps-js-api-v3/browse_thread/thre...
Comment #2
mmowers CreditAttribution: mmowers commentedI performed these steps and my markers are now showing up fine. Thanks!
Comment #3
haiiro.shimeji CreditAttribution: haiiro.shimeji commentedApplied the patch to 7.x-2.x and disable GMarkerManager radio button.
http://drupalcode.org/project/gmap.git/commit/a05cfa0
Comment #4
gabriel.achille CreditAttribution: gabriel.achille commentedHi
May a suggest to update the link to the old version of markermanager_packed.js present in the admin page: admin/config/services/gmap. (in file gmap_settings_ui.inc:376:)
I waste a few times before realizing my mistake...
Comment #5
gabriel.achille CreditAttribution: gabriel.achille commentedComment #6
haiiro.shimeji CreditAttribution: haiiro.shimeji commented@gabriel.achille
Thank you for your suggestion.
I fixed the url for getting markermanager.js and markerclusterer.js.
http://drupalcode.org/project/gmap.git/commit/a934ffd
Comment #7.0
(not verified) CreditAttribution: commentedmisunderstanding.