Hi list, how can i set an style attribute like this:new OpenLayers.Control.DrawFeature(layer, OpenLayers.Handler.Point, {options: {image:"img.png"}}); ? image is for an dynamic styleMap: var sStyle = new OpenLayers.StyleMap({ "default": { pointRadius: 30, externalGraphic: "${image}" },
How can i do this right? The example: http://www.peterrobins.co.uk/it/oledit.html have only an static styleMap. Thanks a lot for any advise, x_tls_x -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/set-style-attribute-to-OpenLayers-Control-DrawFeature-tp5701298p5701298.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users