@classic-homes/maps-core 0.2.5 → 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.cjs CHANGED
@@ -3148,6 +3148,34 @@ function applyMarkerChildProtection(element) {
3148
3148
  }
3149
3149
 
3150
3150
  // src/basemaps/registry.ts
3151
+ var DEFAULT_BASEMAP = {
3152
+ id: "default",
3153
+ name: "Default",
3154
+ provider: "maptiler",
3155
+ category: "minimal",
3156
+ style: "https://api.maptiler.com/maps/019c0bd2-b70f-78c1-a129-6b471a6c2d93/style.json?key=DfdiXzki9UFQMr3alBEe",
3157
+ thumbnail: "https://api.maptiler.com/maps/positron/256/0/0/0.png?key=DfdiXzki9UFQMr3alBEe",
3158
+ requiresApiKey: false
3159
+ // Key is embedded in the style URL
3160
+ };
3161
+ var SATELLITE_BASEMAP = {
3162
+ id: "satellite",
3163
+ name: "Satellite",
3164
+ provider: "maptiler",
3165
+ category: "satellite",
3166
+ style: "https://api.maptiler.com/maps/hybrid-v4/style.json?key=DfdiXzki9UFQMr3alBEe",
3167
+ thumbnail: "https://api.maptiler.com/maps/hybrid/256/0/0/0.jpg?key=DfdiXzki9UFQMr3alBEe",
3168
+ requiresApiKey: false
3169
+ };
3170
+ var TOPO_BASEMAP = {
3171
+ id: "topo",
3172
+ name: "Topo",
3173
+ provider: "maptiler",
3174
+ category: "outdoor",
3175
+ style: "https://api.maptiler.com/maps/topo-v4/style.json?key=DfdiXzki9UFQMr3alBEe",
3176
+ thumbnail: "https://api.maptiler.com/maps/topo-v2/256/0/0/0.png?key=DfdiXzki9UFQMr3alBEe",
3177
+ requiresApiKey: false
3178
+ };
3151
3179
  var OSM_STANDARD = {
3152
3180
  id: "osm-standard",
3153
3181
  name: "OpenStreetMap",
@@ -3257,7 +3285,15 @@ var STADIA_STAMEN_TERRAIN = {
3257
3285
  style: (apiKey) => `https://tiles.stadiamaps.com/styles/stamen_terrain.json?api_key=${apiKey}`,
3258
3286
  requiresApiKey: true
3259
3287
  };
3288
+ var PRIMARY_BASEMAPS = [
3289
+ DEFAULT_BASEMAP,
3290
+ SATELLITE_BASEMAP,
3291
+ TOPO_BASEMAP
3292
+ ];
3260
3293
  var BUILTIN_BASEMAPS = [
3294
+ DEFAULT_BASEMAP,
3295
+ SATELLITE_BASEMAP,
3296
+ TOPO_BASEMAP,
3261
3297
  OSM_STANDARD,
3262
3298
  CLASSIC_LIGHT,
3263
3299
  CLASSIC_DARK,
@@ -4343,6 +4379,7 @@ exports.CATEGORY_META = CATEGORY_META;
4343
4379
  exports.CITY_LIMITS = CITY_LIMITS;
4344
4380
  exports.CLASSIC_DARK = CLASSIC_DARK;
4345
4381
  exports.CLASSIC_LIGHT = CLASSIC_LIGHT;
4382
+ exports.DEFAULT_BASEMAP = DEFAULT_BASEMAP;
4346
4383
  exports.DEFAULT_SIMPLIFICATION_THRESHOLDS = DEFAULT_SIMPLIFICATION_THRESHOLDS;
4347
4384
  exports.EDGE_MARGIN = EDGE_MARGIN;
4348
4385
  exports.FLOOD_ZONES = FLOOD_ZONES;
@@ -4355,8 +4392,10 @@ exports.MAPTILER_STREETS = MAPTILER_STREETS;
4355
4392
  exports.MARKER_PROTECTION_CLASS = MARKER_PROTECTION_CLASS;
4356
4393
  exports.OSM_STANDARD = OSM_STANDARD;
4357
4394
  exports.PARKS = PARKS;
4395
+ exports.PRIMARY_BASEMAPS = PRIMARY_BASEMAPS;
4358
4396
  exports.PRIORITY_ORDER = PRIORITY_ORDER;
4359
4397
  exports.PositioningCoordinator = PositioningCoordinator;
4398
+ exports.SATELLITE_BASEMAP = SATELLITE_BASEMAP;
4360
4399
  exports.SCHOOL_DISTRICTS = SCHOOL_DISTRICTS;
4361
4400
  exports.SPORTS_FACILITIES = SPORTS_FACILITIES;
4362
4401
  exports.STACK_GAP = STACK_GAP;
@@ -4367,6 +4406,7 @@ exports.STADIA_STAMEN_TONER = STADIA_STAMEN_TONER;
4367
4406
  exports.STADIA_STAMEN_WATERCOLOR = STADIA_STAMEN_WATERCOLOR;
4368
4407
  exports.THEME_DARK = THEME_DARK;
4369
4408
  exports.THEME_LIGHT = THEME_LIGHT;
4409
+ exports.TOPO_BASEMAP = TOPO_BASEMAP;
4370
4410
  exports.TRAILS = TRAILS;
4371
4411
  exports.TRANSIT_ROUTES = TRANSIT_ROUTES;
4372
4412
  exports.WATERSHEDS = WATERSHEDS;
package/dist/index.d.cts CHANGED
@@ -1239,6 +1239,19 @@ declare function applyMarkerChildProtection(element: HTMLElement): void;
1239
1239
  * Built-in basemap definitions and utilities
1240
1240
  */
1241
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;
1242
1255
  declare const OSM_STANDARD: BasemapDefinition;
1243
1256
  declare const CLASSIC_LIGHT: BasemapDefinition;
1244
1257
  declare const CLASSIC_DARK: BasemapDefinition;
@@ -1251,6 +1264,8 @@ declare const STADIA_ALIDADE_DARK: BasemapDefinition;
1251
1264
  declare const STADIA_STAMEN_TONER: BasemapDefinition;
1252
1265
  declare const STADIA_STAMEN_WATERCOLOR: BasemapDefinition;
1253
1266
  declare const STADIA_STAMEN_TERRAIN: BasemapDefinition;
1267
+ /** Primary basemaps for demos - free, no API key required */
1268
+ declare const PRIMARY_BASEMAPS: BasemapDefinition[];
1254
1269
  /** All built-in basemaps */
1255
1270
  declare const BUILTIN_BASEMAPS: BasemapDefinition[];
1256
1271
  /** Basemaps that require no API key */
@@ -1954,4 +1969,4 @@ declare const clusterColorExpression: unknown[];
1954
1969
  */
1955
1970
  declare function createMatchedColorExpression(baseColorExpression: unknown[], matchedProperty?: string): unknown[];
1956
1971
 
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 };
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 };
package/dist/index.d.ts CHANGED
@@ -1239,6 +1239,19 @@ declare function applyMarkerChildProtection(element: HTMLElement): void;
1239
1239
  * Built-in basemap definitions and utilities
