Hi everyone, I am trying to animate the growth of some divs which I have positioned according to lon lat values on the map (like markers but more complex and more flexible for css manipulation). I want them to grow as a user zooms.
I want to animate them using css transitions but these transitions should not be applied on panning or dragging. I am therefore injecting the transition styles into the <head> before changing the size of my divs and then removing them again after. This works and performs well. The problem is that I am using the 'zoomend' event and this causes the animation to start AFTER the map (and all the 'marker' elements) have already moved. For the effect I want to achieve I need to be able to activate the transitions before the map moves so that the elements move smoothly appart. *So.... Why is there not a 'zoomstart' event? And seeing as there is no event triggered ONLY for the start of a zoom (movestart is triggered for pan and drag too) can you think of any way to trigger a function at this time?* Any help would be really appreciated :) -- Dean Fischer Co-founder at Maptia <http://www.maptia.com> Twitter @deanfisch <http://www.twitter.com/deanfisch> LinkedIn deanfischer<http://cl.linkedin.com/pub/dean-fischer/48/6a7/41b> Skype dkfischer1 You can follow Maptia here <http://www.facebook.com/maptia> <http://www.twitter.com/maptia>
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
