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:[email protected]]
Sent: Thursday, March 26, 2009 12:47 PM
To: Kris Geusebroek
Cc: [email protected]
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
<<attachment: orange_forward_diagonal_thin.GIF>>
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
