@classic-homes/maps-core 0.2.3 → 0.2.5

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
  *
@@ -1605,6 +1562,295 @@ declare function isAnyLayerLoading(states: Map<string, OverlayLayerState>): bool
1605
1562
  */
1606
1563
  declare function getLayersWithErrors(states: Map<string, OverlayLayerState>): OverlayLayerState[];
1607
1564
 
1565
+ /**
1566
+ * Types for the map positioning coordinator system
1567
+ *
1568
+ * Provides centralized positioning, layering, and collision avoidance
1569
+ * for all on-map controls.
1570
+ */
1571
+ /**
1572
+ * Extended position type supporting 8 positions plus center
1573
+ * Backward compatible with the original 4-corner ControlPosition
1574
+ */
1575
+ type ExtendedControlPosition = 'top-left' | 'top-center' | 'top-right' | 'middle-left' | 'middle-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
1576
+ /**
1577
+ * Priority levels for controls
1578
+ * Higher priority controls take precedence in positioning and visibility
1579
+ */
1580
+ type ControlPriority = 'critical' | 'high' | 'normal' | 'low';
1581
+ /**
1582
+ * Z-index layer types for proper layering of controls and their flyouts
1583
+ */
1584
+ type ZIndexLayer = 'base' | 'interactive' | 'expanded' | 'modal' | 'tooltip';
1585
+ /**
1586
+ * Control type identifiers for built-in and custom controls
1587
+ */
1588
+ type ControlType = 'legend' | 'legend-group' | 'coordinate-display' | 'basemap-switcher' | 'layer-manager' | 'navigation' | 'scale' | 'custom';
1589
+ /**
1590
+ * Dimensions of a control element
1591
+ */
1592
+ interface ControlDimensions {
1593
+ width: number;
1594
+ height: number;
1595
+ }
1596
+ /**
1597
+ * Position configuration with fallback support
1598
+ */
1599
+ interface PositionConfig {
1600
+ /** Primary position for the control */
1601
+ primary: ExtendedControlPosition;
1602
+ /** Fallback positions to try if primary is occupied or overflowing */
1603
+ fallbacks?: ExtendedControlPosition[];
1604
+ }
1605
+ /**
1606
+ * Registration data for a control with the coordinator
1607
+ */
1608
+ interface ControlRegistration {
1609
+ /** Unique identifier for the control instance */
1610
+ id: string;
1611
+ /** Type of control */
1612
+ type: ControlType;
1613
+ /** Whether this is a built-in MapLibre control */
1614
+ isBuiltIn: boolean;
1615
+ /** Current dimensions of the control */
1616
+ dimensions: ControlDimensions;
1617
+ /** Position configuration */
1618
+ position: PositionConfig;
1619
+ /** Priority level for collision resolution */
1620
+ priority: ControlPriority;
1621
+ /** Z-index layer for proper layering */
1622
+ zLayer: ZIndexLayer;
1623
+ /** Whether the control has an expanded state (e.g., dropdown open) */
1624
+ hasExpandedState?: boolean;
1625
+ /** Current expanded state */
1626
+ isExpanded?: boolean;
1627
+ /** Expanded dimensions (when different from collapsed) */
1628
+ expandedDimensions?: ControlDimensions;
1629
+ }
1630
+ /**
1631
+ * Computed offset and position for a control
1632
+ */
1633
+ interface ControlOffset {
1634
+ /** Horizontal offset in pixels from the position anchor */
1635
+ x: number;
1636
+ /** Vertical offset in pixels from the position anchor */
1637
+ y: number;
1638
+ /** Computed z-index for the control */
1639
+ zIndex: number;
1640
+ /** Final resolved position (may differ from requested if fallback was used) */
1641
+ position: ExtendedControlPosition;
1642
+ /** Whether the control should be visible (false if hidden due to space constraints) */
1643
+ visible: boolean;
1644
+ /** Whether a fallback position was used */
1645
+ usedFallback: boolean;
1646
+ /** Warning message if there were positioning issues */
1647
+ warning?: string;
1648
+ }
1649
+ /**
1650
+ * Internal representation of a control's bounding box
1651
+ */
1652
+ interface ControlBoundingBox {
1653
+ left: number;
1654
+ top: number;
1655
+ right: number;
1656
+ bottom: number;
1657
+ }
1658
+ /**
1659
+ * Map dimensions for layout calculations
1660
+ */
1661
+ interface MapDimensions {
1662
+ width: number;
1663
+ height: number;
1664
+ }
1665
+ /**
1666
+ * Coordinator event types
1667
+ */
1668
+ type CoordinatorEventType = 'layout-changed' | 'control-registered' | 'control-unregistered' | 'control-updated' | 'map-resized';
1669
+ /**
1670
+ * Event data for coordinator events
1671
+ */
1672
+ interface CoordinatorEvent {
1673
+ type: CoordinatorEventType;
1674
+ /** ID of the affected control (if applicable) */
1675
+ controlId?: string;
1676
+ /** All current control offsets */
1677
+ offsets: Map<string, ControlOffset>;
1678
+ /** Timestamp of the event */
1679
+ timestamp: number;
1680
+ }
1681
+ /**
1682
+ * Listener function for coordinator events
1683
+ */
1684
+ type CoordinatorListener = (event: CoordinatorEvent) => void;
1685
+ /**
1686
+ * Z-index values for each layer type
1687
+ * These are spaced to allow for variations within each layer
1688
+ */
1689
+ declare const Z_INDEX_LAYERS: Record<ZIndexLayer, number>;
1690
+ /**
1691
+ * Priority order for collision resolution (higher index = higher priority)
1692
+ */
1693
+ declare const PRIORITY_ORDER: ControlPriority[];
1694
+ /**
1695
+ * Gap between stacked controls in pixels
1696
+ */
1697
+ declare const STACK_GAP = 8;
1698
+ /**
1699
+ * Margin from map edges in pixels
1700
+ */
1701
+ declare const EDGE_MARGIN = 8;
1702
+ /**
1703
+ * Options for updating control registration
1704
+ */
1705
+ type ControlUpdateOptions = Partial<Omit<ControlRegistration, 'id' | 'type' | 'isBuiltIn'>>;
1706
+
1707
+ /**
1708
+ * PositioningCoordinator
1709
+ *
1710
+ * Centralized manager for map control positioning, layering, and collision avoidance.
1711
+ * Replaces per-position stacking with intelligent layout coordination.
1712
+ */
1713
+
1714
+ /**
1715
+ * PositioningCoordinator manages the positioning of all map controls.
1716
+ *
1717
+ * Features:
1718
+ * - Vertical stacking per position
1719
+ * - Collision detection across positions
1720
+ * - Priority-based collision resolution
1721
+ * - Dynamic z-index management for expanded states
1722
+ * - Event-based updates for reactive frameworks
1723
+ */
1724
+ declare class PositioningCoordinator {
1725
+ /** Registered controls */
1726
+ private controls;
1727
+ /** Computed offsets for each control */
1728
+ private offsets;
1729
+ /** Current map dimensions */
1730
+ private mapDimensions;
1731
+ /** Event listeners */
1732
+ private listeners;
1733
+ /** Batch update flag to defer layout recalculation */
1734
+ private batchingUpdates;
1735
+ /** Pending recalculation flag during batching */
1736
+ private pendingRecalculation;
1737
+ /**
1738
+ * Register a control with the coordinator
1739
+ *
1740
+ * @param registration - Control registration data
1741
+ * @returns Computed offset for the control, or null if registration failed
1742
+ */
1743
+ register(registration: ControlRegistration): ControlOffset | null;
1744
+ /**
1745
+ * Unregister a control from the coordinator
1746
+ *
1747
+ * @param controlId - ID of the control to unregister
1748
+ */
1749
+ unregister(controlId: string): void;
1750
+ /**
1751
+ * Update a control's registration
1752
+ *
1753
+ * @param controlId - ID of the control to update
1754
+ * @param updates - Partial registration updates
1755
+ * @returns Updated offset, or null if control not found
1756
+ */
1757
+ update(controlId: string, updates: ControlUpdateOptions): ControlOffset | null;
1758
+ /**
1759
+ * Set the expanded state of a control
1760
+ *
1761
+ * @param controlId - ID of the control
1762
+ * @param isExpanded - Whether the control is expanded
1763
+ * @returns Updated offset, or null if control not found
1764
+ */
1765
+ setExpanded(controlId: string, isExpanded: boolean): ControlOffset | null;
1766
+ /**
1767
+ * Set the map dimensions for layout calculations
1768
+ *
1769
+ * @param dimensions - New map dimensions
1770
+ */
1771
+ setMapDimensions(dimensions: MapDimensions): void;
1772
+ /**
1773
+ * Get the current offset for a control
1774
+ *
1775
+ * @param controlId - ID of the control
1776
+ * @returns Current offset, or null if not found
1777
+ */
1778
+ getOffset(controlId: string): ControlOffset | null;
1779
+ /**
1780
+ * Get all current offsets
1781
+ *
1782
+ * @returns Map of control IDs to offsets
1783
+ */
1784
+ getAllOffsets(): Map<string, ControlOffset>;
1785
+ /**
1786
+ * Subscribe to coordinator events
1787
+ *
1788
+ * @param listener - Event listener function
1789
+ * @returns Unsubscribe function
1790
+ */
1791
+ subscribe(listener: CoordinatorListener): () => void;
1792
+ /**
1793
+ * Start batching updates to defer layout recalculation
1794
+ * Call endBatch() when done to trigger a single recalculation
1795
+ */
1796
+ startBatch(): void;
1797
+ /**
1798
+ * End batching and trigger layout recalculation if needed
1799
+ */
1800
+ endBatch(): void;
1801
+ /**
1802
+ * Recalculate layout for all registered controls
1803
+ */
1804
+ private recalculateLayout;
1805
+ /**
1806
+ * Group controls by their primary position
1807
+ */
1808
+ private groupControlsByPosition;
1809
+ /**
1810
+ * Calculate stacked offsets for controls at a single position
1811
+ */
1812
+ private calculatePositionStack;
1813
+ /**
1814
+ * Calculate z-index for a control based on its layer and state
1815
+ */
1816
+ private calculateZIndex;
1817
+ /**
1818
+ * Check if a bounding box is within the viewport
1819
+ */
1820
+ private isBoxInViewport;
1821
+ /**
1822
+ * Detect collisions between bounding boxes
1823
+ */
1824
+ private boxesCollide;
1825
+ /**
1826
+ * Resolve collisions by moving lower-priority controls to fallback positions
1827
+ */
1828
+ private resolveCollisions;
1829
+ /**
1830
+ * Try fallback positions for a control
1831
+ *
1832
+ * @returns The fallback position that worked, or null if none worked
1833
+ */
1834
+ private tryFallbackPositions;
1835
+ /**
1836
+ * Calculate absolute bounding box for a control at a specific position
1837
+ * Returns absolute coordinates for collision detection
1838
+ */
1839
+ private calculateBoxAtPosition;
1840
+ /**
1841
+ * Emit an event to all listeners
1842
+ */
1843
+ private emit;
1844
+ /**
1845
+ * Clear all registrations and reset state
1846
+ */
1847
+ destroy(): void;
1848
+ }
1849
+ /**
1850
+ * Create a new PositioningCoordinator instance
1851
+ */
1852
+ declare function createPositioningCoordinator(): PositioningCoordinator;
1853
+
1608
1854
  /**
1609
1855
  * Real Estate Domain Colors
1610
1856
  * Colors for visualizing lot and inventory data on maps.
@@ -1708,4 +1954,4 @@ declare const clusterColorExpression: unknown[];
1708
1954
  */
1709
1955
  declare function createMatchedColorExpression(baseColorExpression: unknown[], matchedProperty?: string): unknown[];
1710
1956
 
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 };
1957
+ 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_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, PRIORITY_ORDER, type PaintProps, type PaintPropsDiff, type PositionConfig, PositioningCoordinator, 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, 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 };