[OpenLayers-Users] Vector rotation issues with 2.9

Lennox Antoine lxnyce at gmail.com
Wed Apr 28 17:47:24 EDT 2010


Same here, works for me. Thanks Andreas.

Lennox

On Wed, Apr 28, 2010 at 4:20 AM, pedro hernandez <
pedrohernandez830 at gmail.com> wrote:

> In my case it works. Thanks a lot Andreas!!!
>
>
> On Tue, Apr 27, 2010 at 9:43 PM, Andreas Hocevar <ahocevar at opengeo.org>wrote:
>
>> Hi,
>>
>> On Apr 27, 2010, at 15:56 , Lennox Antoine wrote:
>>
>> > I tried 2.9 and I ran into similar issues as well. I finally got around
>> to stripping it down, so here are two simple examples showing it :
>> >
>> > 2.8 : http://vizure.net/temp/ol/rotation_2_8.html
>> > 2.9 : http://vizure.net/temp/ol/rotation_2_9.html
>>
>> Thanks Lennox for putting this together. Your efforts finally made a fix
>> possible. See http://trac.openlayers.org/ticket/2596.
>>
>> John, this should also fix your issue. Can you please verify?
>>
>> Regards,
>> Andreas.
>>
>>
>> >
>> > Both are exactly the same, except for which version of the library is in
>> use.
>> > In 2.8, click the icon, then drag it around. Everything works fine.
>> > In 2.9, click the icon, then try to drag it around. For me it starts to
>> rotate and move in the opposite direction. If I zoom in, it also goes to
>> random places and does not stay where it's pinned.
>> >
>> > Lennox
>> >
>> > On Tue, Apr 27, 2010 at 8:30 AM, pedro hernandez <
>> pedrohernandez830 at gmail.com> wrote:
>> > Something similar happens to me when I tried 2.9 version.
>> >
>> > I'm using Vector Layer with one vector of Geometry Points. If I use
>> circle in graphicName of Style Map it puts in a good position but If I
>> instead I use triangle with rotation propierty it puts in a bad postion.
>> >
>> > In my case this  happens in Mozilla Firefox (I'm using 3.5 version) and
>> not in IE8.
>> >
>> >
>> > On Tue, Apr 27, 2010 at 4:14 AM, Robert Sanson <
>> SansonR at asurequality.com> wrote:
>> > It looks to me like the labels are keeping their correct geographical
>> positions, but the vector symbols (arrows) are not.
>> >
>> > Robert
>> >
>> > >>> John McGuire <jamcguir at ncsu.edu> 27/04/2010 7:22 a.m. >>>
>> >
>> > All,
>> >
>> >    I am creating an interface to visualization weather information.
>> > However, within the past week, we have noticed that when a user zooms in
>> > and out with wind arrows drawn, the vector is separate from its label,
>> > and nowhere near its intended direction. I have found that v2.8 does not
>> > have this issue. Playing with the code, it seems that the rotation in
>> > v2.9 is the problem, and also exists for the default shape of triangle.
>> > If anyone would have any further insight to this problem, I would be
>> > greatly appreciative.
>> >
>> > I have included links below to demonstrate the difference.
>> > 2.9 map:
>> > http://sco-server6.meas.ncsu.edu/webtest/workspace/cronos/map/?ol=2.9
>> > 2.8 map: http://sco-server6.meas.ncsu.edu/webtest/workspace/cronos/map/
>> >
>> > Thank you all for your help,
>> > -John
>> > _______________________________________________
>> > Users mailing list
>> > Users at openlayers.org
>> > http://openlayers.org/mailman/listinfo/users
>> >
>> >
>> >
>> > This message has been scanned for malware by SurfControl plc.
>> www.surfcontrol.com
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at openlayers.org
>> > http://openlayers.org/mailman/listinfo/users
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at openlayers.org
>> > http://openlayers.org/mailman/listinfo/users
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at openlayers.org
>> > http://openlayers.org/mailman/listinfo/users
>>
>> --
>> Andreas Hocevar
>> OpenGeo - http://opengeo.org/
>> Expert service straight from the developers.
>>
>> _______________________________________________
>>   Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100428/4277753e/attachment.html


More information about the Users mailing list