[OpenLayers-Users] Tweening pinpoints

Takako Tucker Takako.Tucker at bbc.co.uk
Wed Dec 7 04:55:24 EST 2011


Thanks for this! I had a look at .Tween, but as it reacts to DOM
elements I couldn't be sure if it works with Lon Lat (X.Y) figure. 
I'll try again later on though. 

________________________________

From: Adam Eskreis [mailto:aeskreis at gmail.com] 
Sent: 06 December 2011 18:03
To: Takako Tucker
Cc: openlayers-users at lists.osgeo.org
Subject: Re: [OpenLayers-Users] Tweening pinpoints


There is an OpenLayers.Tween class I believe.

Also, this is something that could easily be done iwth just regular
javascript.  Don't forget, OpenLayers is comprised of DOM elements, so
you can manipulate the map with regular javascript, you don't have to
use an OpenLayers construct.


On Tue, Dec 6, 2011 at 12:33 PM, Takako Tucker <Takako.Tucker at bbc.co.uk>
wrote:


	

	Hello, 

	I'm currently using OpenLayers.Control.DragFeature to move
pinpoint from one place to another. 

	        var dragFeature = new
OpenLayers.Control.DragFeature(location); 
	                         map.addControl(dragFeature); 
	                         dragFeature.activate(); 


	But not only moving pinpoints, I need to add tween animation. 

	Has anyone done tween animation for moving pinpoints? 

	Any advise would be much appreciated! 

	Thanks 

	Takako 

	 

	http://www.bbc.co.uk
	This e-mail (and any attachments) is confidential and may
contain personal views which are not the views of the BBC unless
specifically stated.
	If you have received it in error, please delete it from your
system.
	Do not use, copy or disclose the information in any way nor act
in reliance on it and notify the sender immediately.
	Please note that the BBC monitors e-mails sent or received.
	Further communication will signify your consent to this. 

	_______________________________________________
	Users mailing list
	Users at lists.osgeo.org
	http://lists.osgeo.org/mailman/listinfo/openlayers-users
	
	



http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111207/db477aa3/attachment-0001.html


More information about the Users mailing list