@kahwee/sf-map-svg 1.2.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.
- package/CHANGELOG.md +5 -0
- package/README.md +65 -4
- package/SOURCES.md +5 -1
- package/dist/data/README.md +7 -1
- package/dist/data/catalog.json +3 -3
- package/dist/data/guide/bart-stations.json +1 -0
- package/dist/data/guide/coast.json +1 -0
- package/dist/data/guide/highways-detailed.json +1 -0
- package/dist/data/guide/highways.json +1 -0
- package/dist/data/guide/key-roads.json +1 -0
- package/dist/data/guide/landmarks.json +1 -0
- package/dist/data/guide/neighborhoods-realtor.json +1 -0
- package/dist/data/key-roads.json +3837 -6741
- package/dist/data/types.d.ts +1 -0
- package/dist/src/explorer-core.d.ts +5 -0
- package/dist/src/explorer-core.js +1085 -0
- package/dist/src/explorer-data.d.ts +9 -0
- package/dist/src/explorer-data.js +1 -0
- package/dist/src/explorer.d.ts +2 -2
- package/dist/src/explorer.js +28 -1030
- package/dist/src/guide.d.ts +10 -0
- package/dist/src/guide.js +107 -0
- package/dist/src/interactive-data.d.ts +6 -0
- package/dist/src/interactive-data.js +5 -0
- package/dist/src/layers.js +6 -1
- package/dist/src/map-core.d.ts +1 -0
- package/dist/src/map-core.js +9 -2
- package/dist/src/overlays.d.ts +1 -0
- package/dist/src/types.d.ts +2 -0
- package/package.json +11 -1
package/dist/data/types.d.ts
CHANGED
|
@@ -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,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;
|