Center property of map doesn't change while dragging?
Is this expected behaviour? I can successfully capture the drag event but the center property of the map doesn't change until i stop dragging?
$scope.map = { center: $scope.currentCoords, zoom: 15, events: {drag: function(m, e, args){mapDragged(m, e, args)}} };
var mapDragged = function(map, eventName, args){ console.log($scope.map.center); // this value only changes when dragging stops and restarts }
http://stackoverflow.com/questions/35750750/angular-google-maps-drag-event-doesnt-capture-center-change-until-end Just adding this in case needed
+1
I'm guessing this is because how the google maps API works... I'm using the Google maps API directly (not with angular) and having the same problem. Found this bug report while looking for a solution...