Changes between Version 5 and Version 6 of SWIGMapScriptNewLayer
- Timestamp:
- 2021-12-22T11:11:10-04:00 (3 years ago)
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= 2 2 3 3 {{{ … … 54 54 $oWMSLayer->setConnectionType(MS_WMS, NULL); 55 55 $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"); 60 60 $oWMSLayer->SetProjection("init=EPSG:3978"); 61 61