From 180b17d3153f0a5ddaa513d27c3dae320d501304 Mon Sep 17 00:00:00 2001 From: orangemug Date: Fri, 16 Feb 2018 20:34:50 +0000 Subject: [PATCH] Fixed typo raster -> raster-dem --- src/components/modals/SourcesModal.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/modals/SourcesModal.jsx b/src/components/modals/SourcesModal.jsx index 0a2e1c2..c1868e7 100644 --- a/src/components/modals/SourcesModal.jsx +++ b/src/components/modals/SourcesModal.jsx @@ -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