Fix: Map refactoring missed "centering"
This commit is contained in:
parent
9e9202be8e
commit
3cbb65f66d
|
@ -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;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue