@classic-homes/maps-core 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import { MapTheme } from './theme/index.js';
2
2
  export { MapDataColors, MapStyleSpec, MapThemeColors, THEME_DARK, THEME_LIGHT, darkBasicStyle, darkTheme, generateBasicStyle, generateDarkColors, generateDarkDataColors, generateDarkTheme, generateLightColors, generateLightDataColors, generateLightTheme, generateVectorStyle, getBasicStyle, getTheme, getTypography, lightBasicStyle, lightTheme } from './theme/index.js';
3
3
  import { L as LngLat, G as GeoJSONFeatureCollection, b as MarkerData, M as MapBounds, B as BoundsArray, a as GeoJSONFeature, c as GeoJSONPolygon } from './data-DDS6ok7I.js';
4
4
  export { C as ClusterConfig, E as ExtrusionData, e as GeoJSONGeometry, h as GeoJSONLineString, i as GeoJSONMultiLineString, g as GeoJSONMultiPoint, j as GeoJSONMultiPolygon, f as GeoJSONPoint, H as HeatmapPoint, k as MapSourceData, d as MapViewport } from './data-DDS6ok7I.js';
5
- import { ControlPosition, BasemapDefinition, BasemapApiKeys, MapStyleSpec } from './types/index.js';
6
- export { BaseControlProps, BaseLayerProps, BaseMapEventParams, BaseMapProps, BasemapCategory, BasemapProvider, BasemapSwitcherProps, CircleLayerProps, CoordinateDisplayProps, FeatureClickEventParams, FeatureHoverEventParams, FillExtrusionLayerProps, FillLayerProps, GeolocateControlProps, GradientStop, HeatmapLayerProps, LegendConfig, LegendGroupProps, LegendItem, LegendProps, LineLayerProps, MapClickEventParams, MapErrorEventParams, MapHoverEventParams, MapLoadEventParams, MapMoveEventParams, MapProps, MarkerClickEventParams, MarkerDragEventParams, MarkerProps, NavigationControlProps, PopupEventParams, PopupProps, RasterLayerProps, ScaleControlProps, SourceProps, SymbolLayerProps } from './types/index.js';
5
+ import { BasemapDefinition, BasemapApiKeys, MapStyleSpec } from './types/index.js';
6
+ export { BaseControlProps, BaseLayerProps, BaseMapEventParams, BaseMapProps, BasemapCategory, BasemapProvider, BasemapSwitcherProps, CircleLayerProps, ControlPosition, CoordinateDisplayProps, FeatureClickEventParams, FeatureHoverEventParams, FillExtrusionLayerProps, FillLayerProps, GeolocateControlProps, GradientStop, HeatmapLayerProps, LegendConfig, LegendGroupProps, LegendItem, LegendProps, LineLayerProps, MapClickEventParams, MapErrorEventParams, MapHoverEventParams, MapLoadEventParams, MapMoveEventParams, MapProps, MarkerClickEventParams, MarkerDragEventParams, MarkerProps, NavigationControlProps, PopupEventParams, PopupProps, RasterLayerProps, ScaleControlProps, SourceProps, SymbolLayerProps } from './types/index.js';
7
7
  export { o as BuildRTreeIndexOptions, B as BuildSpatialIndexOptions, I as IdleViewportManagerOptions, r as IdleViewportResult, P as PanVelocity, p as PredictiveViewportResult, k as QuerySpatialIndexOptions, Q as QueryStats, n as RTreeIndex, m as RTreeItem, R as RTreeQueryStats, S as SpatialIndex, V as ViewportManagedDataOptions, l as ViewportManagedResult, e as buildRTreeIndex, b as buildSpatialIndex, j as createIdleViewportManager, i as createPredictiveViewportManager, h as createRTreeViewportManager, d as createViewportManager, c as createViewportQuery, q as queryByBounds, a as queryByBoundsWithStats, f as queryRTreeByBounds, g as queryRTreeByBoundsWithStats } from './spatial-VV-zd88V.js';
8
8
  import 'rbush';
9
9
 
@@ -542,49 +542,6 @@ declare function countFeaturesByType(geojson: GeoJSONFeatureCollection): Record<
542
542
  */
