[OpenLayers-Dev] #736 (external graphic as style for vector
points)
Andreas Hocevar
andreas.hocevar at gmail.com
Fri Jun 1 12:44:21 EDT 2007
Hi Arthur,
On 6/1/07, Arthur Noel <art at ischium.net> wrote:
> On 1 Jun 2007, at 11:52, Andreas Hocevar wrote:
> > Thanks, I also fixed it, I am waiting for commit access. My solution
> > is a little bit different
> > node.setAttributeNS(null, "style", "transform: rotate(180)");
>
> If you rotate then the image is the wrong way on the x axis.
You are right, my solution with the rotation is incorrect.
I now have commit access and just committed a new version. This uses
the scale transformation you suggested, and calculates a correct y
offset to center the symbol at the point coordinates.
I am eager to see your other changes, thanks for your help so far!
Regards,
Andreas.
More information about the Dev
mailing list