Fixed typo raster -> raster-dem

This commit is contained in:
orangemug 2018-02-16 20:34:50 +00:00
parent 8acbd784a0
commit 180b17d315

View file

@ -132,11 +132,11 @@ class AddSource extends React.Component {
maxzoom: source.maxzoom || 14
}
case 'tilejson_raster-dem': return {
type: 'raster',
type: 'raster-dem',
url: source.url || 'http://localhost:3000/tilejson.json'
}
case 'tilexyz_raster-dem': return {
type: 'raster',
type: 'raster-dem',
tiles: source.tiles || ['http://localhost:3000/{x}/{y}/{z}.pbf'],
minzoom: source.minzoom || 0,
maxzoom: source.maxzoom || 14