Skip to content

Commit 8fd31b5

Browse files
committed
Drop deprecated DuckDB-WASM bindings.
1 parent 813793b commit 8fd31b5

7 files changed

Lines changed: 1 addition & 108 deletions

File tree

site/public/duckdb-browser-eh.worker.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

site/public/duckdb-eh.wasm

-32.7 MB
Binary file not shown.

site/src/App.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
:osm-filters="osmFilters"
2424
:overture-filters="overtureFilters"
2525
:conflated-filters="conflatedFilters"
26-
@zoom-changed="currentZoom = $event"
2726
/>
2827
<AmenityFilter
2928
:active-source="activeSource"
@@ -50,7 +49,6 @@ import {
5049
} from './constants.js'
5150
5251
const activeSource = ref('osm')
53-
const currentZoom = ref(4)
5452
const mapRef = ref(null)
5553
5654
const osmFilters = ref(

site/src/components/MapContainer.vue

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,13 @@ const props = defineProps({
9191
conflatedFilters: { type: Object, required: true },
9292
})
9393
94-
const emit = defineEmits(['zoom-changed'])
95-
9694
const mapEl = ref(null)
9795
const popupEl = ref(null)
9896
const map = shallowRef(null)
9997
const popupOverlay = shallowRef(null)
10098
const selectedFeature = shallowRef(null)
10199
const selectedStyle = ref('positron')
102100
const basemapModalOpen = ref(false)
103-
const currentZoom = ref(INITIAL_ZOOM)
104101
const baseMapStyles = BASE_MAP_STYLES
105102
106103
const { locate } = useGeolocation()
@@ -151,12 +148,6 @@ onMounted(async () => {
151148
152149
olMap.on('singleclick', handleClick)
153150
154-
view.on('change:resolution', () => {
155-
const z = view.getZoom()
156-
currentZoom.value = z
157-
emit('zoom-changed', z)
158-
})
159-
160151
// Initialise PMTiles filters from props
161152
updateOsmFilters(props.osmFilters)
162153
updateOvertureFilters(props.overtureFilters)

site/src/constants.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import {
77
OVERTURE_L0S,
88
} from './taxonomy.generated.js'
99

10-
// S3 URLs — PMTiles are the primary per-dataset archives. The site reads
11-
// them via ol-pmtiles; no DuckDB-WASM query path anymore.
10+
// S3 URLs — PMTiles archives read via ol-pmtiles.
1211
export const OSM_PMTILES_URL =
1312
'https://openpois-public.s3.us-west-2.amazonaws.com/snapshots/osm/20260417/osm_snapshot.pmtiles'
1413

site/src/layers/styleFactory.js

Lines changed: 0 additions & 79 deletions
This file was deleted.

site/vite.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ export default defineConfig({
1111
if (id.includes('node_modules/ol-mapbox-style')) return 'ol-mapbox-style'
1212
if (id.includes('node_modules/ol-pmtiles')) return 'ol-pmtiles'
1313
if (id.includes('node_modules/ol/')) return 'ol'
14-
if (id.includes('node_modules/apache-arrow')) return 'arrow'
15-
if (id.includes('node_modules/@duckdb')) return 'duckdb'
1614
if (id.includes('node_modules/vue')) return 'vue'
1715
},
1816
},

0 commit comments

Comments
 (0)