angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

Center property of map doesn't change while dragging?

Open Rex90 opened this issue 9 years ago • 3 comments

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 }

Rex90 avatar Mar 02 '16 15:03 Rex90

http://stackoverflow.com/questions/35750750/angular-google-maps-drag-event-doesnt-capture-center-change-until-end Just adding this in case needed

Rex90 avatar Mar 14 '16 08:03 Rex90

+1

kashifsulaiman avatar May 06 '17 10:05 kashifsulaiman

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...

francisberesford avatar Jul 05 '17 09:07 francisberesford