Hi list,
I would like to be able to pass in a URL of an SLD to tell a layer how to style
itself.
Something like below, but that code does not work. Any suggestions? is it even
possible?
It seems a waste to define a whole series of symbolizer rules here when they
are already defined in an SLD for the default display of the layer.
Thanks.
Eoin.
mystyle = new OpenLayers.Style("", {rules: [
new OpenLayers.Rule({
title: "myrules",
filter: // specify a subset of features
in the layer
symbolizer: {
url:
"http://eoinmaca.com/fpt/europe/europe.sld"
}
})
]//close rules array
});
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users