Changes between Version 11 and Version 12 of MigrationGuide5.x


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

--

Legend:

Unmodified
Added
Removed
Modified
  • MigrationGuide5.x

    v11 v12  
    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:
     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:
    1919  {{{
    2020    #!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");
     21    <?php
     22      oWMSLayer->metadata->set("wms_name", "popplace");
     23      $oWMSLayer->metadata->set("wms_srs", "EPSG:3978");
     24      $oWMSLayer->metadata->set("wms_server_version", "1.1.1");
     25      $oWMSLayer->metadata->set("wms_format", "image/png");
     26    ?>
    2527  }}}
    2628