Changes between Version 4 and Version 5 of SWIGMapScriptNewLayer
- Timestamp:
- 2021-12-22T11:09:42-04:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SWIGMapScriptNewLayer
v4 v5 6 6 7 7 // define variables 8 define( "MAPFILE", "C:/ms4w/apps/phpmapscriptng-swig/sample.map" ); 9 10 // required SWIG include (contains constants for PHP7) 11 include("C:/ms4w/apps/phpmapscriptng-swig/include/mapscript.php"); 8 define( "MAPFILE", "C:/ms4w/apps/local-demo/local.map" ); 12 9 13 10 // open map … … 97 94 98 95 // save image file 99 //$file = $oImage->save("C:/ms4w/apps/ phpmapscriptng-swig/ttt.png",$oMap);96 //$file = $oImage->save("C:/ms4w/apps/local-demo/ttt.png",$oMap); 100 97 101 98 // save mapfile to new file 102 //$oMap->save("C:/ms4w/apps/ phpmapscriptng-swig/output.map");99 //$oMap->save("C:/ms4w/apps/local-demo/output.map"); 103 100 104 101 // set header