Also just thought that I'd mention that my Mapserver is not properly set up as a WMS and it will be quite difficult to do so so I'd rather use the cgi mode of Mapserver. However when looking at the Mapserver examples I failed to see anything at all which resembled this. It calls "
<a href="http://labs.metacarta.com/wms/vmap0">http://labs.metacarta.com/wms/vmap0</a>&quot; but shouldn&#39;t there be a &quot;cgi-bin/mapserv?map=&quot; somewhere.<br><br>Cheers<br><br>Brad<br><br><div><span class="gmail_quote">
On 7/2/07, <b class="gmail_sendername">Bradley Mclain</b> &lt;<a href="mailto:bradleym06@gmail.com">bradleym06@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok I made some progress but I have hit a few roadblocks. At the moment my code successfully displays the google map, hybrid and satelite images. However only if it is opened from its current location if I try to open it on my server, i get an error displaying that my google maps api does not correspond. However even when i registered a new one for 
<a href="http://192.168.1.130" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://192.168.1.130</a> (my server address) the page simply displays as plain white.<br><br>My second problem is getting mapserver to display. Below is my current attempt to get it to work. What am supposed to call the mapfile?, or direct it to the url of the working map?
<br><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&lt;html&gt;</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">

&lt;head&gt;</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp; &lt;script src=&quot;<a href="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ</a>&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</span><br style="background-color: rgb(255, 255, 102);">

<span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; &lt;script src=&quot;../lib/OpenLayers.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</span><br style="background-color: rgb(255, 255, 102);"><br style="background-color: rgb(255, 255, 102);">

<span style="background-color: rgb(255, 255, 102);">&lt;/head&gt;</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&lt;body&gt;</span><br style="background-color: rgb(255, 255, 102);">

<span style="background-color: rgb(255, 255, 102);">&lt;h4&gt;Debortoli Wines OpenLayers Test&lt;/h4&gt;</span><br style="background-color: rgb(255, 255, 102);"><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">

&nbsp; &lt;div style=&quot;width:100%; height:80%&quot; id=&quot;map&quot;&gt;&lt;/div&gt;</span><br style="background-color: rgb(255, 255, 102);"><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">

&nbsp; &lt;script defer=&quot;defer&quot; type=&quot;text/javascript&quot;&gt;</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; OpenLayers.ProxyHost=&quot;/proxy/?url=&quot;;
</span><br style="background-color: rgb(255, 255, 102);"><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; var map = new OpenLayers.Map( &#39;map&#39;, {controls: [new 
OpenLayers.Control.PanZoomBar()]} );</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">//Adding Controls</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">

&nbsp;&nbsp;&nbsp; map.addControl(new OpenLayers.Control.MouseToolbar());</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; map.addControl(new OpenLayers.Control.MousePosition

());</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; map.addControl(new OpenLayers.Control.Permalink());</span><br style="background-color: rgb(255, 255, 102);">

<br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; var layer_switcher = new OpenLayers.Control.LayerSwitcher();</span><br style="background-color: rgb(255, 255, 102);">

<span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; map.addControl(layer_switcher);</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; layer_switcher.maximizeControl();
</span><br style="background-color: rgb(255, 255, 102);"><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">//Adding Layers</span><br style="background-color: rgb(255, 255, 102);">

<span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; var google = new OpenLayers.Layer.Google(&quot;Google&quot;);</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">

&nbsp;&nbsp;&nbsp; var googles = new OpenLayers.Layer.Google(&quot;Google Satellite&quot;, { &#39;type&#39;: G_SATELLITE_MAP });</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">

&nbsp;&nbsp;&nbsp; var googleh = new OpenLayers.Layer.Google(&quot;Google Hybrid&quot;, { &#39;type&#39;: G_HYBRID_MAP });</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; var mapserv = new 
Openlayers.Layer.HTTPRequest(&quot;Debortoli Mapserver&quot;, &quot;<a href="http://192.168.1.130/cgi-bin/mapserv?map=/usr/local/mapfiles/dbw.map&amp;layers=dbap&amp;mode=browse" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://192.168.1.130/cgi-bin/mapserv?map=/usr/local/mapfiles/dbw.map&amp;layers=dbap&amp;mode=browse
</a>&quot;);</span><br style="background-color: rgb(255, 255, 102);"><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; map.addLayers([google, googles, googleh, mapserv]);
</span><br style="background-color: rgb(255, 255, 102);"><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp;&nbsp;&nbsp; map.setCenter(new OpenLayers.LonLat(135,-28), 4);</span><br style="background-color: rgb(255, 255, 102);">

<span style="background-color: rgb(255, 255, 102);">&nbsp;</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&nbsp; &lt;/script&gt;</span><br style="background-color: rgb(255, 255, 102);">

<span style="background-color: rgb(255, 255, 102);">&lt;/body&gt;</span><br style="background-color: rgb(255, 255, 102);"><span style="background-color: rgb(255, 255, 102);">&lt;/html&gt;</span><div><span class="e" id="q_113852acabbe84b7_1">
<br><br><div><span class="gmail_quote">
On 7/2/07, <b class="gmail_sendername">Bradley Mclain</b> &lt;<a href="mailto:bradleym06@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bradleym06@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Cool I&#39;ll look into that and get back to you with my progress. Currently having issues getting my google map to display, its just shows up as white. I registered a new key and everything.<div><span>
<br><br><div><span class="gmail_quote">
On 7/2/07, <b class="gmail_sendername">Anselm Hook</b> &lt;<a href="mailto:anselm@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">anselm@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


Oh, actually that example is not perfectly clear; it doesn&#39;t expressly illuminate that you can choose to leave more than one layer on at a time....&nbsp; in any case you can do so.<br><span><br>&nbsp;- a</span><div><span>
<br><br><div><span class="gmail_quote">
On 7/1/07, <b class="gmail_sendername">Anselm Hook</b> &lt;<a href="mailto:anselm@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">anselm@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<a href="http://openlayers.org/gallery/multiple.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://openlayers.org/gallery/multiple.html</a><br><br><div><div><span>
<span class="gmail_quote">On 7/1/07, <b class="gmail_sendername">Bradley Mclain</b> &lt;<a href="mailto:bradleym06@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
bradleym06@gmail.com</a>&gt; wrote:</span></span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span>
Hey<br><br>What I am looking to do is to integrate Google Maps with a custom map which is being served from Mapserver. I currently have Mapserver working and serving the correct layers. I just have a few questions about this which I am hoping you can answer.
<br><br>Is it possible to use openlayers to integrate the two?<br>If not, are there any other possible programs which I can use to do this?<br>If so, how do I go about this?<br><br>Cheers<br><br>Brad<br>
<br></span></div><span>_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@openlayers.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Dev@openlayers.org
</a><br><a href="http://openlayers.org/mailman/listinfo/dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://openlayers.org/mailman/listinfo/dev</a><br><br></span></blockquote></div><br>
</blockquote></div><br>
</span></div></blockquote></div><br>
</span></div></blockquote></div><br>
</span></div></blockquote></div><br>