Changes between Version 12 and Version 13 of WMSWrapper


Ignore:
Timestamp:
2020-01-31T04:53:04-04:00 (4 years ago)
Author:
Kenneth Hauklien
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WMSWrapper

    v12 v13  
    1818$request = new OWSRequest();
    1919
    20 ##Get Request
     20## Get Request
    2121foreach ($_GET as $k=>$v) {
    2222    $request->setParameter($k, $v);
    2323}
    2424
    25 ##Dispatch request
     25## Dispatch request
    2626$oMap->OWSDispatch($request);
    2727
     
    3030$contenttype = strtolower(msIO_stripStdoutBufferContentType());
    3131
    32 ##Capabilities Request
     32## Capabilities Request
    3333if ($contenttype == "application/vnd.ogc.wms_xml; charset=utf-8"){
    3434    header('Content-type: application/xml; charset=utf-8');
     
    3636}
    3737
    38 ##getMap jpeg
     38## GetMap jpeg
    3939else if ($contenttype == 'image/jpeg'){
    4040    header('Content-type: image/jpeg');
     
    4343
    4444
    45 ## reset handler and cleaup added
     45## Reset handler and cleaup added
    4646msIO_resetHandlers();
    4747msCleanup();