<P>Just a question: Can an opacity be set to the KML or vector layers without individually modifying each marker?<BR><BR>Current method of creating the KML layer below (it works, don't know if I should be doing it differently though).</P>
<P>/* Begin KML handling functions */<BR>function createKMLLayer(id, url, name) {<BR>&nbsp;if(document.getElementById(id).disabled == false) {<BR>&nbsp;&nbsp;if ( document.getElementById(id).checked == true ) {<BR>&nbsp;&nbsp;&nbsp;window[id] =&nbsp; new OpenLayers.Layer.GML(name, url,{format: OpenLayers.Format.KML,formatOptions: {extractStyles:true,extractAttributes:true}});<BR>&nbsp;&nbsp;&nbsp;map.addLayer(window[id]);<BR>&nbsp;&nbsp;&nbsp;selectControl = new OpenLayers.Control.SelectFeature(window[id],<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {onSelect: onFeatureSelect, onUnselect: onFeatureUnselect});<BR>&nbsp;&nbsp;&nbsp;map.addControl(selectControl);<BR>&nbsp;&nbsp;&nbsp;selectControl.activate();<BR>&nbsp;&nbsp;} else {<BR>&nbsp;&nbsp;&nbsp;map.removeLayer(window[id]);<BR>&nbsp;&nbsp;}&nbsp;&nbsp;<BR>&nbsp;}<BR>}</P>
<P>&nbsp;</P>
<P>Thanks,</P>
<P>Levii</P>