Chore: move RasterLayerProperties into separate file in order for the schema generator to work

This commit is contained in:
Pieter Vander Vennet 2023-04-21 16:19:36 +02:00
parent 498b2bb8d6
commit e4e99c0b0a
11 changed files with 59342 additions and 1626 deletions

View file

@ -6,8 +6,8 @@ import { onDestroy } from "svelte";
import { UIEventSource } from "../../Logic/UIEventSource";
import Tr from "../Base/Tr.svelte";
import Translations from "../i18n/Translations";
import type { RasterLayerProperties } from "../../Models/RasterLayers";
import { Translation } from "../i18n/Translation";
import { RasterLayerProperties } from "../../Models/RasterLayerProperties";
export let layerproperties : RasterLayerProperties
export let state: {isDisplayed: UIEventSource<boolean>};

View file

@ -1,13 +1,14 @@
import { Store, UIEventSource } from "../../Logic/UIEventSource"
import type { Map as MLMap } from "maplibre-gl"
import { Map as MlMap, SourceSpecification } from "maplibre-gl"
import { RasterLayerPolygon, RasterLayerProperties } from "../../Models/RasterLayers"
import { RasterLayerPolygon } from "../../Models/RasterLayers"
import { Utils } from "../../Utils"
import { BBox } from "../../Logic/BBox"
import { ExportableMap, MapProperties } from "../../Models/MapProperties"
import SvelteUIElement from "../Base/SvelteUIElement"
import MaplibreMap from "./MaplibreMap.svelte"
import html2canvas from "html2canvas"
import { RasterLayerProperties } from "../../Models/RasterLayerProperties"
/**
* The 'MapLibreAdaptor' bridges 'MapLibre' with the various properties of the `MapProperties`

View file

@ -1,8 +1,8 @@
import { RasterLayerProperties } from "../../Models/RasterLayers"
import { Store, UIEventSource } from "../../Logic/UIEventSource"
import { Map as MlMap } from "maplibre-gl"
import { Utils } from "../../Utils"
import { MapLibreAdaptor } from "./MapLibreAdaptor"
import { RasterLayerProperties } from "../../Models/RasterLayerProperties"
export default class ShowOverlayRasterLayer {
private readonly _map: UIEventSource<MlMap>