Hi,

thanks,  haven't found it in the docs.

The example looks quite nice.


All the best,


    Heiner

Am 17.11.2010 um 23:33 schrieb Arnd Wippermann:

> Hi,
> 
> There is also an offset for labels:
> 
>        graphicXOffset:-15,
>        graphicYOffset:-15,
> 
>        label : "${getName}",
> 
>        labelXOffset: 0,
>        labelYOffset: 0,
> 
> an online-example
> http://gis.ibbeck.de/olclient/OLClient.asp?WMC=./data/WMC/WMC%20BW%20Nordbah
> ntrasse.wmc.xml
> 
> Regards
> Arnd
> 
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von Heiner
> Lamprecht
> Gesendet: Mittwoch, 17. November 2010 21:51
> An: [email protected]
> Betreff: [OpenLayers-Users] Symbolizer
> 
> Hi,
> 
> I'm struggling with a symbolizer problem.  I would like to have a rotated
> icon (depending on some feature attributes) and a nice looking label text.
> 
> As far as I can see, I can rotate an icon easily both with SLD, but there is
> no chance for an offset for the icon, right?  (The icons needs to be rotated
> around the center point, not the upper left corner.)
> 
> On the other hand, when using an OpenLayers.Style, I can use the x- and
> y-offset for the icon, but there is no (different) offset for the text
> label.  But the text is not readable, because it is at the same position as
> he icon.
> 
> Is there any way to combine both?
> 
> 
> All the best,
> 
> 
>   Heiner
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> 

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

Reply via email to