From c8dc31d5b88f0ac3c86e253b59e6f108dd619683 Mon Sep 17 00:00:00 2001 From: yaakov hatam Date: Mon, 2 Nov 2020 11:53:58 +0200 Subject: [PATCH] added drag end example function closes #487 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy