@kahwee/sf-map-svg 1.1.0 → 1.3.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.
@@ -111,6 +111,7 @@ export interface LandmarkProperties {
111
111
  }
112
112
  export interface KeyRoadProperties {
113
113
  readonly name: string;
114
+ readonly level?: 'primary' | 'secondary';
114
115
  readonly sourceNames: readonly string[];
115
116
  readonly label: Position;
116
117
  readonly segmentIds: readonly string[];
@@ -0,0 +1,3 @@
1
+ export type { BartStationData, DistrictRowData, KeyRoadData, LandmarkData, SFMapData, } from './map-core.js';
2
+ export { createSFMapWithData, districtColors, districtYears, } from './map-core.js';
3
+ export type { DistrictYear, MapMarker, MapOverlay, SFMapOptions } from './types.js';
@@ -0,0 +1 @@
1
+ export { createSFMapWithData, districtColors, districtYears, } from './map-core.js';
@@ -0,0 +1,5 @@
1
+ import type { InteractiveSFMapData } from './explorer-data.js';
2
+ import type { NeighborhoodExplorerElement, NeighborhoodExplorerOptions } from './types.js';
3
+ export type { ExplorerMode, NeighborhoodExplorerElement, NeighborhoodExplorerOptions, } from './types.js';
4
+ /** Create an offline, browser-only neighborhood explorer. Call destroy() before disposal. */
5
+ export declare function createNeighborhoodExplorerCore({ source, mode, labels, neighborhood, year, theme, interface: chrome, layers, selectableNeighborhoods, labelSize, fitPadding, markers: initialMarkers, markerRadius, markerHitSize, markerColor, selectedMarkerColor, onMarkerActivate, overlays: initialOverlays, onOverlayActivate, style: styleOptions, strings, controls, }: NeighborhoodExplorerOptions | undefined, data: InteractiveSFMapData): NeighborhoodExplorerElement;