Skip to content

Commit

Permalink
Fix "zoom" camera update
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Jan 26, 2017
1 parent 8bb6464 commit 46a54fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ cameraUpdate.zoomOut();
```
- [x] **zoom**
```js
cameraUpdate.zoom(4 /* optional, skip argument when not used */, {
// The second parameter is optional
cameraUpdate.zoom(4, {
x: 100,
y: 100
});
Expand Down
1 change: 0 additions & 1 deletion ios/Classes/TiGooglemapsCameraUpdateProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ - (void)zoomOut:(id)unused
- (void)zoom:(id)args
{
ENSURE_UI_THREAD(zoom, args);
ENSURE_SINGLE_ARG(args, NSDictionary);

id value = [args objectAtIndex:0];
id point = nil;
Expand Down

0 comments on commit 46a54fc

Please sign in to comment.