Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a9f38f4

Browse filesBrowse files
authored
Merge pull request #492 from YaakovHatam/patch-1
added drag end example function closes #487
2 parents 84da846 + c8dc31d commit a9f38f4
Copy full SHA for a9f38f4

File tree

1 file changed

+6
-0
lines changed
Filter options

1 file changed

+6
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,12 @@ You can also pass any other `props` you want with the `<Marker />`. It will be p
304304

305305
The marker component can also accept a child InfoMarker component for situations where there is only 1 marker and 1 infowindow.
306306

307+
```javascript
308+
moveMarker(props, marker, e) {
309+
console.log(e.latLng.lat(), e.latLng.lng()) // get the new coordinates after drag end
310+
}
311+
```
312+
307313
```javascript
308314
<Marker
309315
title="Location"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.