Rename onRegionChange to onRegionDidChange

This commit is contained in:
Marius Petcu
2016-07-02 19:13:10 +03:00
parent 5f0145f762
commit c64e55b586
8 changed files with 15 additions and 15 deletions
@@ -411,7 +411,7 @@ public class ReactNativeMapboxGLView extends RelativeLayout implements
break;
case MapView.REGION_DID_CHANGE:
case MapView.REGION_DID_CHANGE_ANIMATED:
emitEvent("onRegionChange", serializeCurrentRegion());
emitEvent("onRegionDidChange", serializeCurrentRegion());
break;
case MapView.WILL_START_LOADING_MAP:
emitEvent("onStartLoadingMap", null);