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