From df9792ef1f6b77467c24664ac53d945a27d421e3 Mon Sep 17 00:00:00 2001 From: razorness <684302+razorness@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:07:32 +0100 Subject: [PATCH] fixed missing properties on raster dem source --- src/lib/components/sources/rasterDem.source.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/lib/components/sources/rasterDem.source.ts b/src/lib/components/sources/rasterDem.source.ts index 64d2f49..1e256e7 100644 --- a/src/lib/components/sources/rasterDem.source.ts +++ b/src/lib/components/sources/rasterDem.source.ts @@ -14,7 +14,11 @@ const sourceOpts = AllSourceOptions({ tileSize : undefined, attribution: undefined, encoding : undefined, - volatile : undefined + volatile : undefined, + redFactor : undefined, + blueFactor : undefined, + greenFactor: undefined, + baseShift : undefined }); @@ -33,7 +37,12 @@ export default /*#__PURE__*/ defineComponent({ tileSize : Number as PropType, attribution: String as PropType, encoding : String as PropType<'terrarium' | 'mapbox'>, - volatile : Boolean + volatile : Boolean, + redFactor : Number as PropType, + blueFactor : Number as PropType, + greenFactor: Number as PropType, + baseShift : Number as PropType + }, slots: Object as SlotsType<{ default: {} }>, setup(props, { slots }) {