components
components copied to clipboard
feat(google-maps): switch to non-deprecated API for clustering
The marker clusterer component is currently based on the @googlemaps/markerclustererplus
package which is deprecated. These changes rewrite the component to use @googlemaps/markerclusterer
instead.
BREAKING CHANGE:
The new @googlemaps/markerclusterer
API should be imported instead of the old one. Read more at: https://github.com/googlemaps/js-markerclusterer
Furthermore, the new clustering package doesn't offer the same set of public APIs. As a result, the following inputs to the MapMarkerClusterer
component have been removed:
-
ariaLabelFn
-
averageCenter
-
batchSizeIE
-
calculator
-
clusterClass
-
enableRetinaIcons
-
gridSize
-
ignoreHidden
-
imageExtension
-
imagePath
-
imageSizes
-
maxZoom
-
minimumClusterSize
-
styles
-
title
-
zIndex
-
zoomOnClick
-
options
It is now recommended to customize the cluster using the renderer
and algorithm
inputs.
Fixes #23695.
Blocked on the new API being available in g3 and existing users being migrated.
This was marked to be released in v15 but it looks like it didn't make it. Is there any information, when this will be available?
any update on this @crisbeto ?
@crisbeto Google forcing the use of an API that Google deprecated years ago is not a good look. Isn't it time this one was actioned?