1240
1240
  */
1241
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;
1242
1255
  declare const OSM_STANDARD: BasemapDefinition;
1243
1256
  declare const CLASSIC_LIGHT: BasemapDefinition;
1244
1257
  declare const CLASSIC_DARK: BasemapDefinition;
@@ -1251,6 +1264,8 @@ declare const STADIA_ALIDADE_DARK: BasemapDefinition;
1251
1264
  declare const STADIA_STAMEN_TONER: BasemapDefinition;
1252
1265
  declare const STADIA_STAMEN_WATERCOLOR: BasemapDefinition;
1253
1266
  declare const STADIA_STAMEN_TERRAIN: BasemapDefinition;
1267
+ /** Primary basemaps for demos - free, no API key required */
1268
+ declare const PRIMARY_BASEMAPS: BasemapDefinition[];
1254
1269
  /** All built-in basemaps */
1255
1270
  declare const BUILTIN_BASEMAPS: BasemapDefinition[];
1256
1271
  /** Basemaps that require no API key */
@@ -1954,4 +1969,4 @@ declare const clusterColorExpression: unknown[];
1954
1969
  */
1955
1970
  declare function createMatchedColorExpression(baseColorExpression: unknown[], matchedProperty?: string): unknown[];
1956
1971
 
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 };
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 };
package/dist/index.js CHANGED
@@ -2613,6 +2613,34 @@ function applyMarkerChildProtection(element) {
2613
2613
  }
