Changes between Version 10 and Version 11 of MigrationGuide5.x


Ignore:
Timestamp:
2021-12-22T13:02:05-04:00 (2 years ago)
Author:
Jeff McKenna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MigrationGuide5.x

    v10 v11  
    1616  * setOpacity() example: [[SWIGMapScriptOpacity|MS4W 5.x]]
    1717* quickmap.php has also been updated (see locally at ''/ms4w/Apache/htdocs/quickmap.php'')
     18* be aware that with the MapServer 8 release, many 'deprecated' things have been removed and will now throw an error.  For example, there is no longer a ''setMetaData()'' function for a Layer, in SWIG MapScript.  Instead here is a working example:
     19  {{{
     20    #!php
     21    $oWMSLayer->metadata->set("wms_name", "popplace");
     22    $oWMSLayer->metadata->set("wms_srs", "EPSG:3978");
     23    $oWMSLayer->metadata->set("wms_server_version", "1.1.1");
     24    $oWMSLayer->metadata->set("wms_format", "image/png");
     25  }}}
    1826
    1927== PROJ ==