maplibre-gl-js-amplify
Version:
MapLibre Plugin to Support Amplify Geo Integration
7 lines (6 loc) • 598 B
TypeScript
import type { Map as maplibreMap } from 'maplibre-gl';
import type { ClusterOptions } from './types';
export declare function drawClusterLayer(sourceName: string, map: maplibreMap, { fillColor: markerColor, smCircleSize: smallSize, smThreshold: smallThreshold, mdCircleSize: mediumSize, mdThreshold: mediumThreshold, lgCircleSize: largeSize, lgThreshold: largeThreshold, xlCircleSize: extraLargeSize, borderWidth, borderColor, clusterPaint, onClick, showCount, clusterCountLayout, fontColor, }: ClusterOptions, mapStyle?: string): {
clusterLayerId: string;
clusterSymbolLayerId: string;
};