2614
2614
 
2615
2615
  // src/basemaps/registry.ts
2616
+ var DEFAULT_BASEMAP = {
2617
+ id: "default",
2618
+ name: "Default",
2619
+ provider: "maptiler",
2620
+ category: "minimal",
2621
+ style: "https://api.maptiler.com/maps/019c0bd2-b70f-78c1-a129-6b471a6c2d93/style.json?key=DfdiXzki9UFQMr3alBEe",
2622
+ thumbnail: "https://api.maptiler.com/maps/positron/256/0/0/0.png?key=DfdiXzki9UFQMr3alBEe",
2623
+ requiresApiKey: false
2624
+ // Key is embedded in the style URL
2625
+ };
2626
+ var SATELLITE_BASEMAP = {
2627
+ id: "satellite",
2628
+ name: "Satellite",
2629
+ provider: "maptiler",
2630
+ category: "satellite",
2631
+ style: "https://api.maptiler.com/maps/hybrid-v4/style.json?key=DfdiXzki9UFQMr3alBEe",
2632
+ thumbnail: "https://api.maptiler.com/maps/hybrid/256/0/0/0.jpg?key=DfdiXzki9UFQMr3alBEe",
2633
+ requiresApiKey: false
2634
+ };
2635
+ var TOPO_BASEMAP = {
2636
+ id: "topo",
2637
+ name: "Topo",
2638
+ provider: "maptiler",
2639
+ category: "outdoor",
2640
+ style: "https://api.maptiler.com/maps/topo-v4/style.json?key=DfdiXzki9UFQMr3alBEe",
2641
+ thumbnail: "https://api.maptiler.com/maps/topo-v2/256/0/0/0.png?key=DfdiXzki9UFQMr3alBEe",
2642
+ requiresApiKey: false
2643
+ };
2616
2644
  var OSM_STANDARD = {
2617
2645
  id: "osm-standard",
2618
2646
  name: "OpenStreetMap",
@@ -2722,7 +2750,15 @@ var STADIA_STAMEN_TERRAIN = {
2722
2750
  style: (apiKey) => `https://tiles.stadiamaps.com/styles/stamen_terrain.json?api_key=${apiKey}`,
2723
2751
  requiresApiKey: true
2724
2752
  };
2753
+ var PRIMARY_BASEMAPS = [
2754
+ DEFAULT_BASEMAP,
2755
+ SATELLITE_BASEMAP,
2756
+ TOPO_BASEMAP
2757
+ ];
2725
2758
  var BUILTIN_BASEMAPS = [
2759
+ DEFAULT_BASEMAP,
2760
+ SATELLITE_BASEMAP,
2761
+ TOPO_BASEMAP,
2726
2762
  OSM_STANDARD,
2727
2763
  CLASSIC_LIGHT,
2728
2764
  CLASSIC_DARK,
@@ -3801,4 +3837,4 @@ function createMatchedColorExpression(baseColorExpression, matchedProperty = "ma
3801
3837
  ];
3802
3838
  }
3803
3839
 
3804
- export { BIKE_LANES, BUILTIN_BASEMAPS, BUILTIN_OVERLAY_LAYERS, CATEGORY_META, CITY_LIMITS, CLASSIC_DARK, CLASSIC_LIGHT, DEFAULT_SIMPLIFICATION_THRESHOLDS, EDGE_MARGIN, FLOOD_ZONES, FREE_BASEMAPS, KEYBOARD_CONTROLS, MAPTILER_BASIC, MAPTILER_OUTDOOR, MAPTILER_SATELLITE, MAPTILER_STREETS, MARKER_PROTECTION_CLASS, OSM_STANDARD, PARKS, PRIORITY_ORDER, PositioningCoordinator, SCHOOL_DISTRICTS, SPORTS_FACILITIES, STACK_GAP, STADIA_ALIDADE_DARK, STADIA_ALIDADE_SMOOTH, STADIA_STAMEN_TERRAIN, STADIA_STAMEN_TONER, STADIA_STAMEN_WATERCOLOR, TRAILS, TRANSIT_ROUTES, WATERSHEDS, ZONING_DISTRICTS, Z_INDEX_LAYERS, applyMarkerChildProtection, applyMarkerProtection, boundaryColors, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clusterColorExpression, clusterColors, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInitialLayerStates, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createMatchedColorExpression, createPositioningCoordinator, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, 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, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, reorderLayers, resolveBasemapStyle, resolveBasemapThumbnail, resolveLayerSourceUrl, salesOfficeColor, searchLayers, serializeFilter, setLayerError, setLayerLoading, setLayerOpacity, showAllLayers, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, toggleLayerVisibility, updateLayerState, validateGeoJSON, zoomToScale };
3840
+ export { BIKE_LANES, BUILTIN_BASEMAPS, BUILTIN_OVERLAY_LAYERS, CATEGORY_META, CITY_LIMITS, CLASSIC_DARK, CLASSIC_LIGHT, DEFAULT_BASEMAP, DEFAULT_SIMPLIFICATION_THRESHOLDS, EDGE_MARGIN, FLOOD_ZONES, FREE_BASEMAPS, KEYBOARD_CONTROLS, MAPTILER_BASIC, MAPTILER_OUTDOOR, MAPTILER_SATELLITE, MAPTILER_STREETS, MARKER_PROTECTION_CLASS, OSM_STANDARD, PARKS, PRIMARY_BASEMAPS, PRIORITY_ORDER, PositioningCoordinator, SATELLITE_BASEMAP, SCHOOL_DISTRICTS, SPORTS_FACILITIES, STACK_GAP, STADIA_ALIDADE_DARK, STADIA_ALIDADE_SMOOTH, STADIA_STAMEN_TERRAIN, STADIA_STAMEN_TONER, STADIA_STAMEN_WATERCOLOR, TOPO_BASEMAP, TRAILS, TRANSIT_ROUTES, WATERSHEDS, ZONING_DISTRICTS, Z_INDEX_LAYERS, applyMarkerChildProtection, applyMarkerProtection, boundaryColors, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clusterColorExpression, clusterColors, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInitialLayerStates, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createMatchedColorExpression, createPositioningCoordinator, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, 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, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, reorderLayers, resolveBasemapStyle, resolveBasemapThumbnail, resolveLayerSourceUrl, salesOfficeColor, searchLayers, serializeFilter, setLayerError, setLayerLoading, setLayerOpacity, showAllLayers, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, toggleLayerVisibility, updateLayerState, validateGeoJSON, zoomToScale };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/maps-core",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Core utilities and theme for Classic Theme maps",
5
5
  "keywords": [
6
6
  "maps",
@@ -629,6 +629,28 @@
629
629
  pointer-events: none;
630
630
  }
631
631
 
632
+ .pointer-events-auto {
633
+ pointer-events: auto;
634
+ }
635
+
636
+ /* Child selector variant: [&>*]:pointer-events-auto
637
+ Critical for map controls overlay - allows children to receive clicks */
638
+ .pointer-events-none > * {
639
+ pointer-events: auto;
640
+ }
641
+
642
+ /* ==========================================================================
643
+ Visibility
644
+ ========================================================================== */
645
+
646
+ .invisible {
647
+ visibility: hidden;
648
+ }
649
+
650
+ .visible {
651
+ visibility: visible;
652
+ }
653
+
632
654
  /* ==========================================================================
633
655
  Overflow
634
656
  ========================================================================== */