I believe the function you want is Map.panTo(). http://dev.openlayers.org/docs/files/OpenLayers/Map-js.html#OpenLayers.Map.panTo
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of jhpoosthoek Sent: Friday, July 08, 2011 3:33 PM To: [email protected] Subject: [OpenLayers-Users] Automatic smooth zoom Hi, I would like to zoom into a certain extent on an openlayers map after a click event. When I use map.SetCenter() the map is immediately changed into the new extent. What I want is to show an automatic animated zoom from the old extent to the new extent. Thanks in advance, Jelmer Oosthoek -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Automatic-smooth-zoom-tp6563855p6563855.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
