console.log(JSON.stringify(geoJSON,null,4));// makes the output readable in the console
...
...
@@ -86,7 +76,7 @@ class DrawTools extends Component {
// "It's important to wrap EditControl component into FeatureGroup component from react-leaflet. The elements you draw will be added to this FeatureGroup layer, when you hit edit button only items in this layer will be edited."
<FeatureGroup>
<EditControl
position='topright'
position='topright'
onCreated={this._onCreated}
draw={{
circle:{
...
...
@@ -119,7 +109,7 @@ class DrawTools extends Component {