@classic-homes/maps-core 0.8.0 → 0.9.0
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/{chunk-LE43W2ZW.js → chunk-VMBWIYOW.js} +27 -1
- package/dist/{deck-P7CWuRmv.d.ts → deck-C9WgQFqv.d.ts} +32 -1
- package/dist/{deck-CnQ6EjTk.d.cts → deck-CQDQQlcb.d.cts} +32 -1
- package/dist/index.cjs +28 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/types/index.d.cts +9 -4
- package/dist/types/index.d.ts +9 -4
- package/dist/utils/index.cjs +28 -0
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/package.json +1 -1
|
@@ -2882,6 +2882,32 @@ function applyMarkerChildProtection(element) {
|
|
|
2882
2882
|
style.setProperty("transition", "none", "important");
|
|
2883
2883
|
style.setProperty("animation", "none", "important");
|
|
2884
2884
|
}
|
|
2885
|
+
var MANAGED_TABINDEX = "data-marker-tabindex";
|
|
2886
|
+
function applyMarkerAccessibility(element, { label, clickable = false, draggable = false, custom = false }) {
|
|
2887
|
+
const name = label?.trim();
|
|
2888
|
+
if (name) element.setAttribute("aria-label", name);
|
|
2889
|
+
else if (custom) element.removeAttribute("aria-label");
|
|
2890
|
+
if (!custom || name || clickable) {
|
|
2891
|
+
element.setAttribute("role", clickable || draggable && !custom ? "button" : "img");
|
|
2892
|
+
} else {
|
|
2893
|
+
element.removeAttribute("role");
|
|
2894
|
+
}
|
|
2895
|
+
if (clickable) {
|
|
2896
|
+
if (!element.hasAttribute("tabindex")) {
|
|
2897
|
+
element.setAttribute("tabindex", "0");
|
|
2898
|
+
element.setAttribute(MANAGED_TABINDEX, "");
|
|
2899
|
+
}
|
|
2900
|
+
} else if (element.hasAttribute(MANAGED_TABINDEX)) {
|
|
2901
|
+
element.removeAttribute("tabindex");
|
|
2902
|
+
element.removeAttribute(MANAGED_TABINDEX);
|
|
2903
|
+
}
|
|
2904
|
+
}
|
|
2905
|
+
function handleMarkerKeydown(event) {
|
|
2906
|
+
if (event.key !== "Enter" && event.key !== " ") return;
|
|
2907
|
+
if (event.target !== event.currentTarget) return;
|
|
2908
|
+
event.preventDefault();
|
|
2909
|
+
event.currentTarget.click();
|
|
2910
|
+
}
|
|
2885
2911
|
|
|
2886
2912
|
// src/utils/popup.ts
|
|
2887
2913
|
function normalizePadding(padding) {
|
|
@@ -2958,4 +2984,4 @@ function resolveDeckInterleaved(map, requested) {
|
|
|
2958
2984
|
return requested && supportsDeckInterleaving(map);
|
|
2959
2985
|
}
|
|
2960
2986
|
|
|
2961
|
-
export { DEFAULT_SIMPLIFICATION_THRESHOLDS, KEYBOARD_CONTROLS, MARKER_PROTECTION_CLASS, applyMarkerChildProtection, applyMarkerProtection, boundaryColors, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clampLatitude, clusterColors, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createClusterCirclePaint, createClusterStyles, createClusterTextLayout, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, createZoomExpression, decimalToDMS, deepEqual, ensureValidCoordinates, 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, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getGridNavigationIndex, getHighlightStyle, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, groupFeaturesByProperty, isClusterFeature, isValidBounds, isValidLatitude, isValidLongitude, loadGeoJSON, markerColor, nonMatchedColor, normalizeLongitude, normalizePadding, paintPropsEqual, panToFitPopup, prefersReducedMotion, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, resetWorkerUrlWarning, resolveDeckInterleaved, salesOfficeColor, serializeFilter, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, supportsDeckInterleaving, validateBoundsArray, validateCoordinates, validateGeoJSON, warnIfWorkerUrlMissing, zoomToScale };
|
|
2987
|
+
export { DEFAULT_SIMPLIFICATION_THRESHOLDS, KEYBOARD_CONTROLS, MARKER_PROTECTION_CLASS, applyMarkerAccessibility, applyMarkerChildProtection, applyMarkerProtection, boundaryColors, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clampLatitude, clusterColors, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createClusterCirclePaint, createClusterStyles, createClusterTextLayout, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, createZoomExpression, decimalToDMS, deepEqual, ensureValidCoordinates, 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, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getGridNavigationIndex, getHighlightStyle, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, groupFeaturesByProperty, handleMarkerKeydown, isClusterFeature, isValidBounds, isValidLatitude, isValidLongitude, loadGeoJSON, markerColor, nonMatchedColor, normalizeLongitude, normalizePadding, paintPropsEqual, panToFitPopup, prefersReducedMotion, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, resetWorkerUrlWarning, resolveDeckInterleaved, salesOfficeColor, serializeFilter, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, supportsDeckInterleaving, validateBoundsArray, validateCoordinates, validateGeoJSON, warnIfWorkerUrlMissing, zoomToScale };
|
|
@@ -1501,6 +1501,37 @@ declare function removeMarkerProtection(element: HTMLElement): void;
|
|
|
1501
1501
|
* Apply CSS protection to custom marker content (children/slots).
|
|
1502
1502
|
*/
|
|
1503
1503
|
declare function applyMarkerChildProtection(element: HTMLElement): void;
|
|
1504
|
+
/**
|
|
1505
|
+
* How a marker should be exposed to assistive technology.
|
|
1506
|
+
*/
|
|
1507
|
+
interface MarkerAccessibilityOptions {
|
|
1508
|
+
/** Accessible name. Without one, a default MapLibre marker keeps its generic "Map marker" */
|
|
1509
|
+
label?: string;
|
|
1510
|
+
/** The marker does something on click: exposed as a focusable button */
|
|
1511
|
+
clickable?: boolean;
|
|
1512
|
+
/** The marker can be dragged (MapLibre exposes draggable default markers as buttons) */
|
|
1513
|
+
draggable?: boolean;
|
|
1514
|
+
/** The element is the app's own content rather than MapLibre's default pin */
|
|
1515
|
+
custom?: boolean;
|
|
1516
|
+
}
|
|
1517
|
+
/**
|
|
1518
|
+
* Give a marker element its accessible name, role and keyboard focus.
|
|
1519
|
+
*
|
|
1520
|
+
* Call it before `marker.addTo(map)` as well as after any change: MapLibre only
|
|
1521
|
+
* labels and gives a role to a default marker that has none yet, and it leaves
|
|
1522
|
+
* an application-set role and tabindex alone. So the app's label replaces the
|
|
1523
|
+
* generic "Map marker", a clickable marker is a `button` that Tab reaches,
|
|
1524
|
+
* and a plain one is an `img`.
|
|
1525
|
+
*
|
|
1526
|
+
* Custom marker content gets a role only when it has a label or a click
|
|
1527
|
+
* action; otherwise it is left to the app's own markup.
|
|
1528
|
+
*/
|
|
1529
|
+
declare function applyMarkerAccessibility(element: HTMLElement, { label, clickable, draggable, custom }: MarkerAccessibilityOptions): void;
|
|
1530
|
+
/**
|
|
1531
|
+
* Keydown handler for a clickable marker: Enter and Space activate it like a
|
|
1532
|
+
* mouse click, as for any `role="button"`. Attach it to the marker element.
|
|
1533
|
+
*/
|
|
1534
|
+
declare function handleMarkerKeydown(event: KeyboardEvent): void;
|
|
1504
1535
|
|
|
1505
1536
|
/**
|
|
1506
1537
|
* MapLibre worker-URL guard.
|
|
@@ -1558,4 +1589,4 @@ declare function supportsDeckInterleaving(map: DeckHostMap): boolean;
|
|
|
1558
1589
|
*/
|
|
1559
1590
|
declare function resolveDeckInterleaved(map: DeckHostMap, requested: boolean): boolean;
|
|
1560
1591
|
|
|
1561
|
-
export {
|
|
1592
|
+
export { createClusterCirclePaint as $, type PaintPropsDiff as A, type SimplificationThreshold as B, type ClusterCircleStyleOptions as C, DEFAULT_SIMPLIFICATION_THRESHOLDS as D, type ExtrusionHeightOptions as E, type FeatureGroup as F, type GenerateLODOptions as G, applyMarkerAccessibility as H, applyMarkerChildProtection as I, applyMarkerProtection as J, KEYBOARD_CONTROLS as K, type LODData as L, MARKER_PROTECTION_CLASS as M, type NumberExpression as N, boundsToPolygon as O, type PaintProps as P, calculateBounds as Q, calculateCentroid as R, type SimplificationStats as S, calculateZoomThresholds as T, type UnclusteredPointStyleOptions as U, type ValidationResult as V, clampLatitude as W, combineBounds as X, countFeaturesByType as Y, createCategoricalColorExpression as Z, createCircleStyle as _, type ClusterExpandOptions as a, isValidBounds as a$, createClusterStyles as a0, createClusterTextLayout as a1, createContinuousColorExpression as a2, createDynamicLODManager as a3, createExtrusionHeightExpression as a4, createExtrusionStyle as a5, createFillStyle as a6, createGeoJSONFingerprint as a7, createHeatmapStyle as a8, createHoverExpression as a9, formatScale as aA, formatZoom as aB, generateBoundingPolygon as aC, generateConvexHull as aD, generateFeatureCollectionDescription as aE, generateFeatureTable as aF, generateKeyboardControlsDescription as aG, generateLODData as aH, generateLODDataWithSimplification as aI, generateMapDescription as aJ, generateMarkerList as aK, generateMarkersDescription as aL, generateMoveAnnouncement as aM, geoJSONEqual as aN, getChangedPaintProps as aO, getClusterBounds as aP, getClusterChildren as aQ, getClusterExpansionZoom as aR, getClusterLeaves as aS, getGridNavigationIndex as aT, getHighlightStyle as aU, getSelectionStyle as aV, getSimplificationToleranceForZoom as aW, getSimplifiedFeaturesForZoom as aX, groupFeaturesByProperty as aY, handleMarkerKeydown as aZ, isClusterFeature as a_, createInteractiveExpression as aa, createInteractiveStatusColorExpression as ab, createLineStyle as ac, createLotFillStyle as ad, createLotOutlineStyle as ae, createSelectionExpression as af, createStatusColorExpression as ag, createZoomExpression as ah, decimalToDMS as ai, deepEqual as aj, ensureValidCoordinates as ak, expandCluster as al, expandClusterToBounds as am, extendBounds as an, filterByGeometryType as ao, filterEqual as ap, fingerprintEqual as aq, formatArea as ar, formatBearing as as, formatBounds as at, formatCoordinates as au, formatDistance as av, formatFeatureProperties as aw, formatLabel as ax, formatPitch as ay, formatPropertyValue as az, type ClusterExpansionResult as b, isValidLatitude as b0, isValidLongitude as b1, loadGeoJSON as b2, normalizeLongitude as b3, paintPropsEqual as b4, removeMarkerProtection as b5, resetWorkerUrlWarning as b6, resolveDeckInterleaved as b7, serializeFilter as b8, simplifyFeature as b9, simplifyFeatureCollection as ba, simplifyFeatureCollectionWithStats as bb, simplifyPolygon as bc, supportsDeckInterleaving as bd, validateBoundsArray as be, validateCoordinates as bf, validateGeoJSON as bg, warnIfWorkerUrlMissing as bh, zoomToScale as bi, type ClusterFeatureProperties as c, type ClusterLayerStyles as d, type ClusterMapBoundsExpander as e, type ClusterMapExpander as f, type ClusterMapReader as g, type ClusterTextStyleOptions as h, type ClusterableGeoJSONSource as i, type ColorExpression as j, type CoordinateValidationResult as k, type DeckHostMap as l, type DynamicLODOptions as m, type DynamicLODState as n, type FilterExpression as o, type FilterOperator as p, type FilterValue as q, type GeoJSONFingerprint as r, type GroupFeaturesOptions as s, type LODDataWithSimplification as t, type LoadGeoJSONOptions as u, type LoadGeoJSONResult as v, type LotFillStyleOptions as w, type LotOutlineStyleOptions as x, type MapLibreWorkerApi as y, type MarkerAccessibilityOptions as z };
|
|
@@ -1501,6 +1501,37 @@ declare function removeMarkerProtection(element: HTMLElement): void;
|
|
|
1501
1501
|
* Apply CSS protection to custom marker content (children/slots).
|
|
1502
1502
|
*/
|
|
1503
1503
|
declare function applyMarkerChildProtection(element: HTMLElement): void;
|
|
1504
|
+
/**
|
|
1505
|
+
* How a marker should be exposed to assistive technology.
|
|
1506
|
+
*/
|
|
1507
|
+
interface MarkerAccessibilityOptions {
|
|
1508
|
+
/** Accessible name. Without one, a default MapLibre marker keeps its generic "Map marker" */
|
|
1509
|
+
label?: string;
|
|
1510
|
+
/** The marker does something on click: exposed as a focusable button */
|
|
1511
|
+
clickable?: boolean;
|
|
1512
|
+
/** The marker can be dragged (MapLibre exposes draggable default markers as buttons) */
|
|
1513
|
+
draggable?: boolean;
|
|
1514
|
+
/** The element is the app's own content rather than MapLibre's default pin */
|
|
1515
|
+
custom?: boolean;
|
|
1516
|
+
}
|
|
1517
|
+
/**
|
|
1518
|
+
* Give a marker element its accessible name, role and keyboard focus.
|
|
1519
|
+
*
|
|
1520
|
+
* Call it before `marker.addTo(map)` as well as after any change: MapLibre only
|
|
1521
|
+
* labels and gives a role to a default marker that has none yet, and it leaves
|
|
1522
|
+
* an application-set role and tabindex alone. So the app's label replaces the
|
|
1523
|
+
* generic "Map marker", a clickable marker is a `button` that Tab reaches,
|
|
1524
|
+
* and a plain one is an `img`.
|
|
1525
|
+
*
|
|
1526
|
+
* Custom marker content gets a role only when it has a label or a click
|
|
1527
|
+
* action; otherwise it is left to the app's own markup.
|
|
1528
|
+
*/
|
|
1529
|
+
declare function applyMarkerAccessibility(element: HTMLElement, { label, clickable, draggable, custom }: MarkerAccessibilityOptions): void;
|
|
1530
|
+
/**
|
|
1531
|
+
* Keydown handler for a clickable marker: Enter and Space activate it like a
|
|
1532
|
+
* mouse click, as for any `role="button"`. Attach it to the marker element.
|
|
1533
|
+
*/
|
|
1534
|
+
declare function handleMarkerKeydown(event: KeyboardEvent): void;
|
|
1504
1535
|
|
|
1505
1536
|
/**
|
|
1506
1537
|
* MapLibre worker-URL guard.
|
|
@@ -1558,4 +1589,4 @@ declare function supportsDeckInterleaving(map: DeckHostMap): boolean;
|
|
|
1558
1589
|
*/
|
|
1559
1590
|
declare function resolveDeckInterleaved(map: DeckHostMap, requested: boolean): boolean;
|
|
1560
1591
|
|
|
1561
|
-
export {
|
|
1592
|
+
export { createClusterCirclePaint as $, type PaintPropsDiff as A, type SimplificationThreshold as B, type ClusterCircleStyleOptions as C, DEFAULT_SIMPLIFICATION_THRESHOLDS as D, type ExtrusionHeightOptions as E, type FeatureGroup as F, type GenerateLODOptions as G, applyMarkerAccessibility as H, applyMarkerChildProtection as I, applyMarkerProtection as J, KEYBOARD_CONTROLS as K, type LODData as L, MARKER_PROTECTION_CLASS as M, type NumberExpression as N, boundsToPolygon as O, type PaintProps as P, calculateBounds as Q, calculateCentroid as R, type SimplificationStats as S, calculateZoomThresholds as T, type UnclusteredPointStyleOptions as U, type ValidationResult as V, clampLatitude as W, combineBounds as X, countFeaturesByType as Y, createCategoricalColorExpression as Z, createCircleStyle as _, type ClusterExpandOptions as a, isValidBounds as a$, createClusterStyles as a0, createClusterTextLayout as a1, createContinuousColorExpression as a2, createDynamicLODManager as a3, createExtrusionHeightExpression as a4, createExtrusionStyle as a5, createFillStyle as a6, createGeoJSONFingerprint as a7, createHeatmapStyle as a8, createHoverExpression as a9, formatScale as aA, formatZoom as aB, generateBoundingPolygon as aC, generateConvexHull as aD, generateFeatureCollectionDescription as aE, generateFeatureTable as aF, generateKeyboardControlsDescription as aG, generateLODData as aH, generateLODDataWithSimplification as aI, generateMapDescription as aJ, generateMarkerList as aK, generateMarkersDescription as aL, generateMoveAnnouncement as aM, geoJSONEqual as aN, getChangedPaintProps as aO, getClusterBounds as aP, getClusterChildren as aQ, getClusterExpansionZoom as aR, getClusterLeaves as aS, getGridNavigationIndex as aT, getHighlightStyle as aU, getSelectionStyle as aV, getSimplificationToleranceForZoom as aW, getSimplifiedFeaturesForZoom as aX, groupFeaturesByProperty as aY, handleMarkerKeydown as aZ, isClusterFeature as a_, createInteractiveExpression as aa, createInteractiveStatusColorExpression as ab, createLineStyle as ac, createLotFillStyle as ad, createLotOutlineStyle as ae, createSelectionExpression as af, createStatusColorExpression as ag, createZoomExpression as ah, decimalToDMS as ai, deepEqual as aj, ensureValidCoordinates as ak, expandCluster as al, expandClusterToBounds as am, extendBounds as an, filterByGeometryType as ao, filterEqual as ap, fingerprintEqual as aq, formatArea as ar, formatBearing as as, formatBounds as at, formatCoordinates as au, formatDistance as av, formatFeatureProperties as aw, formatLabel as ax, formatPitch as ay, formatPropertyValue as az, type ClusterExpansionResult as b, isValidLatitude as b0, isValidLongitude as b1, loadGeoJSON as b2, normalizeLongitude as b3, paintPropsEqual as b4, removeMarkerProtection as b5, resetWorkerUrlWarning as b6, resolveDeckInterleaved as b7, serializeFilter as b8, simplifyFeature as b9, simplifyFeatureCollection as ba, simplifyFeatureCollectionWithStats as bb, simplifyPolygon as bc, supportsDeckInterleaving as bd, validateBoundsArray as be, validateCoordinates as bf, validateGeoJSON as bg, warnIfWorkerUrlMissing as bh, zoomToScale as bi, type ClusterFeatureProperties as c, type ClusterLayerStyles as d, type ClusterMapBoundsExpander as e, type ClusterMapExpander as f, type ClusterMapReader as g, type ClusterTextStyleOptions as h, type ClusterableGeoJSONSource as i, type ColorExpression as j, type CoordinateValidationResult as k, type DeckHostMap as l, type DynamicLODOptions as m, type DynamicLODState as n, type FilterExpression as o, type FilterOperator as p, type FilterValue as q, type GeoJSONFingerprint as r, type GroupFeaturesOptions as s, type LODDataWithSimplification as t, type LoadGeoJSONOptions as u, type LoadGeoJSONResult as v, type LotFillStyleOptions as w, type LotOutlineStyleOptions as x, type MapLibreWorkerApi as y, type MarkerAccessibilityOptions as z };
|
package/dist/index.cjs
CHANGED
|
@@ -3407,6 +3407,32 @@ function applyMarkerChildProtection(element) {
|
|
|
3407
3407
|
style.setProperty("transition", "none", "important");
|
|
3408
3408
|
style.setProperty("animation", "none", "important");
|
|
3409
3409
|
}
|
|
3410
|
+
var MANAGED_TABINDEX = "data-marker-tabindex";
|
|
3411
|
+
function applyMarkerAccessibility(element, { label, clickable = false, draggable = false, custom = false }) {
|
|
3412
|
+
const name = label?.trim();
|
|
3413
|
+
if (name) element.setAttribute("aria-label", name);
|
|
3414
|
+
else if (custom) element.removeAttribute("aria-label");
|
|
3415
|
+
if (!custom || name || clickable) {
|
|
3416
|
+
element.setAttribute("role", clickable || draggable && !custom ? "button" : "img");
|
|
3417
|
+
} else {
|
|
3418
|
+
element.removeAttribute("role");
|
|
3419
|
+
}
|
|
3420
|
+
if (clickable) {
|
|
3421
|
+
if (!element.hasAttribute("tabindex")) {
|
|
3422
|
+
element.setAttribute("tabindex", "0");
|
|
3423
|
+
element.setAttribute(MANAGED_TABINDEX, "");
|
|
3424
|
+
}
|
|
3425
|
+
} else if (element.hasAttribute(MANAGED_TABINDEX)) {
|
|
3426
|
+
element.removeAttribute("tabindex");
|
|
3427
|
+
element.removeAttribute(MANAGED_TABINDEX);
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
function handleMarkerKeydown(event) {
|
|
3431
|
+
if (event.key !== "Enter" && event.key !== " ") return;
|
|
3432
|
+
if (event.target !== event.currentTarget) return;
|
|
3433
|
+
event.preventDefault();
|
|
3434
|
+
event.currentTarget.click();
|
|
3435
|
+
}
|
|
3410
3436
|
|
|
3411
3437
|
// src/utils/worker.ts
|
|
3412
3438
|
var SETUP_HINT = ` import { setWorkerUrl } from 'maplibre-gl';
|
|
@@ -4724,6 +4750,7 @@ exports.TRANSIT_ROUTES = TRANSIT_ROUTES;
|
|
|
4724
4750
|
exports.WATERSHEDS = WATERSHEDS;
|
|
4725
4751
|
exports.ZONING_DISTRICTS = ZONING_DISTRICTS;
|
|
4726
4752
|
exports.Z_INDEX_LAYERS = Z_INDEX_LAYERS;
|
|
4753
|
+
exports.applyMarkerAccessibility = applyMarkerAccessibility;
|
|
4727
4754
|
exports.applyMarkerChildProtection = applyMarkerChildProtection;
|
|
4728
4755
|
exports.applyMarkerProtection = applyMarkerProtection;
|
|
4729
4756
|
exports.boundaryColors = boundaryColors;
|
|
@@ -4835,6 +4862,7 @@ exports.getTypography = getTypography;
|
|
|
4835
4862
|
exports.getVisibleLayerIds = getVisibleLayerIds;
|
|
4836
4863
|
exports.groupFeaturesByProperty = groupFeaturesByProperty;
|
|
4837
4864
|
exports.groupLayersByCategory = groupLayersByCategory;
|
|
4865
|
+
exports.handleMarkerKeydown = handleMarkerKeydown;
|
|
4838
4866
|
exports.hideAllLayers = hideAllLayers;
|
|
4839
4867
|
exports.inventoryStatusColorExpression = inventoryStatusColorExpression;
|
|
4840
4868
|
exports.inventoryStatusColors = inventoryStatusColors;
|
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import { G as GeoJSONFeatureCollection } from './data-DCyEqgN0.cjs';
|
|
|
4
4
|
export { B as BoundsArray, C as ClusterConfig, E as ExtrusionData, a as GeoJSONFeature, b as GeoJSONGeometry, c as GeoJSONLineString, d as GeoJSONMultiLineString, e as GeoJSONMultiPoint, f as GeoJSONMultiPolygon, g as GeoJSONPoint, h as GeoJSONPolygon, H as HeatmapPoint, L as LngLat, M as MapBounds, i as MapSourceData, j as MapViewport, k as MarkerData } from './data-DCyEqgN0.cjs';
|
|
5
5
|
import { BasemapDefinition, BasemapApiKeys, MapStyleSpec } from './types/index.cjs';
|
|
6
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, MapErrorLike, MapHoverEventParams, MapLayerSpecBase, MapLoadEventParams, MapMoveEventParams, MapProps, MapSourceSpec, MarkerClickEventParams, MarkerDragEventParams, MarkerProps, NavigationControlProps, PopupEventParams, PopupProps, RasterLayerProps, ScaleControlProps, SourceProps, SymbolLayerProps } from './types/index.cjs';
|
|
7
|
-
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, h as ClusterTextStyleOptions, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, N as NumberExpression, P as PaintProps,
|
|
7
|
+
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, h as ClusterTextStyleOptions, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, z as MarkerAccessibilityOptions, N as NumberExpression, P as PaintProps, A as PaintPropsDiff, S as SimplificationStats, B as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, H as applyMarkerAccessibility, I as applyMarkerChildProtection, J as applyMarkerProtection, O as boundsToPolygon, Q as calculateBounds, R as calculateCentroid, T as calculateZoomThresholds, W as clampLatitude, X as combineBounds, Y as countFeaturesByType, Z as createCategoricalColorExpression, _ as createCircleStyle, $ as createClusterCirclePaint, a0 as createClusterStyles, a1 as createClusterTextLayout, a2 as createContinuousColorExpression, a3 as createDynamicLODManager, a4 as createExtrusionHeightExpression, a5 as createExtrusionStyle, a6 as createFillStyle, a7 as createGeoJSONFingerprint, a8 as createHeatmapStyle, a9 as createHoverExpression, aa as createInteractiveExpression, ab as createInteractiveStatusColorExpression, ac as createLineStyle, ad as createLotFillStyle, ae as createLotOutlineStyle, af as createSelectionExpression, ag as createStatusColorExpression, ah as createZoomExpression, ai as decimalToDMS, aj as deepEqual, ak as ensureValidCoordinates, al as expandCluster, am as expandClusterToBounds, an as extendBounds, ao as filterByGeometryType, ap as filterEqual, aq as fingerprintEqual, ar as formatArea, as as formatBearing, at as formatBounds, au as formatCoordinates, av as formatDistance, aw as formatFeatureProperties, ax as formatLabel, ay as formatPitch, az as formatPropertyValue, aA as formatScale, aB as formatZoom, aC as generateBoundingPolygon, aD as generateConvexHull, aE as generateFeatureCollectionDescription, aF as generateFeatureTable, aG as generateKeyboardControlsDescription, aH as generateLODData, aI as generateLODDataWithSimplification, aJ as generateMapDescription, aK as generateMarkerList, aL as generateMarkersDescription, aM as generateMoveAnnouncement, aN as geoJSONEqual, aO as getChangedPaintProps, aP as getClusterBounds, aQ as getClusterChildren, aR as getClusterExpansionZoom, aS as getClusterLeaves, aT as getGridNavigationIndex, aU as getHighlightStyle, aV as getSelectionStyle, aW as getSimplificationToleranceForZoom, aX as getSimplifiedFeaturesForZoom, aY as groupFeaturesByProperty, aZ as handleMarkerKeydown, a_ as isClusterFeature, a$ as isValidBounds, b0 as isValidLatitude, b1 as isValidLongitude, b2 as loadGeoJSON, b3 as normalizeLongitude, b4 as paintPropsEqual, b5 as removeMarkerProtection, b6 as resetWorkerUrlWarning, b7 as resolveDeckInterleaved, b8 as serializeFilter, b9 as simplifyFeature, ba as simplifyFeatureCollection, bb as simplifyFeatureCollectionWithStats, bc as simplifyPolygon, bd as supportsDeckInterleaving, be as validateBoundsArray, bf as validateCoordinates, bg as validateGeoJSON, bh as warnIfWorkerUrlMissing, bi as zoomToScale } from './deck-CQDQQlcb.cjs';
|
|
8
8
|
export { B as BuildRTreeIndexOptions, a as BuildSpatialIndexOptions, I as IdleViewportManagerOptions, b as IdleViewportResult, P as PanVelocity, c as PredictiveViewportResult, Q as QuerySpatialIndexOptions, d as QueryStats, R as RTreeIndex, e as RTreeItem, f as RTreeQueryStats, S as SpatialIndex, V as ViewportManagedDataOptions, g as ViewportManagedResult, h as buildRTreeIndex, i as buildSpatialIndex, j as createIdleViewportManager, k as createPredictiveViewportManager, l as createRTreeViewportManager, m as createViewportManager, n as createViewportQuery, q as queryByBounds, o as queryByBoundsWithStats, p as queryRTreeByBounds, r as queryRTreeByBoundsWithStats } from './spatial-pNn2rgAH.cjs';
|
|
9
9
|
import '@classic-homes/theme-tokens';
|
|
10
10
|
import 'rbush';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { G as GeoJSONFeatureCollection } from './data-DCyEqgN0.js';
|
|
|
4
4
|
export { B as BoundsArray, C as ClusterConfig, E as ExtrusionData, a as GeoJSONFeature, b as GeoJSONGeometry, c as GeoJSONLineString, d as GeoJSONMultiLineString, e as GeoJSONMultiPoint, f as GeoJSONMultiPolygon, g as GeoJSONPoint, h as GeoJSONPolygon, H as HeatmapPoint, L as LngLat, M as MapBounds, i as MapSourceData, j as MapViewport, k as MarkerData } from './data-DCyEqgN0.js';
|
|
5
5
|
import { BasemapDefinition, BasemapApiKeys, MapStyleSpec } from './types/index.js';
|
|
6
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, MapErrorLike, MapHoverEventParams, MapLayerSpecBase, MapLoadEventParams, MapMoveEventParams, MapProps, MapSourceSpec, MarkerClickEventParams, MarkerDragEventParams, MarkerProps, NavigationControlProps, PopupEventParams, PopupProps, RasterLayerProps, ScaleControlProps, SourceProps, SymbolLayerProps } from './types/index.js';
|
|
7
|
-
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, h as ClusterTextStyleOptions, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, N as NumberExpression, P as PaintProps,
|
|
7
|
+
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, h as ClusterTextStyleOptions, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, z as MarkerAccessibilityOptions, N as NumberExpression, P as PaintProps, A as PaintPropsDiff, S as SimplificationStats, B as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, H as applyMarkerAccessibility, I as applyMarkerChildProtection, J as applyMarkerProtection, O as boundsToPolygon, Q as calculateBounds, R as calculateCentroid, T as calculateZoomThresholds, W as clampLatitude, X as combineBounds, Y as countFeaturesByType, Z as createCategoricalColorExpression, _ as createCircleStyle, $ as createClusterCirclePaint, a0 as createClusterStyles, a1 as createClusterTextLayout, a2 as createContinuousColorExpression, a3 as createDynamicLODManager, a4 as createExtrusionHeightExpression, a5 as createExtrusionStyle, a6 as createFillStyle, a7 as createGeoJSONFingerprint, a8 as createHeatmapStyle, a9 as createHoverExpression, aa as createInteractiveExpression, ab as createInteractiveStatusColorExpression, ac as createLineStyle, ad as createLotFillStyle, ae as createLotOutlineStyle, af as createSelectionExpression, ag as createStatusColorExpression, ah as createZoomExpression, ai as decimalToDMS, aj as deepEqual, ak as ensureValidCoordinates, al as expandCluster, am as expandClusterToBounds, an as extendBounds, ao as filterByGeometryType, ap as filterEqual, aq as fingerprintEqual, ar as formatArea, as as formatBearing, at as formatBounds, au as formatCoordinates, av as formatDistance, aw as formatFeatureProperties, ax as formatLabel, ay as formatPitch, az as formatPropertyValue, aA as formatScale, aB as formatZoom, aC as generateBoundingPolygon, aD as generateConvexHull, aE as generateFeatureCollectionDescription, aF as generateFeatureTable, aG as generateKeyboardControlsDescription, aH as generateLODData, aI as generateLODDataWithSimplification, aJ as generateMapDescription, aK as generateMarkerList, aL as generateMarkersDescription, aM as generateMoveAnnouncement, aN as geoJSONEqual, aO as getChangedPaintProps, aP as getClusterBounds, aQ as getClusterChildren, aR as getClusterExpansionZoom, aS as getClusterLeaves, aT as getGridNavigationIndex, aU as getHighlightStyle, aV as getSelectionStyle, aW as getSimplificationToleranceForZoom, aX as getSimplifiedFeaturesForZoom, aY as groupFeaturesByProperty, aZ as handleMarkerKeydown, a_ as isClusterFeature, a$ as isValidBounds, b0 as isValidLatitude, b1 as isValidLongitude, b2 as loadGeoJSON, b3 as normalizeLongitude, b4 as paintPropsEqual, b5 as removeMarkerProtection, b6 as resetWorkerUrlWarning, b7 as resolveDeckInterleaved, b8 as serializeFilter, b9 as simplifyFeature, ba as simplifyFeatureCollection, bb as simplifyFeatureCollectionWithStats, bc as simplifyPolygon, bd as supportsDeckInterleaving, be as validateBoundsArray, bf as validateCoordinates, bg as validateGeoJSON, bh as warnIfWorkerUrlMissing, bi as zoomToScale } from './deck-C9WgQFqv.js';
|
|
8
8
|
export { B as BuildRTreeIndexOptions, a as BuildSpatialIndexOptions, I as IdleViewportManagerOptions, b as IdleViewportResult, P as PanVelocity, c as PredictiveViewportResult, Q as QuerySpatialIndexOptions, d as QueryStats, R as RTreeIndex, e as RTreeItem, f as RTreeQueryStats, S as SpatialIndex, V as ViewportManagedDataOptions, g as ViewportManagedResult, h as buildRTreeIndex, i as buildSpatialIndex, j as createIdleViewportManager, k as createPredictiveViewportManager, l as createRTreeViewportManager, m as createViewportManager, n as createViewportQuery, q as queryByBounds, o as queryByBoundsWithStats, p as queryRTreeByBounds, r as queryRTreeByBoundsWithStats } from './spatial-Df48Jj9D.js';
|
|
9
9
|
import '@classic-homes/theme-tokens';
|
|
10
10
|
import 'rbush';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { lightBasicStyle, darkBasicStyle } from './chunk-QT4EOLBO.js';
|
|
2
2
|
export { darkBasicStyle, generateBasicStyle, generateVectorStyle, getBasicStyle, lightBasicStyle } from './chunk-QT4EOLBO.js';
|
|
3
|
-
import { createCategoricalColorExpression, clusterColors, nonMatchedColor } from './chunk-
|
|
4
|
-
export { DEFAULT_SIMPLIFICATION_THRESHOLDS, KEYBOARD_CONTROLS, MARKER_PROTECTION_CLASS, applyMarkerChildProtection, applyMarkerProtection, boundaryColors, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clampLatitude, clusterColors, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createClusterCirclePaint, createClusterStyles, createClusterTextLayout, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, createZoomExpression, decimalToDMS, deepEqual, ensureValidCoordinates, 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, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getGridNavigationIndex, getHighlightStyle, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, groupFeaturesByProperty, isClusterFeature, isValidBounds, isValidLatitude, isValidLongitude, loadGeoJSON, markerColor, nonMatchedColor, normalizeLongitude, paintPropsEqual, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, resetWorkerUrlWarning, resolveDeckInterleaved, salesOfficeColor, serializeFilter, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, supportsDeckInterleaving, validateBoundsArray, validateCoordinates, validateGeoJSON, warnIfWorkerUrlMissing, zoomToScale } from './chunk-
|
|
3
|
+
import { createCategoricalColorExpression, clusterColors, nonMatchedColor } from './chunk-VMBWIYOW.js';
|
|
4
|
+
export { DEFAULT_SIMPLIFICATION_THRESHOLDS, KEYBOARD_CONTROLS, MARKER_PROTECTION_CLASS, applyMarkerAccessibility, applyMarkerChildProtection, applyMarkerProtection, boundaryColors, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clampLatitude, clusterColors, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createClusterCirclePaint, createClusterStyles, createClusterTextLayout, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, createZoomExpression, decimalToDMS, deepEqual, ensureValidCoordinates, 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, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getGridNavigationIndex, getHighlightStyle, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, groupFeaturesByProperty, handleMarkerKeydown, isClusterFeature, isValidBounds, isValidLatitude, isValidLongitude, loadGeoJSON, markerColor, nonMatchedColor, normalizeLongitude, paintPropsEqual, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, resetWorkerUrlWarning, resolveDeckInterleaved, salesOfficeColor, serializeFilter, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, supportsDeckInterleaving, validateBoundsArray, validateCoordinates, validateGeoJSON, warnIfWorkerUrlMissing, zoomToScale } from './chunk-VMBWIYOW.js';
|
|
5
5
|
export { THEME_DARK, THEME_LIGHT, darkTheme, generateDarkColors, generateDarkDataColors, generateDarkTheme, generateLightColors, generateLightDataColors, generateLightTheme, getTheme, getTypography, lightTheme } from './chunk-OYZEJO3U.js';
|
|
6
6
|
import { ch } from '@classic-homes/theme-tokens';
|
|
7
7
|
import { getContrastTextColor as getContrastTextColor$1 } from '@classic-homes/theme-tokens/contrast';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -300,13 +300,13 @@ interface MapStyleSpec {
|
|
|
300
300
|
interface MapProps extends BaseMapProps {
|
|
301
301
|
/** Map style URL or style spec object */
|
|
302
302
|
style?: string | MapStyleSpec;
|
|
303
|
-
/**
|
|
303
|
+
/** Center [lng, lat]; a later change moves the map */
|
|
304
304
|
center?: LngLat;
|
|
305
|
-
/**
|
|
305
|
+
/** Zoom level (0-24); a later change moves the map */
|
|
306
306
|
zoom?: number;
|
|
307
|
-
/**
|
|
307
|
+
/** Bearing/rotation in degrees; a later change moves the map */
|
|
308
308
|
bearing?: number;
|
|
309
|
-
/**
|
|
309
|
+
/** Pitch/tilt in degrees; a later change moves the map */
|
|
310
310
|
pitch?: number;
|
|
311
311
|
/** Fit map to these bounds on load */
|
|
312
312
|
bounds?: BoundsArray;
|
|
@@ -651,6 +651,11 @@ interface MarkerProps {
|
|
|
651
651
|
id?: string;
|
|
652
652
|
/** Marker coordinates [lng, lat] */
|
|
653
653
|
coordinates: LngLat;
|
|
654
|
+
/**
|
|
655
|
+
* Accessible name read by screen readers, e.g. "Ferry Building".
|
|
656
|
+
* Without it every default marker is announced as a generic "Map marker".
|
|
657
|
+
*/
|
|
658
|
+
label?: string;
|
|
654
659
|
/** Marker color (default Heritage Teal; init-only: MapLibre bakes it into the marker element at creation) */
|
|
655
660
|
color?: string;
|
|
656
661
|
/** Custom anchor point (init-only: cannot change after marker creation) */
|
package/dist/types/index.d.ts
CHANGED
|
@@ -300,13 +300,13 @@ interface MapStyleSpec {
|
|
|
300
300
|
interface MapProps extends BaseMapProps {
|
|
301
301
|
/** Map style URL or style spec object */
|
|
302
302
|
style?: string | MapStyleSpec;
|
|
303
|
-
/**
|
|
303
|
+
/** Center [lng, lat]; a later change moves the map */
|
|
304
304
|
center?: LngLat;
|
|
305
|
-
/**
|
|
305
|
+
/** Zoom level (0-24); a later change moves the map */
|
|
306
306
|
zoom?: number;
|
|
307
|
-
/**
|
|
307
|
+
/** Bearing/rotation in degrees; a later change moves the map */
|
|
308
308
|
bearing?: number;
|
|
309
|
-
/**
|
|
309
|
+
/** Pitch/tilt in degrees; a later change moves the map */
|
|
310
310
|
pitch?: number;
|
|
311
311
|
/** Fit map to these bounds on load */
|
|
312
312
|
bounds?: BoundsArray;
|
|
@@ -651,6 +651,11 @@ interface MarkerProps {
|
|
|
651
651
|
id?: string;
|
|
652
652
|
/** Marker coordinates [lng, lat] */
|
|
653
653
|
coordinates: LngLat;
|
|
654
|
+
/**
|
|
655
|
+
* Accessible name read by screen readers, e.g. "Ferry Building".
|
|
656
|
+
* Without it every default marker is announced as a generic "Map marker".
|
|
657
|
+
*/
|
|
658
|
+
label?: string;
|
|
654
659
|
/** Marker color (default Heritage Teal; init-only: MapLibre bakes it into the marker element at creation) */
|
|
655
660
|
color?: string;
|
|
656
661
|
/** Custom anchor point (init-only: cannot change after marker creation) */
|
package/dist/utils/index.cjs
CHANGED
|
@@ -3020,6 +3020,32 @@ function applyMarkerChildProtection(element) {
|
|
|
3020
3020
|
style.setProperty("transition", "none", "important");
|
|
3021
3021
|
style.setProperty("animation", "none", "important");
|
|
3022
3022
|
}
|
|
3023
|
+
var MANAGED_TABINDEX = "data-marker-tabindex";
|
|
3024
|
+
function applyMarkerAccessibility(element, { label, clickable = false, draggable = false, custom = false }) {
|
|
3025
|
+
const name = label?.trim();
|
|
3026
|
+
if (name) element.setAttribute("aria-label", name);
|
|
3027
|
+
else if (custom) element.removeAttribute("aria-label");
|
|
3028
|
+
if (!custom || name || clickable) {
|
|
3029
|
+
element.setAttribute("role", clickable || draggable && !custom ? "button" : "img");
|
|
3030
|
+
} else {
|
|
3031
|
+
element.removeAttribute("role");
|
|
3032
|
+
}
|
|
3033
|
+
if (clickable) {
|
|
3034
|
+
if (!element.hasAttribute("tabindex")) {
|
|
3035
|
+
element.setAttribute("tabindex", "0");
|
|
3036
|
+
element.setAttribute(MANAGED_TABINDEX, "");
|
|
3037
|
+
}
|
|
3038
|
+
} else if (element.hasAttribute(MANAGED_TABINDEX)) {
|
|
3039
|
+
element.removeAttribute("tabindex");
|
|
3040
|
+
element.removeAttribute(MANAGED_TABINDEX);
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
3043
|
+
function handleMarkerKeydown(event) {
|
|
3044
|
+
if (event.key !== "Enter" && event.key !== " ") return;
|
|
3045
|
+
if (event.target !== event.currentTarget) return;
|
|
3046
|
+
event.preventDefault();
|
|
3047
|
+
event.currentTarget.click();
|
|
3048
|
+
}
|
|
3023
3049
|
|
|
3024
3050
|
// src/utils/popup.ts
|
|
3025
3051
|
function normalizePadding(padding) {
|
|
@@ -3099,6 +3125,7 @@ function resolveDeckInterleaved(map, requested) {
|
|
|
3099
3125
|
exports.DEFAULT_SIMPLIFICATION_THRESHOLDS = DEFAULT_SIMPLIFICATION_THRESHOLDS;
|
|
3100
3126
|
exports.KEYBOARD_CONTROLS = KEYBOARD_CONTROLS;
|
|
3101
3127
|
exports.MARKER_PROTECTION_CLASS = MARKER_PROTECTION_CLASS;
|
|
3128
|
+
exports.applyMarkerAccessibility = applyMarkerAccessibility;
|
|
3102
3129
|
exports.applyMarkerChildProtection = applyMarkerChildProtection;
|
|
3103
3130
|
exports.applyMarkerProtection = applyMarkerProtection;
|
|
3104
3131
|
exports.boundsToPolygon = boundsToPolygon;
|
|
@@ -3179,6 +3206,7 @@ exports.getSelectionStyle = getSelectionStyle;
|
|
|
3179
3206
|
exports.getSimplificationToleranceForZoom = getSimplificationToleranceForZoom;
|
|
3180
3207
|
exports.getSimplifiedFeaturesForZoom = getSimplifiedFeaturesForZoom;
|
|
3181
3208
|
exports.groupFeaturesByProperty = groupFeaturesByProperty;
|
|
3209
|
+
exports.handleMarkerKeydown = handleMarkerKeydown;
|
|
3182
3210
|
exports.isClusterFeature = isClusterFeature;
|
|
3183
3211
|
exports.isValidBounds = isValidBounds;
|
|
3184
3212
|
exports.isValidLatitude = isValidLatitude;
|
package/dist/utils/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, y as MapLibreWorkerApi, N as NumberExpression, P as PaintProps,
|
|
1
|
+
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, y as MapLibreWorkerApi, z as MarkerAccessibilityOptions, N as NumberExpression, P as PaintProps, A as PaintPropsDiff, S as SimplificationStats, B as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, H as applyMarkerAccessibility, I as applyMarkerChildProtection, J as applyMarkerProtection, O as boundsToPolygon, Q as calculateBounds, R as calculateCentroid, T as calculateZoomThresholds, W as clampLatitude, X as combineBounds, Y as countFeaturesByType, Z as createCategoricalColorExpression, _ as createCircleStyle, $ as createClusterCirclePaint, a0 as createClusterStyles, a1 as createClusterTextLayout, a2 as createContinuousColorExpression, a3 as createDynamicLODManager, a4 as createExtrusionHeightExpression, a5 as createExtrusionStyle, a6 as createFillStyle, a7 as createGeoJSONFingerprint, a8 as createHeatmapStyle, a9 as createHoverExpression, aa as createInteractiveExpression, ab as createInteractiveStatusColorExpression, ac as createLineStyle, ad as createLotFillStyle, ae as createLotOutlineStyle, af as createSelectionExpression, ag as createStatusColorExpression, ah as createZoomExpression, ai as decimalToDMS, aj as deepEqual, ak as ensureValidCoordinates, al as expandCluster, am as expandClusterToBounds, an as extendBounds, ao as filterByGeometryType, ap as filterEqual, aq as fingerprintEqual, ar as formatArea, as as formatBearing, at as formatBounds, au as formatCoordinates, av as formatDistance, aw as formatFeatureProperties, ax as formatLabel, ay as formatPitch, az as formatPropertyValue, aA as formatScale, aB as formatZoom, aC as generateBoundingPolygon, aD as generateConvexHull, aE as generateFeatureCollectionDescription, aF as generateFeatureTable, aG as generateKeyboardControlsDescription, aH as generateLODData, aI as generateLODDataWithSimplification, aJ as generateMapDescription, aK as generateMarkerList, aL as generateMarkersDescription, aM as generateMoveAnnouncement, aN as geoJSONEqual, aO as getChangedPaintProps, aP as getClusterBounds, aQ as getClusterChildren, aR as getClusterExpansionZoom, aS as getClusterLeaves, aT as getGridNavigationIndex, aU as getHighlightStyle, aV as getSelectionStyle, aW as getSimplificationToleranceForZoom, aX as getSimplifiedFeaturesForZoom, aY as groupFeaturesByProperty, aZ as handleMarkerKeydown, a_ as isClusterFeature, a$ as isValidBounds, b0 as isValidLatitude, b1 as isValidLongitude, b2 as loadGeoJSON, b3 as normalizeLongitude, b4 as paintPropsEqual, b5 as removeMarkerProtection, b6 as resetWorkerUrlWarning, b7 as resolveDeckInterleaved, b8 as serializeFilter, b9 as simplifyFeature, ba as simplifyFeatureCollection, bb as simplifyFeatureCollectionWithStats, bc as simplifyPolygon, bd as supportsDeckInterleaving, be as validateBoundsArray, bf as validateCoordinates, bg as validateGeoJSON, bh as warnIfWorkerUrlMissing, bi as zoomToScale } from '../deck-CQDQQlcb.cjs';
|
|
2
2
|
export { B as BuildRTreeIndexOptions, a as BuildSpatialIndexOptions, I as IdleViewportManagerOptions, b as IdleViewportResult, P as PanVelocity, c as PredictiveViewportResult, Q as QuerySpatialIndexOptions, d as QueryStats, R as RTreeIndex, e as RTreeItem, f as RTreeQueryStats, S as SpatialIndex, V as ViewportManagedDataOptions, g as ViewportManagedResult, h as buildRTreeIndex, i as buildSpatialIndex, j as createIdleViewportManager, k as createPredictiveViewportManager, l as createRTreeViewportManager, m as createViewportManager, n as createViewportQuery, q as queryByBounds, o as queryByBoundsWithStats, p as queryRTreeByBounds, r as queryRTreeByBoundsWithStats } from '../spatial-pNn2rgAH.cjs';
|
|
3
3
|
import '../data-DCyEqgN0.cjs';
|
|
4
4
|
import '../generator-DmozEcaK.cjs';
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, y as MapLibreWorkerApi, N as NumberExpression, P as PaintProps,
|
|
1
|
+
export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, y as MapLibreWorkerApi, z as MarkerAccessibilityOptions, N as NumberExpression, P as PaintProps, A as PaintPropsDiff, S as SimplificationStats, B as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, H as applyMarkerAccessibility, I as applyMarkerChildProtection, J as applyMarkerProtection, O as boundsToPolygon, Q as calculateBounds, R as calculateCentroid, T as calculateZoomThresholds, W as clampLatitude, X as combineBounds, Y as countFeaturesByType, Z as createCategoricalColorExpression, _ as createCircleStyle, $ as createClusterCirclePaint, a0 as createClusterStyles, a1 as createClusterTextLayout, a2 as createContinuousColorExpression, a3 as createDynamicLODManager, a4 as createExtrusionHeightExpression, a5 as createExtrusionStyle, a6 as createFillStyle, a7 as createGeoJSONFingerprint, a8 as createHeatmapStyle, a9 as createHoverExpression, aa as createInteractiveExpression, ab as createInteractiveStatusColorExpression, ac as createLineStyle, ad as createLotFillStyle, ae as createLotOutlineStyle, af as createSelectionExpression, ag as createStatusColorExpression, ah as createZoomExpression, ai as decimalToDMS, aj as deepEqual, ak as ensureValidCoordinates, al as expandCluster, am as expandClusterToBounds, an as extendBounds, ao as filterByGeometryType, ap as filterEqual, aq as fingerprintEqual, ar as formatArea, as as formatBearing, at as formatBounds, au as formatCoordinates, av as formatDistance, aw as formatFeatureProperties, ax as formatLabel, ay as formatPitch, az as formatPropertyValue, aA as formatScale, aB as formatZoom, aC as generateBoundingPolygon, aD as generateConvexHull, aE as generateFeatureCollectionDescription, aF as generateFeatureTable, aG as generateKeyboardControlsDescription, aH as generateLODData, aI as generateLODDataWithSimplification, aJ as generateMapDescription, aK as generateMarkerList, aL as generateMarkersDescription, aM as generateMoveAnnouncement, aN as geoJSONEqual, aO as getChangedPaintProps, aP as getClusterBounds, aQ as getClusterChildren, aR as getClusterExpansionZoom, aS as getClusterLeaves, aT as getGridNavigationIndex, aU as getHighlightStyle, aV as getSelectionStyle, aW as getSimplificationToleranceForZoom, aX as getSimplifiedFeaturesForZoom, aY as groupFeaturesByProperty, aZ as handleMarkerKeydown, a_ as isClusterFeature, a$ as isValidBounds, b0 as isValidLatitude, b1 as isValidLongitude, b2 as loadGeoJSON, b3 as normalizeLongitude, b4 as paintPropsEqual, b5 as removeMarkerProtection, b6 as resetWorkerUrlWarning, b7 as resolveDeckInterleaved, b8 as serializeFilter, b9 as simplifyFeature, ba as simplifyFeatureCollection, bb as simplifyFeatureCollectionWithStats, bc as simplifyPolygon, bd as supportsDeckInterleaving, be as validateBoundsArray, bf as validateCoordinates, bg as validateGeoJSON, bh as warnIfWorkerUrlMissing, bi as zoomToScale } from '../deck-C9WgQFqv.js';
|
|
2
2
|
export { B as BuildRTreeIndexOptions, a as BuildSpatialIndexOptions, I as IdleViewportManagerOptions, b as IdleViewportResult, P as PanVelocity, c as PredictiveViewportResult, Q as QuerySpatialIndexOptions, d as QueryStats, R as RTreeIndex, e as RTreeItem, f as RTreeQueryStats, S as SpatialIndex, V as ViewportManagedDataOptions, g as ViewportManagedResult, h as buildRTreeIndex, i as buildSpatialIndex, j as createIdleViewportManager, k as createPredictiveViewportManager, l as createRTreeViewportManager, m as createViewportManager, n as createViewportQuery, q as queryByBounds, o as queryByBoundsWithStats, p as queryRTreeByBounds, r as queryRTreeByBoundsWithStats } from '../spatial-Df48Jj9D.js';
|
|
3
3
|
import '../data-DCyEqgN0.js';
|
|
4
4
|
import '../generator-DmozEcaK.js';
|
package/dist/utils/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DEFAULT_SIMPLIFICATION_THRESHOLDS, KEYBOARD_CONTROLS, MARKER_PROTECTION_CLASS, applyMarkerChildProtection, applyMarkerProtection, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clampLatitude, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createClusterCirclePaint, createClusterStyles, createClusterTextLayout, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, createZoomExpression, decimalToDMS, deepEqual, ensureValidCoordinates, 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, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getGridNavigationIndex, getHighlightStyle, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, groupFeaturesByProperty, isClusterFeature, isValidBounds, isValidLatitude, isValidLongitude, loadGeoJSON, normalizeLongitude, normalizePadding, paintPropsEqual, panToFitPopup, prefersReducedMotion, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, resetWorkerUrlWarning, resolveDeckInterleaved, serializeFilter, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, supportsDeckInterleaving, validateBoundsArray, validateCoordinates, validateGeoJSON, warnIfWorkerUrlMissing, zoomToScale } from '../chunk-
|
|
1
|
+
export { DEFAULT_SIMPLIFICATION_THRESHOLDS, KEYBOARD_CONTROLS, MARKER_PROTECTION_CLASS, applyMarkerAccessibility, applyMarkerChildProtection, applyMarkerProtection, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clampLatitude, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createClusterCirclePaint, createClusterStyles, createClusterTextLayout, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, createZoomExpression, decimalToDMS, deepEqual, ensureValidCoordinates, 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, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getGridNavigationIndex, getHighlightStyle, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, groupFeaturesByProperty, handleMarkerKeydown, isClusterFeature, isValidBounds, isValidLatitude, isValidLongitude, loadGeoJSON, normalizeLongitude, normalizePadding, paintPropsEqual, panToFitPopup, prefersReducedMotion, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, resetWorkerUrlWarning, resolveDeckInterleaved, serializeFilter, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, supportsDeckInterleaving, validateBoundsArray, validateCoordinates, validateGeoJSON, warnIfWorkerUrlMissing, zoomToScale } from '../chunk-VMBWIYOW.js';
|
|
2
2
|
import '../chunk-OYZEJO3U.js';
|