(sorry for the cross-posting but never been able to subscribe to [openlayers-users], maybe you can help)
---------- Forwarded message ---------- From: John Smith <[email protected]> Date: Thu, Sep 19, 2013 at 11:48 AM Subject: [OpenLayers-Users] styling wfs in 2.7? To: [email protected] Cc: [email protected] Protocol.WFS is not supported in 2.7 and this doesn't work. any help appreciated. // create stylemap var my_style = new OpenLayers.StyleMap({ "default": new OpenLayers.Style({ pointRadius: "10", fillColor: "#ffcc66", strokeColor: "#ff9933", strokeWidth: 2, graphicZIndex: 1 }), "select": new OpenLayers.Style({ fillColor: "#66ccff", strokeColor: "#3399ff", graphicZIndex: 2 }) }); // create layer and apply stylemap my_layer = new OpenLayers.Layer.WFS("info", "/cgi-bin/info?crs=crs:84", { styleMap: my_style }, { typename: 'search' }, { extractAttributes: true } thanks, jzs
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
