Hi All,

I'm trying to get a common style for any of (point,line,polygon).  I
thought something like :

var s = new OpenLayers.Style({
            fillColor: "#0000FF",
            strokeColor: "#0000FF",
            strokeWidth: 2
        });

var myStyles = new OpenLayers.StyleMap(s);


would work, but I only get blue lines and nothing for points.  I haven't
tried polygons but I'm confident it works.  I thought since all the
properties defined in the style apply to all feature types I should
expect blue points but instead I get nothing.  I'm using OpenLayers
trunk. Any clue ?

TIA,

Yves

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to