Hi all,<br>any idea why this code doesn&#39;t work locally?<br><br>        lgpx = new OpenLayers.Layer.Vector(&quot;DIY streetviews&quot;, {<br>        strategies: [new OpenLayers.Strategy.BBOX({resFactor: 1.1})],<br>        protocol: new OpenLayers.Protocol.HTTP({<br>

              url: &quot;map_data.txt&quot;,<br>            format: new OpenLayers.Format.Text()<br>        }),<br>                projection: new OpenLayers.Projection(&quot;EPSG:4326&quot;)<br>        });<br><br>Whole file:<br>

<a href="http://www.diy-streetview.org/data/development/20110217/index.html">http://www.diy-streetview.org/data/development/20110217/index.html</a><br>and<br><a href="http://www.diy-streetview.org/data/development/20110217/embed/calls_and_callbacks.js">http://www.diy-streetview.org/data/development/20110217/embed/calls_and_callbacks.js</a><br>

<br>I added<br>     // alert(&quot;lgpx.features.length: &quot; + lgpx.features.length);<br>to calls_and_callbacks.js.<br><br>On the server I get 167, which is right, but only 0 (zero) on my PC?<br>Are the features not loaded when running the script locally?<br>

<br>How to fix this?<br><br>Thanks,<br>Jan<br><br><br><br>