diff --git a/src/components/ModalSources.jsx b/src/components/ModalSources.jsx index d6c1e78..022c47d 100644 --- a/src/components/ModalSources.jsx +++ b/src/components/ModalSources.jsx @@ -128,7 +128,6 @@ class AddSource extends React.Component { } case 'geojson_json': return { type: 'geojson', - cluster: source.cluster || false, data: {} } case 'tilejson_vector': return { diff --git a/src/components/ModalSourcesTypeEditor.jsx b/src/components/ModalSourcesTypeEditor.jsx index ba6ebf1..4b77f40 100644 --- a/src/components/ModalSourcesTypeEditor.jsx +++ b/src/components/ModalSourcesTypeEditor.jsx @@ -8,7 +8,6 @@ import FieldSelect from './FieldSelect' import FieldDynamicArray from './FieldDynamicArray' import FieldArray from './FieldArray' import FieldJson from './FieldJson' -import FieldCheckbox from './FieldCheckbox' class TileJSONSourceEditor extends React.Component { @@ -81,7 +80,7 @@ class TileURLSourceEditor extends React.Component { })} /> {this.props.children} - + } } @@ -206,35 +205,23 @@ class GeoJSONSourceFieldJsonEditor extends React.Component { } render() { - return