Changes between Version 24 and Version 25 of PerlMapScriptExamples35
- Timestamp:
- Jan 29, 2009, 7:16:08 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PerlMapScriptExamples35
v24 v25 83 83 The Landview print rotuine - PDF output using pdflib. 84 84 85 Perl Mapscript 4.2+ Examples 85 = Perl Mapscript 4.2+ Examples = 86 86 87 87 There are fairly major changes in Mapserver4.0+, styleObj, colorObj, etc. and many new methods thanks to Sean Giles so I figured it's time for a new section of examples. My experience, with little testing, was that mapscript4.0.2 was not quite ready for prime time, missing some of the newer methods. 88 88 One major thing to watch out for, Sean made use of Perl's automatic garbage collection, creating destructors for all objects so there is no need to call any free() methods. In fact $imageObj->free() causes a core dump. The free() methods will be going away in the near future. 89 89 90 querypoints42.pl submitted by Eric Bridger <eric@gomoos.org>90 * [wiki:PerlMapScriptExamples42ex1 query_points42.pl submitted by Eric Bridger <eric@gomoos.org> 91 91 92 92 Just a 4.2 version of query_points2.pl, above. Shows how to create a dynamic point layer which responds to queryByPoint() and will return your numeric database key values and illustrates the use of the new styleObject and the new setRGB() methods and the new $layerObj->getNumResults().