Tween Example

4 messages Options
Embed this post
Permalink
Fubarred

Tween Example

Reply Threaded More More options
Print post
Permalink
Does someone have an example of how to use tween??? Thank you in advance!
Eric Lemoine-2-2

Re: Tween Example

Reply Threaded More More options
Print post
Permalink
On Monday, November 2, 2009, jvanulden <[hidden email]> wrote:
>
> Does someone have an example of how to use tween??? Thank you in advance!


there's a manual test in the OpenLayers code base that you may find
useful: tests/manual/tween.html

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 : [hidden email]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/users
Fubarred

Re: Tween Example

Reply Threaded More More options
Print post
Permalink
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?

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

Thank you in advance!

Eric Lemoine-2-2 wrote:
On Monday, November 2, 2009, jvanulden <joost@shaw.ca> wrote:
>
> Does someone have an example of how to use tween??? Thank you in advance!


there's a manual test in the OpenLayers code base that you may find
useful: tests/manual/tween.html

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@camptocamp.com
http://www.camptocamp.com
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Eric Lemoine-2-2

Re: Tween Example

Reply Threaded More More options
Print post
Permalink
On Tuesday, November 3, 2009, Fubarred <[hidden email]> 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 : [hidden email]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/users