Changes between Version 12 and Version 13 of WMSWrapper
- Timestamp:
- 2020-01-31T04:53:04-04:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WMSWrapper
v12 v13 18 18 $request = new OWSRequest(); 19 19 20 ## Get Request20 ## Get Request 21 21 foreach ($_GET as $k=>$v) { 22 22 $request->setParameter($k, $v); 23 23 } 24 24 25 ## Dispatch request25 ## Dispatch request 26 26 $oMap->OWSDispatch($request); 27 27 … … 30 30 $contenttype = strtolower(msIO_stripStdoutBufferContentType()); 31 31 32 ## Capabilities Request32 ## Capabilities Request 33 33 if ($contenttype == "application/vnd.ogc.wms_xml; charset=utf-8"){ 34 34 header('Content-type: application/xml; charset=utf-8'); … … 36 36 } 37 37 38 ## getMap jpeg38 ## GetMap jpeg 39 39 else if ($contenttype == 'image/jpeg'){ 40 40 header('Content-type: image/jpeg'); … … 43 43 44 44 45 ## reset handler and cleaup added45 ## Reset handler and cleaup added 46 46 msIO_resetHandlers(); 47 47 msCleanup();