Dear list,
I have got a question how to change the default colour of a point-wfs-symbol.
In the moment I try:
var my_style = new OpenLayers.StyleMap({"default": new
OpenLayers.Style({
"externalGraphic":"marker-blue.png",
"graphicOpacity":1,
"graphicXOffset":-8,
"graphicYOffset":-8,
"graphicWidth":16,
"graphicHeight":16,
"strokeLinecap":"round",
"strokeOpacity":0,
"fillOpacity":0,
"pointRadius":23})
});
var my_wfs= new OpenLayers.Layer.WFS( "small_wfs",
"http://xyz................",
{Typename: 'gastronomie_wfs',maxfeatures: 100, styleMap:
my_style,extractAttributes:true}
);
The wfs-layer is visualized but still with these default orange-points.
Does anybody know what could be wrong?
And where can I find the file for the default-layout?
Thank you very much in advance, Kai
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger01
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users