" . xml2html($wms_capabilities)); } # ------------------------------------------------------------- # Create the JavaScript map object and layer objects. # Set the layer objects to have a valid reference to the map object. # #print xml2html($wms_capabilities); exit; print "

" . wms_title($dom) . "

"; print "
"; foreach (wms_layers($dom) as $layer) { print wms_layer2html($layer); } $bbox = wms_bbox($dom); print wms_hidden("bbox",$bbox); print wms_hidden("format","image/png"); print wms_hidden("mode","PAN"); print wms_hidden("width","500"); print wms_hidden("height","500"); print wms_hidden("onlineresource",$onlineresource); print wms_hidden("srs",wms_srs($dom)); print "
"; $bbox = explode(",",$bbox); print ""; print ""; print ""; print "
BBOX:LL $bbox[0],$bbox[1]
UR $bbox[2],$bbox[3]
SRS:".wms_srs($dom)."
"; ?>