diff --git a/README.md b/README.md index 223b5ade..1db1dba1 100644 --- a/README.md +++ b/README.md @@ -304,6 +304,12 @@ You can also pass any other `props` you want with the ``. It will be p The marker component can also accept a child InfoMarker component for situations where there is only 1 marker and 1 infowindow. +```javascript + moveMarker(props, marker, e) { + console.log(e.latLng.lat(), e.latLng.lng()) // get the new coordinates after drag end + } +``` + ```javascript