forked from angular/components
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 CHANGES: 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` The new recommended way of customizing the cluster is to use the `renderer` and `algorithm` inputs. Fixes angular#23695.
- Loading branch information
Showing
9 changed files
with
326 additions
and
901 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.