mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-29 06:40:25 +01:00
Fixed typo raster -> raster-dem
This commit is contained in:
parent
8acbd784a0
commit
180b17d315
1 changed files with 2 additions and 2 deletions
|
@ -132,11 +132,11 @@ class AddSource extends React.Component {
|
||||||
maxzoom: source.maxzoom || 14
|
maxzoom: source.maxzoom || 14
|
||||||
}
|
}
|
||||||
case 'tilejson_raster-dem': return {
|
case 'tilejson_raster-dem': return {
|
||||||
type: 'raster',
|
type: 'raster-dem',
|
||||||
url: source.url || 'http://localhost:3000/tilejson.json'
|
url: source.url || 'http://localhost:3000/tilejson.json'
|
||||||
}
|
}
|
||||||
case 'tilexyz_raster-dem': return {
|
case 'tilexyz_raster-dem': return {
|
||||||
type: 'raster',
|
type: 'raster-dem',
|
||||||
tiles: source.tiles || ['http://localhost:3000/{x}/{y}/{z}.pbf'],
|
tiles: source.tiles || ['http://localhost:3000/{x}/{y}/{z}.pbf'],
|
||||||
minzoom: source.minzoom || 0,
|
minzoom: source.minzoom || 0,
|
||||||
maxzoom: source.maxzoom || 14
|
maxzoom: source.maxzoom || 14
|
||||||
|
|
Loading…
Reference in a new issue