dylanfprice / angular-gm

AngularJS Google Maps Directives
MIT License
198 stars 47 forks source link

animation marker ?? #32

Closed rahulchavan30 closed 10 years ago

rahulchavan30 commented 10 years ago

i have written <gm-markers gm-objects="volcanoes" gm-get-lat-lng="{ lat: object.location.lat, lng: object.location.lng }" gm-get-marker-options="{ title: object.name,animation:BOUNCE }" gm-on-click="selectedVolcano = object; infoWindow.open(marker.getMap(), marker);">

but the marker never animates what am i missing , 2) the other problem i am facing is sometime on the refresh all the marker disappear and that time i need to refresh some 2-3 times to get the markers. 3)i need to add bounds all my latitude and longitude is coming from the json file how do i set bounds in such situation and i need to update the center of the map .

what i am missing please help

dylanfprice commented 10 years ago

It needs to be google.maps.Animation.BOUNCE.