543
543
  declare function filterByGeometryType(geojson: GeoJSONFeatureCollection, types: string[]): GeoJSONFeatureCollection;
544
544
 
545
- /**
546
- * Positioning utilities for map controls
547
- *
548
- * Shared utilities for positioning Legend, CoordinateDisplay, and other custom controls
549
- * in the four corners of the map.
550
- */
551
-
552
- /**
553
- * Base offset from the edge (matches Tailwind's -2 which is 0.5rem = 8px)
554
- */
555
- declare const BASE_OFFSET = 8;
556
- /**
557
- * Position classes for each corner
558
- * Maps position to Tailwind classes for absolute positioning
559
- */
560
- declare const POSITION_CLASSES: Record<ControlPosition, string>;
561
- /**
562
- * Horizontal offset classes when MapLibre controls are present at the same position
563
- * These offset the custom control toward the center of the map (away from the corner)
564
- */
565
- declare const OFFSET_CLASSES: Record<ControlPosition, string>;
566
- /**
567
- * Compute position classes for a control
568
- *
569
- * @param position - The corner position for the control
570
- * @param hasControlsAtPosition - Whether MapLibre controls exist at this position
571
- * @returns Combined Tailwind classes for positioning
572
- */
573
- declare function computePositionClasses(position: ControlPosition, hasControlsAtPosition: boolean): string;
574
- /**
575
- * Compute vertical offset style for stacking multiple custom controls
576
- *
577
- * IMPORTANT: This uses direct position properties (top/bottom) instead of margins.
578
- * For absolute positioned elements at the bottom, margin-bottom does nothing.
579
- * We must override the actual positioning property.
580
- *
581
- * @param position - The corner position for the control
582
- * @param customControlOffset - The offset from other custom controls (in pixels)
583
- * @param baseOffset - The base offset from the edge (default: 8px from BASE_OFFSET)
584
- * @returns CSS style object with the appropriate position offset
585
- */
586
- declare function computeVerticalOffsetStyle(position: ControlPosition, customControlOffset: number, baseOffset?: number): Record<string, string>;
587
-
588
545
  /**
589
546
  * Cluster utilities for MapLibre GL
590
547
  *
@@ -1282,6 +1239,19 @@ declare function applyMarkerChildProtection(element: HTMLElement): void;
1282
1239
  * Built-in basemap definitions and utilities
1283
1240
  */
1284
1241
 
1242
+ /**
1243
+ * Default basemap - clean Positron style from MapTiler
1244
+ * Custom style from Classic Homes MapTiler account
1245
+ */
1246
+ declare const DEFAULT_BASEMAP: BasemapDefinition;
1247
+ /**
1248
+ * Satellite basemap - hybrid satellite imagery with labels
1249
+ */
1250
+ declare const SATELLITE_BASEMAP: BasemapDefinition;
1251
+ /**
1252
+ * Topo basemap - topographic map with terrain
1253
+ */
1254
+ declare const TOPO_BASEMAP: BasemapDefinition;
1285
1255
  declare const OSM_STANDARD: BasemapDefinition;
1286
1256
  declare const CLASSIC_LIGHT: BasemapDefinition;
1287
1257
  declare const CLASSIC_DARK: BasemapDefinition;
@@ -1294,6 +1264,8 @@ declare const STADIA_ALIDADE_DARK: BasemapDefinition;
1294
1264
  declare const STADIA_STAMEN_TONER: BasemapDefinition;
1295
1265
  declare const STADIA_STAMEN_WATERCOLOR: BasemapDefinition;
1296
1266
  declare const STADIA_STAMEN_TERRAIN: BasemapDefinition;
1267
+ /** Primary basemaps for demos - free, no API key required */
1268
+ declare const PRIMARY_BASEMAPS: BasemapDefinition[];
1297
1269
  /** All built-in basemaps */
1298
1270
  declare const BUILTIN_BASEMAPS: BasemapDefinition[];
1299
1271
  /** Basemaps that require no API key */
@@ -1605,6 +1577,295 @@ declare function isAnyLayerLoading(states: Map<string, OverlayLayerState>): bool
1605
1577
  */
1606
1578
  declare function getLayersWithErrors(states: Map<string, OverlayLayerState>): OverlayLayerState[];
