Skip to content

Commit

Permalink
Allow zooming in/out of 2d map.
Browse files Browse the repository at this point in the history
  • Loading branch information
richiecarmichael committed Jul 23, 2015
1 parent 75c2c59 commit 8423f97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,6 @@
top: 37px;
}

#forward-map, #left-map, #right-map, #middle-map {
#forward-map, #left-map, #right-map {
pointer-events: none;
}
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function (
var viewMain = new MapView({
container: 'map',
map: map,
zoom: 10,
zoom: 12,
rotation: 0,
center: location
});
Expand Down Expand Up @@ -78,7 +78,7 @@ function (
}
});

viewMain.ui.components = ['compass'];
viewMain.ui.components = ['compass', 'zoom'];
viewForward.ui.components = [];
viewLeft.ui.components = [];
viewRight.ui.components = [];
Expand Down

0 comments on commit 8423f97

Please sign in to comment.