[OpenLayers-Dev] Vector features default style

Andrea Battisti battisti at actgate.com
Wed Mar 26 10:52:03 EDT 2008


Hi All,

in OL 2.5 I can modify the style of a vector feature doing (i.e.):
point_feature.style.pointRadius = 3;  ( point_feature is a 
OpenLayers.Feature.Vector )

When using a DrawFeature control to draw vector features, how can the 
_default_ style be changed, such that all the drawn features use the 
custom style?


Thanks in advance,

-- 
Andrea Battisti
Applied Coherent Technology Corp.




More information about the Dev mailing list