'; ?> Load WMS with one layer "; $mywms = new wms(); $mywms->createObjFromXML(html_entity_decode($_REQUEST['caps'])); if(!$mywms->wms_status){ echo "alert('Error: The Capabilities Document " . html_entity_decode($_REQUEST['caps']) . " could not be accessed. Please check whether the server is responding and accessible to Mapbender.'); "; die; } $mywms->createJsLayerObjFromWMS("TRUE", $_REQUEST['layer_name']); echo "parent.mod_addWMS_refresh();"; echo ""; ?>