© Pedro Pereira Gonçalves (pedro@inovagis.org)


Project quickWMS: Generic JavaScript WMS Client
Example : single layer request according to OpenGIS Web Mapping Specification
Author : Pedro Pereira Gonçalves (pedro@inovagis.org)
Version : 0.02
Last Changed: 2003-10-24
Tested on : Netscape 4.7, 7.0 and 7.1, Mozilla 1.4.1, IE 5.5, IE 6.0, Camino 0.7(Mac-OS )













Source Code

    <script language='Javascript'>

    // WMS servers - list here other OGC compliant map servers
    // Changes: 2003-10-24 : Added http:// to the DEMIS and ESRIN server urls
    var demisWMS = "http://www.demis.nl/mapserver/request.asp";

    function writeMaps ( ) {

    var layer = new layerWMS(null, demisWMS, "Bathymetry,Coastlines", "DEMIS Example", "1.0.0", );
    layer.writeDOM ("simpleWMS", 350, 300, 360, 160);
    layer.refresh(new Array( -180, -80, 180, 80));

    }
    </ script>