[OpenLayers-Users] How to fill a wellknown marker with a dash
pattern
Kris Geusebroek
kgeusebroek at xebia.com
Fri Mar 27 08:25:58 EDT 2009
Hi Chris,
It wasn't, but i found a way to do it.
In the VML renderer I added the following lines:
After fill.setAttribute("opacity", style.fillOpacity);
If (style.fillGraphic) {
Fill.setAttribute("type", "tile");
Fill.setAttribute("src", style.fillGraphic);
}
The property style.fillGraphic can be set to an image file (like the one
attached for example)
I'm sure this kind of option is available for SVG but haven't had the
time to investigate
Cheers Kris
-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com]
Sent: Thursday, March 26, 2009 12:47 PM
To: Kris Geusebroek
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] How to fill a wellknown marker with a
dash pattern
On Thu, Mar 26, 2009 at 12:42:16PM +0100, Kris Geusebroek wrote:
> Hi all,
>
>
>
> I want to create a style for my WFS layer to create a orange square
with
> dashed fill and a different color stroke.
>
> In sld I use a mark with an externalgraphic and a strokecolor.
>
>
>
> Is this possible in openlayers also?
Not that I'm aware of.
Regards
--
Christopher Schmidt
MetaCarta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: orange_forward_diagonal_thin.GIF
Type: image/gif
Size: 852 bytes
Desc: orange_forward_diagonal_thin.GIF
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090327/60a7ef36/orange_forward_diagonal_thin.gif
More information about the Users
mailing list