diff --git a/src/components/ModalSources.tsx b/src/components/ModalSources.tsx index 60a6f850..eabb5a8b 100644 --- a/src/components/ModalSources.tsx +++ b/src/components/ModalSources.tsx @@ -155,7 +155,7 @@ class AddSource extends React.Component { } case 'tile_raster': return { type: 'raster', - tiles: (source as RasterSourceSpecification).tiles || [`${protocol}//localhost:3000/{x}/{y}/{z}.pbf`], + tiles: (source as RasterSourceSpecification).tiles || [`${protocol}//localhost:3000/{x}/{y}/{z}.png`], minzoom: (source as RasterSourceSpecification).minzoom || 0, maxzoom: (source as RasterSourceSpecification).maxzoom || 14, scheme: (source as RasterSourceSpecification).scheme || 'xyz', @@ -167,7 +167,7 @@ class AddSource extends React.Component { } case 'tilexyz_raster-dem': return { type: 'raster-dem', - tiles: (source as RasterDEMSourceSpecification).tiles || [`${protocol}//localhost:3000/{x}/{y}/{z}.pbf`], + tiles: (source as RasterDEMSourceSpecification).tiles || [`${protocol}//localhost:3000/{x}/{y}/{z}.png`], minzoom: (source as RasterDEMSourceSpecification).minzoom || 0, maxzoom: (source as RasterDEMSourceSpecification).maxzoom || 14, tileSize: (source as RasterDEMSourceSpecification).tileSize || 512