Skip to content

Commit

Permalink
Fix the resolution as it is in the CGXP demo
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner authored and Travis committed Apr 15, 2016
1 parent 072db84 commit cacdedb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion contribs/gmf/apps/desktop/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ app.DesktopController = function($scope, $injector) {
mapViewConfig: {
center: [632464, 185457],
minZoom: 3,
zoom: 3
zoom: 3,
resolutions: [20, 10, 5, 2, 1, 0.5, 0.25, 0.1, 0.05]
}
}, $scope, $injector);
};
Expand Down
4 changes: 3 additions & 1 deletion contribs/gmf/apps/mobile/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ app.MobileController = function($scope, $injector) {
mapViewConfig: {
center: [632464, 185457],
minZoom: 3,
zoom: 3
zoom: 3,
// resolutions: [250, 100, 50, 20, 10, 5, 2, 1, 0.5, 0.25, 0.1, 0.05]
resolutions: [20, 10, 5, 2, 1, 0.5, 0.25, 0.1, 0.05]
}
},
$scope, $injector);
Expand Down

0 comments on commit cacdedb

Please sign in to comment.