diff --git a/wxbox-web/.env.example b/wxbox-web/.env.example new file mode 100644 index 0000000..e8a45c3 --- /dev/null +++ b/wxbox-web/.env.example @@ -0,0 +1,2 @@ +# Base url of your wxbox-tiler instance +PUBLIC_TILER_URL_BASE="" \ No newline at end of file diff --git a/wxbox-web/src/lib/Map.svelte b/wxbox-web/src/lib/Map.svelte deleted file mode 100644 index 65384b3..0000000 --- a/wxbox-web/src/lib/Map.svelte +++ /dev/null @@ -1,84 +0,0 @@ - - -
- - \ No newline at end of file diff --git a/wxbox-web/src/lib/index.ts b/wxbox-web/src/lib/index.ts deleted file mode 100644 index 856f2b6..0000000 --- a/wxbox-web/src/lib/index.ts +++ /dev/null @@ -1 +0,0 @@ -// place files you want to import through the `$lib` alias in this folder. diff --git a/wxbox-web/src/lib/map/Map.svelte b/wxbox-web/src/lib/map/Map.svelte new file mode 100644 index 0000000..dce82a7 --- /dev/null +++ b/wxbox-web/src/lib/map/Map.svelte @@ -0,0 +1,94 @@ + + + + + diff --git a/wxbox-web/src/lib/map/index.ts b/wxbox-web/src/lib/map/index.ts new file mode 100644 index 0000000..f619947 --- /dev/null +++ b/wxbox-web/src/lib/map/index.ts @@ -0,0 +1,2 @@ +// There is no good-looking three-pane view +export type View = 'one' | 'two' | 'four'; diff --git a/wxbox-web/src/lib/map/layer.ts b/wxbox-web/src/lib/map/layer.ts new file mode 100644 index 0000000..6c294d8 --- /dev/null +++ b/wxbox-web/src/lib/map/layer.ts @@ -0,0 +1,32 @@ +import { env } from '$env/dynamic/public'; + +export interface MutexLayerSet