diff --git a/ios/Classes/TiMapView.m b/ios/Classes/TiMapView.m index e2793ef1..6e16d0c4 100644 --- a/ios/Classes/TiMapView.m +++ b/ios/Classes/TiMapView.m @@ -706,6 +706,22 @@ - (void)setRotateEnabled_:(id)value YES); } +- (void)setScrollEnabled_:(id)value +{ + TiThreadPerformOnMainThread(^{ + [self map].scrollEnabled = [TiUtils boolValue:value]; + }, + YES); +} + +- (void)setZoomEnabled_:(id)value +{ + TiThreadPerformOnMainThread(^{ + [self map].zoomEnabled = [TiUtils boolValue:value]; + }, + YES); +} + - (void)setShowsBuildings_:(id)value { TiThreadPerformOnMainThread(^{