From 2b488e2b1aaf14b909b48a6700c5fdcf79a1bb6a Mon Sep 17 00:00:00 2001 From: huanglii Date: Thu, 26 Sep 2024 15:03:47 +0800 Subject: [PATCH] Update ModalSources.tsx --- src/components/ModalSources.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ModalSources.tsx b/src/components/ModalSources.tsx index 8de6e079..efc5d816 100644 --- a/src/components/ModalSources.tsx +++ b/src/components/ModalSources.tsx @@ -158,7 +158,7 @@ class AddSource extends React.Component { tiles: (source as RasterSourceSpecification).tiles || [`${protocol}//localhost:3000/{x}/{y}/{z}.pbf`], minzoom: (source as RasterSourceSpecification).minzoom || 0, maxzoom: (source as RasterSourceSpecification).maxzoom || 14, - scheme: (source as VectorSourceSpecification).scheme || 'xyz' + scheme: (source as RasterSourceSpecification).scheme || 'xyz' } case 'tilejson_raster-dem': return { type: 'raster-dem',