Ok Just had abit of a fiddle and i think I've fixed it.

Turns out if you pan by increments of only 0.1 instead of 0.3 it
animates just fine :)

Weird though

On 2 July, 16:39, ravenwill <[email protected]> wrote:
> Hey,
>
> So I've made some customised pan controls for the API in flash and I'm
> trying to get them to then pan in the direction of the arrows etc.
>
> Heres the code I'm using one for each arrow:
>
> function moveup (e:MouseEvent) {
>
>         map.panTo( new LatLng( map.getCenter().lat() + 0.3, map.getCenter
> ().lng() ));
>
>         }
>
> The wierd thing is witht he left and right panning it works fine, the
> map animates nicely and slides to the new position. However with the
> up and down arrows as shown above the map just jumps to the new
> position without animating??
>
> Anyone know why?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

  • PanTo ravenwill
    • Re: PanTo ravenwill

Reply via email to