jeffersonheard / ga_bigboard

The Big Board - teleconferencing over maps
Other
7 stars 2 forks source link

Room WMS Base Layer #5

Closed NathanRSmith closed 12 years ago

NathanRSmith commented 12 years ago

I created a WMS overlay for noaa radar with the following options:

{
    url:'http://nowcoast.noaa.gov/wms/com.esri.wms.Esrimap/obs',
    layers:'RAS_RIDGE_NEXRAD',
    transparent:true
}

This overlay works fine as an overlay, but if I try to make it the base layer for a room I get 404 errors because it is trying to request relative to ga_bigboard. Here is the url it tries:

http://geoanalytics.crc.nd.edu/ga_bigboard/%7B%20%20%20%20url:'http://nowcoast.noaa.gov/wms/com.esri.wms.Esrimap/obs',%20%20%20%20layers:'RAS_RIDGE_NEXRAD',%20%20%20%20transparent:true%7D?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fjpeg&SRS=EPSG%3A3857&BBOX=-11.25,-2.8125,-8.4375,0&WIDTH=256&HEIGHT=256

or

ga_bigboard/{ url:'http://nowcoast.noaa.gov/wms/com.esri.wms.Esrimap/obs', layers:'RAS_RIDGE_NEXRAD', transparent:true}

The options are not being evaluated like they are for an overlay and it is looking for the baselayer WMS at the ga_bigboard url.