Skip to content

Commit

Permalink
Use organized map subpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed May 17, 2024
1 parent 6c62b7d commit 5e6cd7d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 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/src/AmenityLayer.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import { CircleLayer, hoverStateFilter } from "svelte-maplibre";
import { PropertiesTable, Popup, notNull } from "svelte-utils";
import { PropertiesTable, notNull } from "svelte-utils";
import { Popup } from "svelte-utils/map";
import type { Feature, Point } from "geojson";
export let hovered: Feature<Point> | null = null;
Expand Down
3 changes: 2 additions & 1 deletion web/src/App.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import "@picocss/pico/css/pico.jade.min.css";
import { Geocoder, notNull } from "svelte-utils";
import { notNull } from "svelte-utils";
import { Geocoder } from "svelte-utils/map";
import type { Map } from "maplibre-gl";
import { onMount } from "svelte";
import { FillLayer, GeoJSON, MapLibre } from "svelte-maplibre";
Expand Down
3 changes: 2 additions & 1 deletion web/src/DebugMode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
import SplitComponent from "./SplitComponent.svelte";
import AmenityList from "./AmenityList.svelte";
import AmenityLayer from "./AmenityLayer.svelte";
import { PropertiesTable, Popup, notNull } from "svelte-utils";
import { PropertiesTable, notNull } from "svelte-utils";
import { Popup } from "svelte-utils/map";
import { mode, backend, type TravelMode, filterForMode } from "./stores";
import { onMount } from "svelte";
import type { FeatureCollection } from "geojson";
Expand Down
10 changes: 2 additions & 8 deletions web/src/IsochroneMode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,8 @@
import SplitComponent from "./SplitComponent.svelte";
import { mode, backend, type TravelMode, filterForMode } from "./stores";
import { PickTravelMode } from "./common";
import {
SequentialLegend,
Popup,
makeColorRamp,
isLine,
isPolygon,
notNull,
} from "svelte-utils";
import { SequentialLegend, notNull } from "svelte-utils";
import { Popup, makeColorRamp, isLine, isPolygon } from "svelte-utils/map";
import { onMount } from "svelte";
let travelMode: TravelMode = "foot";
Expand Down

0 comments on commit 5e6cd7d

Please sign in to comment.