zspitzer wrote:
> 
> i've hit this one as well, playing around with styles after reading
> through
> some of the api code,
> 
> i did this which seem to help offset the bottom of the marker directly
> on the point
> 
> var style = new OpenLayers.Style({
>  externalGraphic: "images/openlayers/AQUA.png",
>                       pointRadius: 9,
>                       graphicYOffset : -15
> });
> 
> z
> 

Sorry to be thick, but what do I apply this style object to?

I've tried feature.style = style; but doesn't do anything.
The docs reference the new styles layer - but this seems a bit excesive to
simply move an icon a few pixels.

Thanks,

Rich.

-- 
View this message in context: 
http://n2.nabble.com/All-marker-offsets-are-wrong-when-using-features-tp2143419p2148478.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to