I just recognized, that the last clicked part of o stroke from a lenght 
measurement does not apear at the pdf file. (2.5rc5)

The function addMeasuredItem from print_functions.php deletes the last part of 
the measure-array, if the measure-array isn't a closed polygon (first==last 
point):

219         if (isClosedPolygon($theFullArr)) {
220           $nr_of_points = count($theFullArr);
221             $isClosed = TRUE;
222         } else {
223           $nr_of_points = count($theFullArr) - 1;
224             $isClosed = FALSE;
225         }


Is there a reason why? I just deleted the "-1" and everything works fine. 


Greetings,
Marko Samson

-- 
Marko Samson
Landesbetrieb Wald und Holz NRW
GIS-Anwendungsentwicklung
Referat I-5
Albrecht-Thaer-Straße 34
48147 Münster

Tel.:   0251/91797-166(Montags)
        05771/913455(Freitags)  
Mail: [EMAIL PROTECTED]
 
_______________________________________________
Mapbender_dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapbender_dev

Reply via email to