1607
1579
 
1580
+ /**
1581
+ * Types for the map positioning coordinator system
1582
+ *
1583
+ * Provides centralized positioning, layering, and collision avoidance
1584
+ * for all on-map controls.
1585
+ */
1586
+ /**
1587
+ * Extended position type supporting 8 positions plus center
1588
+ * Backward compatible with the original 4-corner ControlPosition
1589
+ */
1590
+ type ExtendedControlPosition = 'top-left' | 'top-center' | 'top-right' | 'middle-left' | 'middle-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
1591
+ /**
1592
+ * Priority levels for controls
1593
+ * Higher priority controls take precedence in positioning and visibility
1594
+ */
1595
+ type ControlPriority = 'critical' | 'high' | 'normal' | 'low';
1596
+ /**
1597
+ * Z-index layer types for proper layering of controls and their flyouts
1598
+ */
1599
+ type ZIndexLayer = 'base' | 'interactive' | 'expanded' | 'modal' | 'tooltip';
1600
+ /**
1601
+ * Control type identifiers for built-in and custom controls
1602
+ */
1603
+ type ControlType = 'legend' | 'legend-group' | 'coordinate-display' | 'basemap-switcher' | 'layer-manager' | 'navigation' | 'scale' | 'custom';
1604
+ /**
1605
+ * Dimensions of a control element
1606
+ */
1607
+ interface ControlDimensions {
1608
+ width: number;
1609
+ height: number;
1610
+ }
1611
+ /**
1612
+ * Position configuration with fallback support
1613
+ */
1614
+ interface PositionConfig {
1615
+ /** Primary position for the control */
1616
+ primary: ExtendedControlPosition;
1617
+ /** Fallback positions to try if primary is occupied or overflowing */
1618
+ fallbacks?: ExtendedControlPosition[];
1619
+ }
1620
+ /**
1621
+ * Registration data for a control with the coordinator
1622
+ */
1623
+ interface ControlRegistration {
1624
+ /** Unique identifier for the control instance */
1625
+ id: string;
1626
+ /** Type of control */
1627
+ type: ControlType;
1628
+ /** Whether this is a built-in MapLibre control */
1629
+ isBuiltIn: boolean;
1630
+ /** Current dimensions of the control */
1631
+ dimensions: ControlDimensions;
1632
+ /** Position configuration */
1633
+ position: PositionConfig;
1634
+ /** Priority level for collision resolution */
1635
+ priority: ControlPriority;
1636
+ /** Z-index layer for proper layering */
1637
+ zLayer: ZIndexLayer;
1638
+ /** Whether the control has an expanded state (e.g., dropdown open) */
1639
+ hasExpandedState?: boolean;
1640
+ /** Current expanded state */
1641
+ isExpanded?: boolean;
1642
+ /** Expanded dimensions (when different from collapsed) */
1643
+ expandedDimensions?: ControlDimensions;
1644
+ }
1645
+ /**
1646
+ * Computed offset and position for a control
1647
+ */
1648
+ interface ControlOffset {
1649
+ /** Horizontal offset in pixels from the position anchor */
1650
+ x: number;
1651
+ /** Vertical offset in pixels from the position anchor */
1652
+ y: number;
1653
+ /** Computed z-index for the control */
1654
+ zIndex: number;
1655
+ /** Final resolved position (may differ from requested if fallback was used) */
1656
+ position: ExtendedControlPosition;
1657
+ /** Whether the control should be visible (false if hidden due to space constraints) */
1658
+ visible: boolean;
1659
+ /** Whether a fallback position was used */
1660
+ usedFallback: boolean;
1661
+ /** Warning message if there were positioning issues */
1662
+ warning?: string;
1663
+ }
1664
+ /**
1665
+ * Internal representation of a control's bounding box
1666
+ */
1667
+ interface ControlBoundingBox {
1668
+ left: number;
1669
+ top: number;
1670
+ right: number;
1671
+ bottom: number;
1672
+ }
1673
+ /**
1674
+ * Map dimensions for layout calculations
1675
+ */
1676
+ interface MapDimensions {
1677
+ width: number;
1678
+ height: number;
1679
+ }
1680
+ /**
1681
+ * Coordinator event types
1682
+ */
1683
+ type CoordinatorEventType = 'layout-changed' | 'control-registered' | 'control-unregistered' | 'control-updated' | 'map-resized';
1684
+ /**
1685
+ * Event data for coordinator events
1686
+ */
1687
+ interface CoordinatorEvent {
1688
+ type: CoordinatorEventType;
1689
+ /** ID of the affected control (if applicable) */
1690
+ controlId?: string;
1691
+ /** All current control offsets */
1692
+ offsets: Map<string, ControlOffset>;
1693
+ /** Timestamp of the event */
1694
+ timestamp: number;
1695
+ }
1696
+ /**
1697
+ * Listener function for coordinator events
1698
+ */
1699
+ type CoordinatorListener = (event: CoordinatorEvent) => void;
1700
+ /**
1701
+ * Z-index values for each layer type
1702
+ * These are spaced to allow for variations within each layer
1703
+ */
1704
+ declare const Z_INDEX_LAYERS: Record<ZIndexLayer, number>;
1705
+ /**
1706
+ * Priority order for collision resolution (higher index = higher priority)
1707
+ */
1708
+ declare const PRIORITY_ORDER: ControlPriority[];
1709
+ /**
1710
+ * Gap between stacked controls in pixels
1711
+ */
1712
+ declare const STACK_GAP = 8;
1713
+ /**
1714
+ * Margin from map edges in pixels
1715
+ */
1716
+ declare const EDGE_MARGIN = 8;
1717
+ /**
1718
+ * Options for updating control registration
1719
+ */
1720
+ type ControlUpdateOptions = Partial<Omit<ControlRegistration, 'id' | 'type' | 'isBuiltIn'>>;
1721
+
1722
+ /**
1723
+ * PositioningCoordinator
1724
+ *
1725
+ * Centralized manager for map control positioning, layering, and collision avoidance.
1726
+ * Replaces per-position stacking with intelligent layout coordination.
1727
+ */
1728
+
1729
+ /**
1730
+ * PositioningCoordinator manages the positioning of all map controls.
1731
+ *
1732
+ * Features:
1733
+ * - Vertical stacking per position
1734
+ * - Collision detection across positions
1735
+ * - Priority-based collision resolution
1736
+ * - Dynamic z-index management for expanded states
1737
+ * - Event-based updates for reactive frameworks
1738
+ */
1739
+ declare class PositioningCoordinator {
1740
+ /** Registered controls */
1741
+ private controls;
1742
+ /** Computed offsets for each control */
1743
+ private offsets;
1744
+ /** Current map dimensions */
1745
+ private mapDimensions;
1746
+ /** Event listeners */
1747
+ private listeners;
1748
+ /** Batch update flag to defer layout recalculation */
1749
+ private batchingUpdates;
1750
+ /** Pending recalculation flag during batching */
1751
+ private pendingRecalculation;
1752
+ /**
1753
+ * Register a control with the coordinator
1754
+ *
1755
+ * @param registration - Control registration data
1756
+ * @returns Computed offset for the control, or null if registration failed
1757
+ */
1758
+ register(registration: ControlRegistration): ControlOffset | null;
1759
+ /**
1760
+ * Unregister a control from the coordinator
1761
+ *
1762
+ * @param controlId - ID of the control to unregister
1763
+ */
1764
+ unregister(controlId: string): void;
1765
+ /**
1766
+ * Update a control's registration
1767
+ *
1768
+ * @param controlId - ID of the control to update
1769
+ * @param updates - Partial registration updates
1770
+ * @returns Updated offset, or null if control not found
1771
+ */
1772
+ update(controlId: string, updates: ControlUpdateOptions): ControlOffset | null;
1773
+ /**
1774
+ * Set the expanded state of a control
1775
+ *
1776
+ * @param controlId - ID of the control
1777
+ * @param isExpanded - Whether the control is expanded
1778
+ * @returns Updated offset, or null if control not found
1779
+ */
1780
+ setExpanded(controlId: string, isExpanded: boolean): ControlOffset | null;
1781
+ /**
1782
+ * Set the map dimensions for layout calculations
1783
+ *
1784
+ * @param dimensions - New map dimensions
1785
+ */
1786
+ setMapDimensions(dimensions: MapDimensions): void;
1787
+ /**
1788
+ * Get the current offset for a control
1789
+ *
1790
+ * @param controlId - ID of the control
1791
+ * @returns Current offset, or null if not found
1792
+ */
1793
+ getOffset(controlId: string): ControlOffset | null;
1794
+ /**
1795
+ * Get all current offsets
1796
+ *
1797
+ * @returns Map of control IDs to offsets
1798
+ */
1799
+ getAllOffsets(): Map<string, ControlOffset>;
1800
+ /**
1801
+ * Subscribe to coordinator events
1802
+ *
1803
+ * @param listener - Event listener function
1804
+ * @returns Unsubscribe function
1805
+ */
1806
+ subscribe(listener: CoordinatorListener): () => void;
1807
+ /**
1808
+ * Start batching updates to defer layout recalculation
1809
+ * Call endBatch() when done to trigger a single recalculation
1810
+ */
1811
+ startBatch(): void;
1812
+ /**
1813
+ * End batching and trigger layout recalculation if needed
1814
+ */
1815
+ endBatch(): void;
1816
+ /**
1817
+ * Recalculate layout for all registered controls
1818
+ */
1819
+ private recalculateLayout;
1820
+ /**
1821
+ * Group controls by their primary position
1822
+ */
1823
+ private groupControlsByPosition;
1824
+ /**
1825
+ * Calculate stacked offsets for controls at a single position
1826
+ */
1827
+ private calculatePositionStack;
1828
+ /**
1829
+ * Calculate z-index for a control based on its layer and state
1830
+ */
1831
+ private calculateZIndex;
1832
+ /**
1833
+ * Check if a bounding box is within the viewport
1834
+ */
1835
+ private isBoxInViewport;
1836
+ /**
1837
+ * Detect collisions between bounding boxes
1838
+ */
1839
+ private boxesCollide;
1840
+ /**
1841
+ * Resolve collisions by moving lower-priority controls to fallback positions
1842
+ */
1843
+ private resolveCollisions;
1844
+ /**
1845
+ * Try fallback positions for a control
1846
+ *
1847
+ * @returns The fallback position that worked, or null if none worked
1848
+ */
1849
+ private tryFallbackPositions;
1850
+ /**
1851
+ * Calculate absolute bounding box for a control at a specific position
1852
+ * Returns absolute coordinates for collision detection
1853
+ */
1854
+ private calculateBoxAtPosition;
1855
+ /**
1856
+ * Emit an event to all listeners
1857
+ */
1858
+ private emit;
1859
+ /**
1860
+ * Clear all registrations and reset state
1861
+ */
1862
+ destroy(): void;
1863
+ }
1864
+ /**
1865
+ * Create a new PositioningCoordinator instance
1866
+ */
1867
+ declare function createPositioningCoordinator(): PositioningCoordinator;
1868
+
1608
1869
  /**
1609
1870
  * Real Estate Domain Colors
1610
1871
  * Colors for visualizing lot and inventory data on maps.
@@ -1708,4 +1969,4 @@ declare const clusterColorExpression: unknown[];
1708
1969
  */
