"-gt-shield-margin: 4 8 4 4;" should work.  Pink tiles in OpenLayers are
usually its way of telling you that it got an error message back instead of
a tile image; if you view such an image directly you can usually see the
error message.

For example, in Chrome I would right-click on one of the pink tiles, then
choose 'Open Image in New Tab" from the context menu.

I'd be interested to see the error message, as well as the .css and .sld
files for your style.

--
David Winslow
OpenGeo - http://opengeo.org/


On Tue, Jan 22, 2013 at 10:05 AM, Chris Haste <[email protected]> wrote:

> Any takers?****
>
> ** **
>
> *From:* Chris Haste [mailto:[email protected]]
> *Sent:* 21 January 2013 17:48
> *To:* [email protected]
> *Subject:* [Geoserver-users] CSS -gt-shield-margin****
>
> ** **
>
> Does anyone know the correct syntax for the above label parameter?****
>
> ** **
>
> I’m trying to use it in conjunction with an SVG shield symbol and
> -gt-shield-resize: stretch.****
>
> ** **
>
> If I use the following it only seems to pay attention to the first value.
> i.e. I get a padding of 4 all around.****
>
>   -gt-shield-margin: 4, 8, 4, 4;****
>
> ** **
>
> If I use this****
>
>   -gt-shield-margin: 4 8 4 4;****
>
> ** **
>
> I get pink tiles!****
>
> ** **
>
> Thanks****
>
> *** This communication has been sent from World Fuel Services
> Corporation or its subsidiaries or its affiliates for the intended
> recipient
> only and may contain proprietary, confidential or privileged information.
> If you are not the intended recipient, any review, disclosure, copying,
> use, or distribution of the information included in this communication
> and any attachments is strictly prohibited. If you have received this
> communication in error, please notify us immediately by replying to this
> communication and delete the communication, including any
> attachments, from your computer. Electronic communications sent to or
> from World Fuel Services Corporation or its subsidiaries or its affiliates
> may be monitored for quality assurance and compliance purposes.*******
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to