Skip to content

Commit

Permalink
Update ModalSources.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
huanglii committed Sep 26, 2024
1 parent 84bb3c9 commit 2b488e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ModalSources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class AddSource extends React.Component<AddSourceProps, AddSourceState> {
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',
Expand Down

0 comments on commit 2b488e2

Please sign in to comment.