Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@google/markerclustererplus

googlemaps81.2kApache-2.0deprecated5.1.3TypeScript support: included

This package has moved to @googlemaps/markerclustererplus and the source is now at https://github.com/googlemaps/js-markerclustererplus.

Creates and manages per-zoom-level clusters for large amounts of markers.

cluster, google, maps, marker

readme

MarkerClustererPlus for Google Maps V3

Note: This package has moved to @googlemaps/markerclustererplus and the source is now at https://github.com/googlemaps/js-markerclustererplus. @googlemaps/markerclusterplus@1.0.0 is equivalent to @google/markerclustererplus@6.0.0. All future development will be limited to @googlemaps/markerclustererplus.

Description

The library creates and manages per-zoom-level clusters for large amounts of markers.

NPM

Available via NPM as the package @google/markerclustererplus

Documentation

The reference documentation can be found at this link.

Examples

Support

This library is community supported. We're comfortable enough with the stability and features of the library that we want you to build real production applications on it.

If you find a bug, or have a feature suggestion, please log an issue. If you'd like to contribute, please read How to Contribute.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

5.1.3 (2020-09-17)

Note: Version bump only for package @google/markerclustererplus

5.1.2 (2020-09-17)

Note: Version bump only for package @google/markerclustererplus

5.1.1 (2020-09-17)

Note: Version bump only for package @google/markerclustererplus

5.1.0 (2020-08-14)

Features

5.0.4 (2020-06-03)

Bug Fixes

  • use let instead of const in for loop (#658) (3194a2b)

5.0.3 (2020-03-12)

Bug Fixes

5.0.2 (2020-03-12)

Bug Fixes

5.0.1 (2020-02-11)

Bug Fixes

  • markerclustererplus: re-render icons on end of clustering cycle (#613) (6e73676)

5.0.0 (2020-02-10)

Bug Fixes

  • @google/markerclustererplus: remove src/* from npm (#603) (3e5690b)

Features

  • markerclustererplus: add className property for ClusterIconStyle (#607) (88d221b)

BREAKING CHANGES

  • markerclustererplus: When MarkerClustererOptions.style is passed to constructor, it completely replaces defaults and does not extend defaults as before.

    If you want to override only some values, but not replace whole styles use MarkerClusterer.withDefaultStyle() function (see examples/advanced_example.html for usage examples).

    Overriding whole styles is useful when ClusterIconStyle.className is used and styling is performed using external CSS styles (which is recommended way).

4.0.1 (2019-12-23)

Note: Version bump only for package @google/markerclustererplus

4.0.0 (2019-12-17)

  • refactor(@google/markerclustererplus)!: rewrite source to typescript (#590) (0d2b57d), closes #590

BREAKING CHANGES

  • Type of ClusterIconStyle.anchorText and ClusterIconStyle.anchorIcon changed from number[] to tuple [number, number].

3.0.6 (2019-12-09)

Bug Fixes

  • transpile code for iife and umd outputs (#586) (fb9ad06)

2.1.13 (2019-10-04)

Note: Version bump only for package @google/markerclustererplus

2.1.12 (2019-10-04)

Note: Version bump only for package @google/markerclustererplus