[OpenLayers-Users] Tweening pinpoints
Casper Span
info at spatially-oriented.com
Wed Dec 7 05:38:13 EST 2011
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-animated-zoom-with-openlayers
On Wed, Dec 7, 2011 at 10:55 AM, Takako Tucker <Takako.Tucker at bbc.co.uk>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: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.
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111207/c43e4c3d/attachment.html
More information about the Users
mailing list