import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChange } from '@angular/core'; import { ClusterManager } from '../services/managers/cluster-manager'; import { CalculateFunction, ClusterOptions, ClusterStyle } from '../services/google-clusterer-types'; /** * AgmMarkerCluster clusters map marker if they are near together * * ### Example * ```typescript * import { Component } from '@angular/core'; * * @Component({ * selector: 'my-map-cmp', * styles: [` * agm-map { * height: 300px; * } * `], * template: ` * * * * * * * * * ` * }) * ``` */ export declare class AgmMarkerCluster implements OnDestroy, OnChanges, OnInit, ClusterOptions { private _clusterManager; /** * The grid size of a cluster in pixels */ gridSize: number; /** * The maximum zoom level that a marker can be part of a cluster. */ maxZoom: number; /** * Whether the default behaviour of clicking on a cluster is to zoom into it. */ zoomOnClick: boolean; /** * Whether the center of each cluster should be the average of all markers in the cluster. */ averageCenter: boolean; /** * The minimum number of markers to be in a cluster before the markers are hidden and a count is shown. */ minimumClusterSize: number; /** * An object that has style properties. */ styles: ClusterStyle[]; /** * A function that calculates the cluster style and text based on the markers in the cluster. */ calculator: CalculateFunction; imagePath: string; imageExtension: string; clusterClick: EventEmitter; private _observableSubscriptions; constructor(_clusterManager: ClusterManager); /** @internal */ ngOnDestroy(): void; /** @internal */ ngOnChanges(changes: { [key: string]: SimpleChange; }): void; private _addEventListeners; /** @internal */ ngOnInit(): void; }