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

7.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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @ng-maps/marker-clusterer

    Weekly Downloads

    356

    Version

    7.0.0

    License

    MIT

    Unpacked Size

    24.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • dasch