Hi,<br><br>I am a fairly new user to OpenLayers, and this is my project aims :<br><br>- Want to create a Basemap of streets which is a Vector layer and loading it as a MapServ Layer<br>* create a start / end point<br>* create the route
<br><br>(* are not yet started)<br><br>I am having a problem since after going through the Javascript docs, I fixed many of my syntax errors, but am still plagued with this one : <br><br>this.div has no properties<br>callback(&quot;basemap&quot;, Object)OpenLayers.js (line 464)
<br>Class()OpenLayers.js (line 57)<br>init()openl.html (line 24)<br>onload(load )openl.html (line 1)<br>[Break on this error] this.active=false;return true;},callback:function(name,args){if(this.callbacks[n...<br><br>Error found @ 
OpenLayers.js (line 464) .. Error reporting by FireBug of FireFox<br><br>The code I am working upon is a mix of viewsourcing some pages and the tutorials : <br><br>&lt;html&gt;<br>&lt;head&gt;<br>  &lt;title&gt;OpenLayers Example&lt;/title&gt;
<br>    &lt;script src=&quot;<a href="http://yancho.no-ip.org/~yancho/OpenLayers.js">http://yancho.no-ip.org/~yancho/OpenLayers.js</a>&quot;&gt;&lt;/script&gt;<br><br><br>            &lt;script defer=&quot;defer&quot; type=&quot;text/javascript&quot;&gt;
<br>                  function init(){<br>                   var options =<br>                      {<br>                        maxExtent: new OpenLayers.Bounds(625102.34974933861,215593.742071 ,656343.383138 ,239014.742071
),<br>                        maxResolution: 302051/1024,<br>                        zoom: 2,<br>                        projection: &quot;WGS84&quot;,<br>                        &#39;controls&#39;: [],<br>                        units: &quot;m&quot;,
<br>                        numZoomLevels: 12<br>                      };<br>                   var map = new OpenLayers.Map(&quot;basemap&quot;, options);<br>                                      var options2 =<br>                   (     {name : &quot;Streets Layer&quot;},
<br>                         {url : &quot;<a href="http://yancho.no-ip.org/~yancho/cgi-bin/mapserv">http://yancho.no-ip.org/~yancho/cgi-bin/mapserv</a>&quot;},<br>                         {params : &quot;\\home\\yancho\\public_html\\nc\\sample.map&quot;},
<br>                         {options : []}<br>                    );<br>                   map.addLayer (new OpenLayers.Layer.MapServer(&quot;streets&quot;, options2));<br><br>              }<br><br>      &lt;/script&gt;
<br>    &lt;/head&gt;<br>&lt;body onload=&quot;init()&quot;&gt;<br>&lt;div style=&quot;width:800px;height:600px&quot; id=&quot;map&quot;&gt;&lt;/div&gt;<br><br>&lt;/html&gt;<br><br>If you want the code with syntax highlighted you can go here : 
<a href="http://pastebin.com/f218a9fc9">http://pastebin.com/f218a9fc9</a><br><br><br>I would be extremely happy if you manage to point me to any errors I am doing, and maybe some other reading I should do.<br><br>Thanks alot for your time in reading my post
<br><br><br>Regards<br><br><br>Matthew<br><br>-- <br>Matthew Pulis<br>URL : <a href="http://www.solutions-lab.net">http://www.solutions-lab.net</a><br>MSN : pulis_matthew[@]hotmail.com<br>ICQ : 145951110<br>Skype : <a href="http://solutions-lab.net">
solutions-lab.net</a>