On Sep 23, 2011, at 6:15 PM, ext Puneet Kishor wrote:
> 
> and the layer definition is 
> 
>    var lyr = new OpenLayers.Layer.Vector(
>        "a layer", {
>            style: {
>                "strokeWidth": 1, 
>                "strokeColor": "#ff0000", 
>                "fillColor": "#ff0000", 
>                "fillOpacity": "${opacity}", 
>                "pointRadius": "${radius}"
>            }
>        }
>    );
> 
> I was expecting the points to be rendered with the radius and opacity values 
> for each feature. But not so. What am I doing wrong?

s/style:/styleMap: new OpenLayers.StyleMap({'strokWidth':, etc.})/

-- Chris

> --
> Puneet Kishor_______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to