easey.map(map) .to(map.pointCoordinate(MM.getMousePoint(e, map)).zoomTo(z)) .path('about').time(100).run();
WTF is this? Easey is a library for map animation. It works with Modest Maps. You can specify
from locations, and easey will move between them in various nice ways - sweeping animations with varying speed. Check the website for examples, and read the source if you want the real story. It's short and aims to be pretty accessible.
Easey also provides handlers so that you can get inertial scrolling and smooth zooming in Modest Maps:
[ new easey.DragHandler(), new easey.MouseWheelHandler(), new easey.DoubleClickHandler() ]
These are provided to a Modest Maps map object as the handlers argument:
map = new com.modestmaps.Map('map-div', layer, null, [ easey.DragHandler(), easey.TouchHandler(), easey.MouseWheelHandler(), easey.DoubleClickHandler() ]);
easey.slow()for nearly everything. Now it's splitting up that api into simple getter/setter functions.
Last edited by tmcw,