From 17821bff6c6bbbeedde1a11c862bad3f6e4bd186 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Mon, 8 Jul 2024 15:43:40 +0200 Subject: [PATCH] Move streetview highlighting into config --- README.md | 5 ++- src/lib/common/StreetViewTool.svelte | 5 +-- src/lib/config.ts | 5 ++- src/lib/maplibre/highlight_roads.ts | 57 ---------------------------- src/lib/maplibre/index.ts | 1 - src/routes/+page.svelte | 2 + 6 files changed, 12 insertions(+), 63 deletions(-) delete mode 100644 src/lib/maplibre/highlight_roads.ts diff --git a/README.md b/README.md index 2fd3b71..765669b 100644 --- a/README.md +++ b/README.md @@ -37,5 +37,8 @@ TODO: Document all of these - upgrade packages - consider renaming "intervention" and "scheme" - coverage polygons in InterventionLayer -- can we totally remove mapStyle from this library and let streetview tool use a config hook instead? - baselayer switcher at bottom of sidebar + +## Developer guide + +This is a fairly standard Sveltekit project. `src/lib` is the library meant for use by others, and `src/routes` is a demo site using it. `npm i`, then `npm run dev` to develop locally. diff --git a/src/lib/common/StreetViewTool.svelte b/src/lib/common/StreetViewTool.svelte index ec3cd81..fa7b9f1 100644 --- a/src/lib/common/StreetViewTool.svelte +++ b/src/lib/common/StreetViewTool.svelte @@ -1,13 +1,12 @@