Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find Google Maps v3 markermanager.js

It appears that markermanager.js is no longer available on googlecode.com which has been closed. I have looked for an equivalent on Github, but so far without success. I can find marker-clusterer etc. but my code is built to run with markermanager.js.

Can anyone tell me where it has gone, please?

like image 773
Tim Dawson Avatar asked Feb 08 '23 01:02

Tim Dawson


1 Answers

Following Google's move of the source, the new GitHub version can be accessed via jsDelivr (a content deliver network with no bandwidth limits that's focused on performance, reliability, and security) by using the following script urls (standard and packed versions):

https://cdn.jsdelivr.net/gh/googlemaps/v3-utility-library@markermanager/1.2/markermanager.js
https://cdn.jsdelivr.net/gh/googlemaps/v3-utility-library@markermanager/1.2/markermanager_packed.js

These urls specifically target the 1.2 release of the markermanager library - as covered in the following SO answer, in production you should consider targeting a specific release tag to ensure you're getting a specific release version of the script:

Link and execute external JavaScript file hosted on GitHub

Alternatively, you could download and include the library directly in your project for production purposes.

like image 109
Chris Cook Avatar answered Feb 10 '23 23:02

Chris Cook