Sweet, that worked perfectly—thanks, Andreas!<div><br></div><div><br><br><div class="gmail_quote">On Wed, May 12, 2010 at 3:23 AM, Andreas Hocevar <span dir="ltr"><<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">This sounds like an issue we had in OpenLayers 2.9, but was fixed in 2.9.1. Make sure you are using the latest version.<br>
<br>
Regards,<br>
Andreas.<br>
<div><div></div><div class="h5"><br>
On May 12, 2010, at 02:16 , Mike Purvis wrote:<br>
<br>
> Hey,<br>
><br>
> I'm having an issue with specifying rotation for one of my features. It's a point feature with a externalGraphic specified, and the center of rotation of the feature seems to be initially set to the feature's own Point.<br>
><br>
> However, when I programmatically move the feature, the center of rotation doesn't move with it, and the feature's rotation against an external center causes it to be way off-position.<br>
><br>
> I've tried implementing the move both by updating the x and y fields directly in the Point object itself, and also by using the Feature.move function. Neither has the desired effect—using the Web Inspector, I can clearly see the SVG element and the rotation is being specified in (angle, cx, cy) form.<br>
><br>
> As a last resort, I'm willing to use external JavaScript to find the element and manually insert the rotation which I require, but is there some way to do it "properly" using OpenLayers' own rotation stylings?<br>
><br>
> Thanks,<br>
><br>
> Mike<br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br><a href="http://uwmike.com">http://uwmike.com</a><br>
</div>