Skip to content

Navigation Menu

Sign in
Appearance settings

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 c8dc31d

Browse filesBrowse files
authored
added drag end example function closes #487
1 parent 5038ac4 commit c8dc31d
Copy full SHA for c8dc31d

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.