Hi, so this is what I currently got. http://paste.org/41978 I can't seem to see Tweening working between pinpoints... Any advise would be much appreciated. The map shouldn't move and just pinpoints should move... Takako
________________________________ From: Casper Span [mailto:[email protected]] Sent: 07 December 2011 10:38 To: Takako Tucker Cc: Adam Eskreis; [email protected] Subject: Re: [OpenLayers-Users] Tweening pinpoints I dabbled a bit with this a few weeks ago and posted a small blog on it... Maybe it helps. http://www.spatially-oriented.com/joomla/tech/34-gis-articles/59-animate d-zoom-with-openlayers On Wed, Dec 7, 2011 at 10:55 AM, Takako Tucker <[email protected]> wrote: 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:[email protected]] Sent: 06 December 2011 18:03 To: Takako Tucker Cc: [email protected] 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 <[email protected]> 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 [email protected] 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. _______________________________________________ Users mailing list [email protected] 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. 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 [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
