You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecates the existing `MapMarkerClusterer`, because it's based on a deprecated library that doesn't support advanced markers.
A new clusterer component will be introduced that supports both regular markers and advanced ones, and is based on the current marker library.
BREAKING CHANGE:
* The new @googlemaps/markerclusterer API should be imported instead of the old one. Read more at: https://github.com/googlemaps/js-markerclusterer
* The `MapMarkerClusterer` class has been renamed to `DeprecatedMapMarkerClusterer`.
* The `map-marker-clusterer` selector has been changed to `deprecated-map-marker-clusterer`.
Copy file name to clipboardExpand all lines: src/google-maps/deprecated-map-marker-clusterer/README.md
+9-6
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
-
#MapMarkerClusterer
1
+
# Deprecation warning ⚠️
2
+
This component is based on the deprecated `@googlemaps/markerclustererplus` library. Use the `map-marker-clusterer` component instead.
2
3
3
-
The `MapMarkerClusterer` component wraps the [`MarkerClusterer` class](https://googlemaps.github.io/js-markerclustererplus/classes/markerclusterer.html) from the [Google Maps JavaScript MarkerClustererPlus Library](https://github.com/googlemaps/js-markerclustererplus). The `MapMarkerClusterer` component displays a cluster of markers that are children of the `<map-marker-clusterer>` tag. Unlike the other Google Maps components, MapMarkerClusterer does not have an `options` input, so any input (listed in the [documentation](https://googlemaps.github.io/js-markerclustererplus/index.html) for the `MarkerClusterer` class) should be set directly.
4
+
## DeprecatedMapMarkerClusterer
5
+
6
+
The `DeprecatedMapMarkerClusterer` component wraps the [`MarkerClusterer` class](https://googlemaps.github.io/js-markerclustererplus/classes/markerclusterer.html) from the [Google Maps JavaScript MarkerClustererPlus Library](https://github.com/googlemaps/js-markerclustererplus). The `DeprecatedMapMarkerClusterer` component displays a cluster of markers that are children of the `<deprecated-map-marker-clusterer>` tag. Unlike the other Google Maps components, MapMarkerClusterer does not have an `options` input, so any input (listed in the [documentation](https://googlemaps.github.io/js-markerclustererplus/index.html) for the `MarkerClusterer` class) should be set directly.
4
7
5
8
## Loading the Library
6
9
@@ -17,12 +20,12 @@ Additional information can be found by looking at [Marker Clustering](https://de
0 commit comments