Add raster XYZ and TileJSON options #57

This commit is contained in:
Lukas Martinelli
2017-01-08 18:04:30 +01:00
parent 7b24cbf39b
commit 7c3906fa40
2 changed files with 20 additions and 6 deletions

View File

@@ -99,8 +99,10 @@ class SourceTypeEditor extends React.Component {
}
switch(this.props.mode) {
case 'geojson': return <GeoJSONSourceEditor {...commonProps} />
case 'tilejson': return <TileJSONSourceEditor {...commonProps} />
case 'tilexyz': return <TileURLSourceEditor {...commonProps} />
case 'tilejson_vector': return <TileJSONSourceEditor {...commonProps} />
case 'tilexyz_vector': return <TileURLSourceEditor {...commonProps} />
case 'tilejson_raster': return <TileJSONSourceEditor {...commonProps} />
case 'tilexyz_raster': return <TileURLSourceEditor {...commonProps} />
default: return null
}
}