1709
1970
  declare function createMatchedColorExpression(baseColorExpression: unknown[], matchedProperty?: string): unknown[];
1710
1971
 
1711
- export { BASE_OFFSET, BIKE_LANES, BUILTIN_BASEMAPS, BUILTIN_OVERLAY_LAYERS, BasemapApiKeys, BasemapDefinition, BoundsArray, CATEGORY_META, CITY_LIMITS, CLASSIC_DARK, CLASSIC_LIGHT, type ClusterExpandOptions, type ClusterExpansionResult, type ClusterFeatureProperties, type ColorExpression, ControlPosition, DEFAULT_SIMPLIFICATION_THRESHOLDS, type DynamicLODOptions, type DynamicLODState, type ExtrusionHeightOptions, FLOOD_ZONES, FREE_BASEMAPS, type FeatureGroup, type FilterExpression, type GenerateLODOptions, GeoJSONFeature, GeoJSONFeatureCollection, type GeoJSONFingerprint, GeoJSONPolygon, type GroupFeaturesOptions, type InventoryStatus, KEYBOARD_CONTROLS, type LODData, type LODDataWithSimplification, type LayerManagerProps, LngLat, type LoadGeoJSONOptions, type LoadGeoJSONResult, type LotAvailability, type LotFillStyleOptions, type LotOutlineStyleOptions, type LotSize, MAPTILER_BASIC, MAPTILER_OUTDOOR, MAPTILER_SATELLITE, MAPTILER_STREETS, MARKER_PROTECTION_CLASS, MapBounds, MapTheme, MarkerData, type NumberExpression, OFFSET_CLASSES, OSM_STANDARD, type OverlayApiKeys, type OverlayDataSource, type OverlayLayerCategory, type OverlayLayerCategoryMeta, type OverlayLayerDefinition, type OverlayLayerLegend, type OverlayLayerState, type OverlayLayerStyle, type OverlayLegendItem, PARKS, POSITION_CLASSES, type PaintProps, type PaintPropsDiff, SCHOOL_DISTRICTS, SPORTS_FACILITIES, STADIA_ALIDADE_DARK, STADIA_ALIDADE_SMOOTH, STADIA_STAMEN_TERRAIN, STADIA_STAMEN_TONER, STADIA_STAMEN_WATERCOLOR, type SimplificationStats, type SimplificationThreshold, TRAILS, TRANSIT_ROUTES, type ValidationResult, WATERSHEDS, ZONING_DISTRICTS, applyMarkerChildProtection, applyMarkerProtection, boundaryColors, boundsToPolygon, calculateBounds, calculateCentroid, calculateZoomThresholds, clusterColorExpression, clusterColors, combineBounds, computePositionClasses, computeVerticalOffsetStyle, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createInitialLayerStates, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createMatchedColorExpression, createSelectionExpression, createStatusColorExpression, createZoomExpression, decimalToDMS, deepEqual, expandCluster, expandClusterToBounds, extendBounds, filterByGeometryType, filterEqual, fingerprintEqual, formatArea, formatBearing, formatBounds, formatCoordinates, formatDistance, formatFeatureProperties, formatLabel, formatPitch, formatPropertyValue, formatScale, formatZoom, generateBoundingPolygon, generateConvexHull, generateFeatureCollectionDescription, generateFeatureTable, generateKeyboardControlsDescription, generateLODData, generateLODDataWithSimplification, generateMapDescription, generateMarkerList, generateMarkersDescription, generateMoveAnnouncement, geoJSONEqual, getAvailabilityColor, getAvailableBasemaps, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getContrastTextColor, getHighlightStyle, getLayerCategories, getLayerStatesArray, getLayerStyleForTheme, getLayersByCategory, getLayersWithErrors, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, getSizeColor, getVisibleLayerIds, groupFeaturesByProperty, groupLayersByCategory, hideAllLayers, inventoryStatusColorExpression, inventoryStatusColors, isAnyLayerLoading, isClusterFeature, isValidBounds, loadGeoJSON, lotAvailabilityColorExpression, lotAvailabilityColors, lotSizeColorExpression, lotSizeColors, nonMatchedColor, paintPropsEqual, removeMarkerProtection, reorderLayers, resolveBasemapStyle, resolveBasemapThumbnail, resolveLayerSourceUrl, salesOfficeColor, searchLayers, serializeFilter, setLayerError, setLayerLoading, setLayerOpacity, showAllLayers, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, toggleLayerVisibility, updateLayerState, validateGeoJSON, zoomToScale };
1972
+ export { BIKE_LANES, BUILTIN_BASEMAPS, BUILTIN_OVERLAY_LAYERS, BasemapApiKeys, BasemapDefinition, BoundsArray, CATEGORY_META, CITY_LIMITS, CLASSIC_DARK, CLASSIC_LIGHT, type ClusterExpandOptions, type ClusterExpansionResult, type ClusterFeatureProperties, type ColorExpression, type ControlBoundingBox, type ControlDimensions, type ControlOffset, type ControlPriority, type ControlRegistration, type ControlType, type ControlUpdateOptions, type CoordinatorEvent, type CoordinatorEventType, type CoordinatorListener, DEFAULT_BASEMAP, DEFAULT_SIMPLIFICATION_THRESHOLDS, type DynamicLODOptions, type DynamicLODState, EDGE_MARGIN, type ExtendedControlPosition, type ExtrusionHeightOptions, FLOOD_ZONES, FREE_BASEMAPS, type FeatureGroup, type FilterExpression, type GenerateLODOptions, GeoJSONFeature, GeoJSONFeatureCollection, type GeoJSONFingerprint, GeoJSONPolygon, type GroupFeaturesOptions, type InventoryStatus, KEYBOARD_CONTROLS, type LODData, type LODDataWithSimplification, type LayerManagerProps, LngLat, type LoadGeoJSONOptions, type LoadGeoJSONResult, type LotAvailability, type LotFillStyleOptions, type LotOutlineStyleOptions, type LotSize, MAPTILER_BASIC, MAPTILER_OUTDOOR, MAPTILER_SATELLITE, MAPTILER_STREETS, MARKER_PROTECTION_CLASS, MapBounds, type MapDimensions, MapTheme, MarkerData, type NumberExpression, OSM_STANDARD, type OverlayApiKeys, type OverlayDataSource, type OverlayLayerCategory, type OverlayLayerCategoryMeta, type OverlayLayerDefinition, type OverlayLayerLegend, type OverlayLayerState, type OverlayLayerStyle, type OverlayLegendItem, PARKS, PRIMARY_BASEMAPS, PRIORITY_ORDER, type PaintProps, type PaintPropsDiff, type PositionConfig, PositioningCoordinator, SATELLITE_BASEMAP, SCHOOL_DISTRICTS, SPORTS_FACILITIES, STACK_GAP, STADIA_ALIDADE_DARK, STADIA_ALIDADE_SMOOTH, STADIA_STAMEN_TERRAIN, STADIA_STAMEN_TONER, STADIA_STAMEN_WATERCOLOR, type SimplificationStats, type SimplificationThreshold, TOPO_BASEMAP, TRAILS, TRANSIT_ROUTES, type ValidationResult, WATERSHEDS, type ZIndexLayer, ZONING_DISTRICTS, Z_INDEX_LAYERS, applyMarkerChildProtection, applyMarkerProtection, boundaryColors, boundsToPolygon, calculateBounds, calculateCentroid, calculateZoomThresholds, clusterColorExpression, clusterColors, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createInitialLayerStates, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createMatchedColorExpression, createPositioningCoordinator, createSelectionExpression, createStatusColorExpression, createZoomExpression, decimalToDMS, deepEqual, expandCluster, expandClusterToBounds, extendBounds, filterByGeometryType, filterEqual, fingerprintEqual, formatArea, formatBearing, formatBounds, formatCoordinates, formatDistance, formatFeatureProperties, formatLabel, formatPitch, formatPropertyValue, formatScale, formatZoom, generateBoundingPolygon, generateConvexHull, generateFeatureCollectionDescription, generateFeatureTable, generateKeyboardControlsDescription, generateLODData, generateLODDataWithSimplification, generateMapDescription, generateMarkerList, generateMarkersDescription, generateMoveAnnouncement, geoJSONEqual, getAvailabilityColor, getAvailableBasemaps, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getContrastTextColor, getHighlightStyle, getLayerCategories, getLayerStatesArray, getLayerStyleForTheme, getLayersByCategory, getLayersWithErrors, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, getSizeColor, getVisibleLayerIds, groupFeaturesByProperty, groupLayersByCategory, hideAllLayers, inventoryStatusColorExpression, inventoryStatusColors, isAnyLayerLoading, isClusterFeature, isValidBounds, loadGeoJSON, lotAvailabilityColorExpression, lotAvailabilityColors, lotSizeColorExpression, lotSizeColors, nonMatchedColor, paintPropsEqual, removeMarkerProtection, reorderLayers, resolveBasemapStyle, resolveBasemapThumbnail, resolveLayerSourceUrl, salesOfficeColor, searchLayers, serializeFilter, setLayerError, setLayerLoading, setLayerOpacity, showAllLayers, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, toggleLayerVisibility, updateLayerState, validateGeoJSON, zoomToScale };