Fix: Map refactoring missed "centering"
This commit is contained in:
parent
9e9202be8e
commit
3cbb65f66d
1 changed files with 3 additions and 3 deletions
|
@ -190,9 +190,9 @@ angular.module('ffffng')
|
|||
|
||||
$scope.updateMap($scope.node.coords);
|
||||
withValidCoords($scope.node.coords, function (lat, lng) {
|
||||
$scope.center.lat = lat;
|
||||
$scope.center.lng = lng;
|
||||
$scope.center.zoom = 12;
|
||||
$scope.map.center.lat = lat;
|
||||
$scope.map.center.lng = lng;
|
||||
$scope.map.center.zoom = 12;
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue