[OpenLayers-Dev] #736 (external graphic as style for vector points)

Andreas Hocevar andreas.hocevar at gmail.com
Fri Jun 1 06:52:20 EDT 2007


Hi,

> I have been playing with this myself and came up against the same
> problem. My solution was to flip it back:
>
> node.setAttributeNS(null, "y", -1 * y);
> node.setAttributeNS(null, "transform", "scale(1, -1)");

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)");

I do not know which is faster, but we can check later with a dataset
of many points.

Regards,
Andreas.



More information about the Dev mailing list