[OpenLayers-Users] google maps-like zooming

Nicholas Bergson-Shilcock nicholasbs at openplans.org
Thu Jun 4 17:49:51 EDT 2009


Excerpts from Alessandro Ferrucci's message of Thu Jun 04 17:28:49 -0400 2009:
> Hello,
> 
> I would like to provide google maps-like zooming where when you zoom in the
> current rendered image is simply "zoomed into" and then the map at the new
> zoom level is rendered.  Is this possible in OpenLayers?

Yes, set transitionEffect to 'resize':

http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files/OpenLayers/Layer-js.html#OpenLayers.Layer.transitionEffect

-Nick

> 
> Thank you so much,
> 



More information about the Users mailing list