Skip to content

Commit

Permalink
Move out some common code
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Apr 26, 2024
1 parent a00bb5d commit 115b332
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 49 deletions.
10 changes: 9 additions & 1 deletion web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"@turf/along": "^6.5.0",
"maplibre-draw-polygon": "github:dabreegster/maplibre-draw-polygon",
"route-snapper": "^0.4.0",
"svelte-maplibre": "^0.8.3"
"svelte-maplibre": "^0.8.3",
"svelte-utils": "github:a-b-street/svelte-utils"
}
}
3 changes: 2 additions & 1 deletion web/src/DebugMode.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<script lang="ts">
import BackButton from "./BackButton.svelte";
import { CircleLayer, GeoJSON, LineLayer } from "svelte-maplibre";
import { Link, layerId, notNull, PropertiesTable, Popup } from "./common";
import { Link, layerId, notNull, Popup } from "./common";
import { PropertiesTable } from "svelte-utils";
import RenderNeighbourhood from "./RenderNeighbourhood.svelte";
import SplitComponent from "./SplitComponent.svelte";
import { app, mode } from "./stores";
Expand Down
24 changes: 0 additions & 24 deletions web/src/common/Legend.svelte

This file was deleted.

20 changes: 0 additions & 20 deletions web/src/common/PropertiesTable.svelte

This file was deleted.

2 changes: 0 additions & 2 deletions web/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ export { default as BasemapPicker } from "./BasemapPicker.svelte";
export { default as DisableInteractiveLayers } from "./DisableInteractiveLayers.svelte";
export { default as Geocoder } from "./Geocoder.svelte";
export { default as Layout } from "./Layout.svelte";
export { default as Legend } from "./Legend.svelte";
export { default as Link } from "./Link.svelte";
export { default as Loading } from "./Loading.svelte";
export { default as Modal } from "./Modal.svelte";
export { default as OverpassSelector } from "./OverpassSelector.svelte";
export { default as Popup } from "./Popup.svelte";
export { default as PropertiesTable } from "./PropertiesTable.svelte";
export { default as StreetView } from "./StreetView.svelte";
export { layerId } from "./zorder";

Expand Down

0 comments on commit 115b332

Please sign in to comment.