Publish curated GeoIntel source from e92b13f5511700f5410671ee9dd7476efa584d8c
This commit is contained in:
1 parent
0aae654d6e
commit
6189612863
22 files changed
+670
-592
No files matched your search
Generated
+226
-479
File diff suppressed because it is too large.
Load diff
@@ -22,7 +22,7 @@
|
||||
"@fontsource/manrope": "^5.3.0",
|
||||
"@fontsource/public-sans": "^5.3.0",
|
||||
"lucide-react": "^1.25.0",
|
||||
"maplibre-gl": "^4.7.1",
|
||||
"maplibre-gl": "^6.11.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
@@ -35,6 +35,6 @@
|
||||
"playwright": "^1.61.1",
|
||||
"typescript": "^5.5.4",
|
||||
"vite": "^7.3.6",
|
||||
"vitest": "^3.2.6"
|
||||
"vitest": "^4.1.11"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import maplibregl from 'maplibre-gl'
|
||||
import * as maplibregl from 'maplibre-gl'
|
||||
import maplibreWorkerUrl from 'maplibre-gl/dist/maplibre-gl-worker.mjs?worker&url'
|
||||
import type { ExpressionSpecification } from '@maplibre/maplibre-gl-style-spec'
|
||||
import 'maplibre-gl/dist/maplibre-gl.css'
|
||||
import { NATIONAL_MAP_CENTER, NATIONAL_MAP_ZOOM } from '../config/primaryFocus'
|
||||
@@ -7,6 +8,8 @@ import { featureCollectionBounds } from '../lib/geojsonBounds'
|
||||
import type { MapImageOverlay, MapViewportState, VectorSelectionBBox } from '../types'
|
||||
import { basemapGround, basemapPaint, huidigeWerkstand, mapSymbology } from './map/mapSymbology'
|
||||
|
||||
maplibregl.setWorkerUrl(maplibreWorkerUrl)
|
||||
|
||||
interface GeoMapProps {
|
||||
data: GeoJSON.FeatureCollection | null
|
||||
dataFillColor?: string
|
||||
|
||||
Reference in new issue
Block a user