import 'leaflet.markercluster'; import * as L from 'leaflet'; import { AWCLeafletElement } from '../../internal/awc-leaflet.js'; import type AWCMapMarker from '../map-marker/map-marker.js'; /** * @summary Element which represents a marker cluster group * @documentation https://webcomponents.adeliom.io/?path=/docs/components-map-other-layers-markerclustergroup--documentation * @status experimental * @since 1.0 */ export default class AWCMapMarkerClusterGroup extends AWCLeafletElement { feature: L.MarkerClusterGroup; /** @private */ readonly children: HTMLCollectionOf; private mutationObserver; /** * When you mouse over a cluster it shows the bounds of its markers. */ showCoverageOnHover: boolean; /** * When you click a cluster we zoom to its bounds. */ zoomToBoundsOnClick: boolean; /** * When you click a cluster at the bottom zoom level we spiderfy it so you can see all of its markers. (Note: the spiderfy occurs at the current zoom level if all items within the cluster are still clustered at the maximum zoom level or at zoom specified by `disableClusteringAtZoom` option) */ spiderfyOnMaxZoom: boolean; /** * Clusters and markers too far from the viewport are removed from the map for performance. */ removeOutsideVisibleBounds: boolean; /** * Clusters and markers too far from the viewport are removed from the map for performance. */ spiderLegPolylineOptions: L.PolylineOptions; /** * Boolean to split the addLayers processing in to small intervals so that the page does not freeze. */ chunkedLoading: boolean; /** * If set, at this zoom level and below, markers will not be clustered. This defaults to disabled. */ firstUpdated(): void; containerChanged(): void; disconnectedCallback(): void; registerContainerOnChildren(): void; }