mirror of
https://github.com/maputnik/editor.git
synced 2026-12-02 23:04:20 +00:00
Add raster XYZ and TileJSON options #57
This commit is contained in:
1 parent
7b24cbf39b
commit
7c3906fa40
2 files changed
+20
-6
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user