As far as I am aware it is not currently in the flash maps API, hopefully it will be added in their next roll out, however, I can tell you how to do a version of it (it won't be identical). Iteratively, whether in a timer or enterframe event you will want to use this formula.
MapLocationLat += (endLat - MapLocationLat) * friction MapLocationLng += (endLng - MapLocationLng) * friction Friction needs to be a value between 0-1, where 1 is instant snap, the closer you get to 0, the slower it will move. You will also need to add an if statement for ending the slide, otherwise it will go on indefinitely. The end Lat and Lng will be determined with your mouse movement. This is something you're just going to have to experiment with, but it will be a combination of speed, angle, and length. If it doesn't get added with the next update, and you don't get it figured out, I will see if I can come up with a simple class for you to accomplish this. Good Luck, Jonathan Scribblemaps.com On Jun 8, 5:42 am, "Steve O'Brien" <[email protected]> wrote: > I should add that the reason I ask is this feature was added to google > maps at the end of April: > > http://googlesystem.blogspot.com/2010/04/google-maps-adds-kinetic-scr... > > On Jun 7, 7:54 pm, "Steve O'Brien" <[email protected]> wrote: > > > > > Hi > > > Is it possible to achieve the smooth fluid scrolling effect (aka > > kinetic scrolling) through the flash api ? > > > Thanks > > Steve -- 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.
