Skip to content

Commit 50ab0e0

Browse files
committed
Update MapView.md with onMyLocationChange event
1 parent 1dc7b54 commit 50ab0e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/mapview.md

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ To access event data, you will need to use `e.nativeEvent`. For example, `onPres
4343
| `onMapReady` | | Callback that is called once the map is fully loaded.
4444
| `onRegionChange` | `Region` | Callback that is called continuously when the region changes, such as when a user is dragging the map.
4545
| `onRegionChangeComplete` | `Region` | Callback that is called once when the region changes, such as when the user is done moving the map.
46+
| `onMyLocationChange` | `{ coordinate: LatLng }` | Callback that is called when the underlying map figures our users current location. Make sure **showsUserLocation** is set to *true* and that the provider is `"google"`.
4647
| `onPress` | `{ coordinate: LatLng, position: Point }` | Callback that is called when user taps on the map.
4748
| `onPanDrag` | `{ coordinate: LatLng, position: Point }` | Callback that is called when user presses and drags the map. **NOTE**: for iOS `scrollEnabled` should be set to false to trigger the event
4849
| `onLongPress` | `{ coordinate: LatLng, position: Point }` | Callback that is called when user makes a "long press" somewhere on the map.

0 commit comments

Comments
 (0)