Fix: Map refactoring missed "centering"

This commit is contained in:
baldo 2016-05-24 19:53:12 +02:00
parent 9e9202be8e
commit 3cbb65f66d

View file

@ -190,9 +190,9 @@ angular.module('ffffng')
$scope.updateMap($scope.node.coords); $scope.updateMap($scope.node.coords);
withValidCoords($scope.node.coords, function (lat, lng) { withValidCoords($scope.node.coords, function (lat, lng) {
$scope.center.lat = lat; $scope.map.center.lat = lat;
$scope.center.lng = lng; $scope.map.center.lng = lng;
$scope.center.zoom = 12; $scope.map.center.zoom = 12;
}); });
}; };