
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@googlemaps/markerclustererplus
Advanced tools
Creates and manages per-zoom-level clusters for large amounts of markers.
The library creates and manages per-zoom-level clusters for large amounts of markers.
Note: This library has been refactored into @googlemaps/markerclusterer, check out the new and improved version!
Note: This library is the same as the existing library
@google/markerclustererplus
, but renamed and in its own repository.
Available via npm as the package @googlemaps/markerclustererplus.
npm i @googlemaps/markerclustererplus
or
yarn add @googlemaps/markerclustererplus
Alternativly you may add the umd package directly to the html document using the unpkg link.
<script src="https://unpkg.com/@googlemaps/markerclustererplus/dist/index.min.js"></script>
When adding via unpkg, the loader can be accessed at MarkerClusterer
.
A version can be specified by using https://unpkg.com/@googlemaps/markerclustererplus@VERSION/dist/...
.
This library uses the official TypeScript typings for Google Maps Platform, @types/google.maps.
npm i -D @types/google.maps
It may also require the skipLibCheck TypeScript compiler option.
The reference documentation can be found at this link.
import MarkerClusterer from '@googlemaps/markerclustererplus';
const markerCluster = new MarkerClusterer(map, markers);
View the package in action:
FAQs
Creates and manages per-zoom-level clusters for large amounts of markers.
The npm package @googlemaps/markerclustererplus receives a total of 50,828 weekly downloads. As such, @googlemaps/markerclustererplus popularity was classified as popular.
We found that @googlemaps/markerclustererplus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.