Skip to content

Commit ed41693

Browse files
author
Spike Brehm
authored
Merge pull request react-native-maps#591 from Alastairm/patch-2
Updated Mapview onRegionChange events notes
2 parents adc6266 + 831160c commit ed41693

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/mapview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
| Event Name | Returns | Notes
3535
|---|---|---|
36-
| `onRegionChange` | `Region` | Fired when the map ends panning or zooming.
37-
| `onRegionChangeComplete` | `Region` | Fired when the map ends panning or zooming.
36+
| `onRegionChange` | `Region` | Callback that is called continuously when the user is dragging the map.
37+
| `onRegionChangeComplete` | `Region` | Callback that is called once, when the user is done moving the map.
3838
| `onPress` | `{ coordinate: LatLng, position: Point }` | Callback that is called when user taps on the map.
3939
| `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
4040
| `onLongPress` | `{ coordinate: LatLng, position: Point }` | Callback that is called when user makes a "long press" somewhere on the map.

0 commit comments

Comments
 (0)