<div style="font-family: 'Times New Roman'; font-size: 16px;">I'm still at a loss.<br _moz_dirty="" /><br _moz_dirty="" /> thelayer = document.getElementById('idSelect').options[document.getElementById('idSelect').selectedIndex].value;<br _moz_dirty="" /><br _moz_dirty="" /> for (var lyr=0; lyr < map.layers.length; ++lyr){<br _moz_dirty="" /> var layer = map.layers[lyr];<br _moz_dirty="" /> if(layer.name==thelayer.toString()){<br _moz_dirty="" /> var feature = layer.features[0]; //<= This is the error line<br _moz_dirty="" /> alert("Sel Feature Geom: "+feature.geometry.CLASS_NAME);<br _moz_dirty="" /> }<br _moz_dirty="" /> }<br _moz_dirty="" /><br _moz_dirty="" />Error: layer.features is undefined<br _moz_dirty="" />Source File: http://biomap.wisc.edu/Biofuels_dev/js/startup.js<br _moz_dirty="" />Line: 352<br _moz_dirty="" /><br _moz_dirty="" /></div><br />
<br /><tt>[jwolter.vcf]</tt><br /><hr align="left" width="300" /><tt>begin:vcard
<br>n:WOLTER;JOSEPH
<br>fn:JOSEPH W WOLTER
<br>tel;work:608-265-9354
<br>tel;home:703-474-1601
<br>org:University of Wisconsin;Soil Science
<br>adr:;;1525 Observatory Drive;Madison;WI;53706-1299;USA
<br>email;internet:<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4177687&i=0" target="_top" rel="nofollow">[hidden email]</a>
<br>title:Software Development
<br>version:2.1
<br>end:vcard
<br></tt><hr align="left" width="300" />
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Layer-Type-POINT-MULTIPOINT-LINE-POLY-tp4176282p4177687.html">Re: [OpenLayers-Dev] Layer Type (POINT, MULTIPOINT, ..., LINE, POLY)?</a><br>
Sent from the <a href="http://n2.nabble.com/OpenLayers-Dev-f1832264.html">OpenLayers Dev mailing list archive</a> at Nabble.com.<br>