Changes between Version 53 and Version 54 of MigrationGuide5.x


Ignore:
Timestamp:
2022-05-17T13:28:58-03:00 (3 months ago)
Author:
Jeff McKenna
Comment:

add how to get WEB metadata

Legend:

Unmodified
Added
Removed
Modified
  • MigrationGuide5.x

    v53 v54  
    3838      $oWMSLayer->metadata->set("wms_server_version", "1.1.1");
    3939      $oWMSLayer->metadata->set("wms_format", "image/png");
    40       //get metadata using the new 'metadata' hashTableObj keys directly
     40      //get LAYER metadata using the new 'metadata' hashTableObj keys directly
    4141      echo $oWMSLayer->metadata->get("wms_title");
     42      //get WEB object metadata
     43      echo $oMap->web->metadata->get("wms_title");
    4244    ?>
    4345  }}}