@googlemaps/markerclusterer
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@googlemaps/markerclusterer", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Creates and manages per-zoom-level clusters for large amounts of markers.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -17,3 +17,3 @@ # Google Maps JavaScript MarkerClusterer | ||
See the [history section](#history) for how this library relates to [@google/markerclusterer][@google/markerclusterer] and [@googlemaps/markerclustererplus][@googlemaps/markerclustererplus]. | ||
See the [history section](#history) and [migration section](#migration) for how this library relates to [@google/markerclusterer][@google/markerclusterer] and [@googlemaps/markerclustererplus][@googlemaps/markerclustererplus]. | ||
@@ -28,8 +28,2 @@ ## Install | ||
or | ||
```sh | ||
yarn add @googlemaps/markerclusterer | ||
``` | ||
Alternativly you may add the umd package directly to the html document using the unpkg link. | ||
@@ -43,8 +37,2 @@ | ||
A version can be specified by using | ||
``` | ||
https://unpkg.com/@googlemaps/markerclusterer@VERSION/dist/... | ||
``` | ||
#### TypeScript | ||
@@ -62,3 +50,3 @@ | ||
## Example | ||
## Examples | ||
@@ -74,3 +62,3 @@ ```js | ||
- [Algorithms](https://googlemaps.github.io/js-markerclusterer/public/algorithms) | ||
- [Algorithm Comparisons](https://googlemaps.github.io/js-markerclusterer/public/algorithms) | ||
- [Renderer Usage](https://googlemaps.github.io/js-markerclusterer/public/renderers) | ||
@@ -95,3 +83,3 @@ | ||
- The `MarkerClusterer` class now accepts an algorithm and renderer parameter to allow for more flexibility. The interface looks like the following: | ||
- The `MarkerClusterer` class now accepts an `algorithm` and `renderer` parameter to allow for more flexibility. The interface looks like the following: | ||
@@ -109,3 +97,3 @@ ```js | ||
- The `MarkerClusterer` accepts a single options argument instead of positional parameters. | ||
- The traditional `GridAlgorithm` is still supported, **but is not the default**. | ||
- The traditional `GridAlgorithm` is still supported, **but is not the default**. The default is [supercluster](https://www.npmjs.com/package/supercluster) which uses [k-d trees](https://en.wikipedia.org/wiki/K-d_tree) for improved performance. | ||
- Styling of clusters has been simplifed and moved to the renderer interface. | ||
@@ -112,0 +100,0 @@ - The `MarkerClusterer` class is still an instance of `google.maps.OverlayView`, but uses `google.maps.Marker`s instead of `google.maps.Overlay` to render the clusters. This solves issues related to the usage of map panes and click handlers. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
987864
99