Skip to content

Commit

Permalink
Add scrollEnabled & zoomEnabled properties/methods
Browse files Browse the repository at this point in the history
  • Loading branch information
designbymind authored Apr 7, 2018
1 parent ad972a7 commit e8d3260
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ios/Classes/TiMapView.m
Original file line number Diff line number Diff line change
Expand Up @@ -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(^{
Expand Down

0 comments on commit e8d3260

Please sign in to comment.