Changes between Version 5 and Version 6 of SWIGMapScriptNewLayer


Ignore:
Timestamp:
2021-12-22T11:11:10-04:00 (3 years ago)
Author:
Jeff McKenna
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SWIGMapScriptNewLayer

    v5 v6  
    1 = Creating a WMS layer, a Polygon layer with Opacity, a Point layer with an inline feature, using SWIG !MapScript =
     1= Creating a WMS layer, a Polygon layer with Opacity, a Point layer with an inline feature, using SWIG !MapScript and MS4W 5.x=
    22
    33{{{
     
    5454$oWMSLayer->setConnectionType(MS_WMS, NULL);
    5555$oWMSLayer->__set("connection", "https://demo.gatewaygeomatics.com/cgi-bin/wms_gateway?");
    56 $oWMSLayer->setMetaData("wms_name", "popplace");
    57 $oWMSLayer->setMetaData("wms_srs", "EPSG:3978");
    58 $oWMSLayer->setMetaData("wms_server_version", "1.1.1");
    59 $oWMSLayer->setMetaData("wms_format", "image/png");
     56$oWMSLayer->metadata->set("wms_name", "popplace");
     57$oWMSLayer->metadata->set("wms_srs", "EPSG:3978");
     58$oWMSLayer->metadata->set("wms_server_version", "1.1.1");
     59$oWMSLayer->metadata->set("wms_format", "image/png");
    6060$oWMSLayer->SetProjection("init=EPSG:3978");
    6161