[OpenLayers-Users] Tween Example

Eric Lemoine eric.lemoine at camptocamp.com
Tue Nov 3 12:49:36 EST 2009


On Tuesday, November 3, 2009, Fubarred <joost at shaw.ca> wrote:
>
> Thanks Eric,
>
> I don't think that Tween is going to provide me with what I need. Perhaps
> you can guide me in the right direction. Basically, I was the same smooth
> transition that comes with panTo for zoomToExtent. Is there an easy way to
> do this?

panTo and pan just move the map without changing the zoom level.
zoomToExtent can potentially change the zoom level, and, to my
knowledge, OpenLayers provides no tween-type transition for that case.

> Also, is there a way to fade tiles in as opposed just having them pop up
> unexpectedly?

I'm not sure this is fade in but have you looked at the
transitionEffect layer option? See the transition.html example.

cheers,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list