<br clear="all">this is the chrome error<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="color: rgb(255, 0, 0); font-family: 'dejavu sans mono', monospace; font-size: 11px; line-height: 12px; white-space: pre-wrap; ">Uncaught TypeError: Cannot read property 'Vector' of undefined</span><br>
<br></div><div>Is this a bug in OL or chrome?</div><div>How to solve it?</div><div><br></div><div>the application works fine on Firefox 3.6.6 but not in firefox4</div><div><br></div><div>this is the code creating problem </div>
<div><div>new_layer = new OpenLayers.Layer.Vector("layername_", {</div><div> strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],</div><div> projection: new OpenLayers.Projection("EPSG:4326"),</div>
<div> protocol: new OpenLayers.Protocol.WFS({</div><div> version: "1.0.0",</div><div> srsName: "EPSG:4326",</div><div> url: "<a href="http://localhost/cgi-bin/tinyows">http://localhost/cgi-bin/tinyows</a>",</div>
<div> featureNS : "<a href="http://www.tinyows.org/">http://www.tinyows.org/</a>",</div><div> featureType: layername_ ,</div><div> geometryName: "the_geom",</div><div>
schema: "<a href="http://localhost/cgi-bin/tinyows?service=wfs&request=DescribeFeatureType&version=1.0.0&typename=tows">http://localhost/cgi-bin/tinyows?service=wfs&request=DescribeFeatureType&version=1.0.0&typename=tows</a>:" + 'layername_'</div>
<div> })});</div><div> map.addLayer(new_layer);new_layer.refresh();</div></div><div><br></div><div>if this is commented out the it works but no output</div><div>-- <br><div>Thanks && Regards</div>Rashad<br>
</div>