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

marker current position draw marker problem

Open jarekskuder opened this issue 7 years ago • 1 comments

Sometimes marker that has position="current-location" draws in Africa, i think in [0,0] coords, because it's a middle (attach screenshots). Don't know why, does anybody had same problem?

I see that when map loads, it is always in that place, but after some time (about 1-2s) it draws in current position, but sometimes, it stays in that place.

screenshot_20170710-145305

jarekskuder avatar Jul 10 '17 11:07 jarekskuder

No I never get that problem. I'm using {{location}} for bind the position of the marker instead of using current-location.

I set the $scope.location in my controller to the address or coords. Peace :v:

waggyman avatar Jul 10 '17 15:07 waggyman