Skip to content

Commit

Permalink
fixed missing properties on raster dem source
Browse files Browse the repository at this point in the history
  • Loading branch information
razorness committed Feb 12, 2024
1 parent 8b7fc39 commit df9792e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/lib/components/sources/rasterDem.source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ const sourceOpts = AllSourceOptions<RasterDEMSourceSpecification>({
tileSize : undefined,
attribution: undefined,
encoding : undefined,
volatile : undefined
volatile : undefined,
redFactor : undefined,
blueFactor : undefined,
greenFactor: undefined,
baseShift : undefined
});


Expand All @@ -33,7 +37,12 @@ export default /*#__PURE__*/ defineComponent({
tileSize : Number as PropType<number>,
attribution: String as PropType<string>,
encoding : String as PropType<'terrarium' | 'mapbox'>,
volatile : Boolean
volatile : Boolean,
redFactor : Number as PropType<number>,
blueFactor : Number as PropType<number>,
greenFactor: Number as PropType<number>,
baseShift : Number as PropType<number>

},
slots: Object as SlotsType<{ default: {} }>,
setup(props, { slots }) {
Expand Down

0 comments on commit df9792e

Please sign in to comment.