Skip to content

Commit 831160c

Browse files
authored
Updated Mapview onRegionChange events notes
Clarified the difference between onRegionChange and onRegionChange notes for each match comments in MapView.js
1 parent a4399c0 commit 831160c

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
@@ -32,8 +32,8 @@
3232

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

0 commit comments

Comments
 (0)