This repository was archived by the owner on Nov 30, 2018. It is now read-only.

Description
The Refreshing is not working:
app.controller('FoobarController', function($scope, $http) {
$scope.info = '';
$scope.map = {
id: 0,
zoom: 8
control: {
},
};
$scope.foobar = function(data){
$http.post('/get/foobar', data)
.success(function(data, status, headers, config) {
// correct lat-lng returned
$scope.map.control.refresh({latitude: data.latitude, longitude: data.longitude});
// and is there a way I can change the zoom also?
});
};
}
<ui-gmap-google-map center="map.center" zoom="map.zoom" dorebuildall="true" control="map.control"></ui-gmap-google-map>
What am I missing? Where can I find good docs/examples for this?