Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDocumentation should describe the parameters passed to Marker.onDragend #487
Comments
|
Hope it will help you: (it worked for me) <Marker
onDragend={this.moveMarker.bind(marker)}
</Marker> moveMarker(props, marker, e) {
console.log(e.latLng.lat(), e.latLng.lng()) // get the new coordinates after drag end
} |
Documentation should describe the parameters passed to Marker.onDragend.
The handler gets 3 complex objects, and its not easy to figure-out what they are.