Skip to content

Commit

Permalink
Make BoundaryLayer easier to use
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Jul 30, 2024
1 parent c8754a8 commit f283f7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/draw/BoundaryLayer.svelte
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<script lang="ts" generics="F, S">
<script lang="ts">
import mask from "@turf/mask";
import type {
Feature,
FeatureCollection,
MultiPolygon,
Polygon,
} from "geojson";
import { bbox, layerId } from "$lib/maplibre";
import { map, type Config } from "$lib/config";
import { bbox, layerId, type ConfigWithZorder } from "$lib/maplibre";
import { map } from "$lib/config";
import { getContext } from "svelte";
import { FillLayer, GeoJSON } from "svelte-maplibre";
export let cfg: Config<F, S>;
export let cfg: ConfigWithZorder;
export let boundaryGeojson:
| Feature<Polygon | MultiPolygon>
| FeatureCollection<Polygon | MultiPolygon>;
Expand Down

0 comments on commit f283f7f

Please sign in to comment.