Hi all,
I have a set of rules for point layers which work fine, but I would like to
keep the displayed point at the same size in map units, rather than the
pointRadius pixel size. If I don't do this, it will end up as a blur of points
at a high scale, hence the maxScaleDenominator.
Here is an example of a current rule:
var rule1 = new OpenLayers.Rule({
filter: new OpenLayers.Filter.Comparison({
type: OpenLayers.Filter.Comparison.EQUAL_TO,
property: "type",
value: "w",
}),
maxScaleDenominator: 100000,
symbolizer: {fillColor: "Green",
pointRadius: 100,
fillOpacity: 0.5,
strokeOpacity: 0,
label: "${ref}",
labelAlign: "cc",
fontColor: "#333333",
fontOpacity: 0.9,
fontFamily: "Arial",
fontSize: 14}
});
Thanks_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users