I have read the page and done some testing. I used just a single Google layer and the WMS definition from the OL examples to do some testing.<br><br><span style="font-weight: bold;">Observations:<br><br>Attempting to load Google as base, WMS as overlay:
<br></span><ul><li>I do not get pink tiles, instead the Google layer seems to partially load but does not show up correctly</li><li>The layer switcher which I have defined at the end of my JS does not show up</li><li>I cannot seem to get an image URL the option is not given? It will only let me save/view my html document
</li></ul><span style="font-weight: bold;">Commenting out map.addLayer(layer):<br></span><ul><li>Correct me if i'm wrong but providing a layer is defined correctly, this should not affect the loading of the page, in fact it should fix the page if that layer is having problems
</li><li>Result is the same as the above condition</li></ul><span style="font-weight: bold;">Commenting out WMS layer definition:</span><br><ul><li>If I comment out this the page is fixed and the Google layer loads correctly
</li><li>This leads me to believe that it is a javascript error? but I used both my original definition, (which worked correctly before under Fedora 7) and the OpenLayers examples to test with and both are giving the same error.
</li><li>Other possible issues is that I primarily used OL 2.4 before but I swear that it worked under 2.5 but I may be wrong.</li></ul><span style="font-weight: bold;">Adding in Mapserver layer:</span><br><ul><li>Calling a Mapserver layer works quite fine (which is what I'm using as my WMS)
</li></ul><br>Cheers<br><br>Brad<br><br><br><div><span class="gmail_quote">On 14/12/2007, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Fri, Dec 14, 2007 at 04:23:35PM +1100, Bradley McLain wrote:<br>> A styles parameter is not optional according to the WMS
1.1 spec, nor is<br>> it optional in MapServer 5.0. (This is probably the single most<br>> "controversial" change in 5.0, and I believe it's going away in 5.0.1.)<br>><br>> So these parameters have always been required? it was just the case that I
<br>> was running an older version of mapserver that did not enforce them?<br><br>Yes.<br><br>> With "work at all" I was referring to simply trying to add in the additional<br>> parameter in the OpenLayers WMS Layer definition. Since then I have got a
<br>> Mapserver Layer working, so I guess this narrows the problem down to a WMS<br>> issue. Currently my WMS definitions in OL are as follows:<br>><br>> var grap = new OpenLayers.Layer.WMS( "Griffith Aerial Photo",
<br>> "<a href="http://192.168.1.130/cgi-bin/mapserv?map=/var/www/mapfiles/wms.map">http://192.168.1.130/cgi-bin/mapserv?map=/var/www/mapfiles/wms.map</a>",<br>> {layers: 'grap', format:"image/png"},
<br>> {isBaseLayer: false}<br>> );<br><br>And what doesn't work about this? Do images load at all? Do you get pink<br>tiles? Did you read the page I linked, about problems with images being
<br>incorrect?<br><br>Regards,<br>--<br>Christopher Schmidt<br>MetaCarta<br></blockquote></div><br>