[MOD-2343] Android: Ti.Map - Expose "regionwillchange" event (Parity with iOS)
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | n/a |
| Status | In Review |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Map |
| Labels | android, ti.map |
| Reporter | Luc-Edmond Gaspard |
| Assignee | Gary Mathews |
| Created | 2017-07-04T14:54:42.000+0000 |
| Updated | 2017-07-06T11:49:01.000+0000 |
Description
PR for ti.map
Uses OnCameraMoveStartedListener and GoogleMap.OnCameraIdleListener instead of the deprecated OnCameraChangeListener.
Fires the
regionwillchange event like the ios module.
regionwillchange has the reason property stating why the camera moved.
https://github.com/appcelerator-modules/ti.map/pull/207