angularjs-google-maps
angularjs-google-maps copied to clipboard
marker current position draw marker problem
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.
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: