You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/mapview.md
+1
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ To access event data, you will need to use `e.nativeEvent`. For example, `onPres
43
43
| `onMapReady` | | Callback that is called once the map is fully loaded.
44
44
| `onRegionChange` | `Region` | Callback that is called continuously when the region changes, such as when a user is dragging the map.
45
45
| `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"`.
46
47
| `onPress` | `{ coordinate: LatLng, position: Point }` | Callback that is called when user taps on the map.
47
48
| `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
48
49
| `onLongPress` | `{ coordinate: LatLng, position: Point }` | Callback that is called when user makes a "long press" somewhere on the map.
0 commit comments