From 3774caac8116903dc837495ff58873a5aed01a38 Mon Sep 17 00:00:00 2001 From: Eric Theise Date: Wed, 19 Jun 2024 17:26:05 -0700 Subject: [PATCH] In progress commit. --- js/ide.ts | 7 ++++--- js/nominatim.ts | 4 ++-- js/popup.ts | 18 +++++++++--------- package.json | 5 +++-- 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/js/ide.ts b/js/ide.ts index 1c11ca05..0d9ca436 100644 --- a/js/ide.ts +++ b/js/ide.ts @@ -493,8 +493,9 @@ class IDE { ide.attribControl = new L.Control.Attribution({prefix: false}); ide.attribControl.addAttribution(tilesAttrib); const pos = new L.LatLng(settings.coords_lat, settings.coords_lon); - ide.map.setView(pos, settings.coords_zoom).addLayer(tiles); - ide.map.tile_layer = tiles; + ide.map.setView(pos, settings.coords_zoom); + // .addLayer(tiles); + // ide.map.tile_layer = tiles; // OHM: add vector layer ide.map.createPane("ohm_vectortiles"); @@ -1671,7 +1672,7 @@ class IDE { .bind("click", () => { const content = `

${i18n.t("export.map_view.permalink")}

` + - `

Node` + - ` ${feature.properties.id}` + - ` ` + + ` ${feature.properties.id}` + + ` ` + ``; else if (feature.properties.type == "way") popup += `

Way` + - ` ${feature.properties.id}` + - ` ` + + ` ${feature.properties.id}` + + ` ` + `

`; else if (feature.properties.type == "relation") popup += `

Relation` + - ` ${feature.properties.id}` + - ` ` + + ` ${feature.properties.id}` + + ` ` + `

`; else popup += `
${feature.properties.type} #${feature.properties.id}
`; @@ -115,7 +115,7 @@ export function featurePopupContent(feature: GeoJSON.Feature) { } popup += ""; diff --git a/package.json b/package.json index f822b63d..b2063b0e 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "overpass-turbo", - "description": "A web based data mining tool for OpenStreetMap using Overpass API", + "version": "2.0.1", + "description": "A web based data mining tool for OpenHistoricalMap using Overpass API", "homepage": "http://overpass-turbo.eu/", - "repository": "git+https://github.com/tyrasd/overpass-turbo.git", + "repository": "git+https://github.com/OpenHistoricalMap/overpass-turbo.git", "license": "MIT", "scripts": { "test": "yarn run test:eslint && yarn run test:style && yarn run test:vitest",