@ng-maps/marker-clusterer
TypeScript icon, indicating that this package has built-in type declarations

6.0.0 • Public • Published

@ng-maps/marker-clusterer

@ng-maps/marker-clusterer is a wrapper around MarkerClusterer

Installation

  • Npm: npm install @ng-maps/marker-clusterer
  • Yarn: yarn add @ng-maps/marker-clusterer

Add NgMapsMarkerClustererModule to your AppModule

Usage

MarkerClusterer

Add marker clusterer component around markers

<map-view [latitude]="48.858222" [longitude]="2.2945" [zoom]="8">
  <map-marker-cluster>
    <map-marker [latitude]="48.858222" [longitude]="2.2945"></map-marker>
  </map-marker-cluster>
</map-view>

MarkerClustererOptions

The only options that can be passed to the marker clusterer are the renderer and algorithm. You might want to check their documentation: https://googlemaps.github.io/js-markerclusterer/

Additional features

Other features are provided in submodules. Find out more on the project page at github

Package Sidebar

Install

npm i @ng-maps/marker-clusterer

Weekly Downloads

180

Version

6.0.0

License

MIT

Unpacked Size

48.7 kB

Total Files

18

Last publish

Collaborators

  • dasch