Changes between Version 10 and Version 11 of MigrationGuide5.x
- Timestamp:
- 2021-12-22T13:02:05-04:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MigrationGuide5.x
v10 v11 16 16 * setOpacity() example: [[SWIGMapScriptOpacity|MS4W 5.x]] 17 17 * 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 }}} 18 26 19 27 == PROJ ==