Skip to content

Instantly share code, notes, and snippets.

@ChrisLowe-Takor
Last active December 6, 2018 05:32
Show Gist options
  • Save ChrisLowe-Takor/21db0750fe59d5dd60b242b0fdbbc266 to your computer and use it in GitHub Desktop.
Save ChrisLowe-Takor/21db0750fe59d5dd60b242b0fdbbc266 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react'
import LeafletEditableCircle from './leaflet-editable-circle';
export default class ReactLeafletEditableCircle extends Component {
render() {
return (
<LeafletEditableCircle
center={this.props.center}
radius={this.props.radius}
onPositionChange={(latlng) => {this.props.onPositionChange(latlng) }}
/>
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment