Samson, Marko schrieb:
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.
I guess this is a bug. Can you please file a ticket and commit the corrected version?
Thanks Christoph
Greetings, Marko Samson
-- _______________________________________ W h e r e G r o u p GmbH & Co. KG Siemensstraße 8 53121 Bonn Germany Christoph Baudson Anwendungsentwickler Fon: +49 (0)228 / 90 90 38 - 15 Fax: +49 (0)228 / 90 90 38 - 11 [EMAIL PROTECTED] www.wheregroup.com Amtsgericht Bonn, HRA 6788 _______________________________________ Komplementärin: WhereGroup Verwaltungs GmbH vertreten durch: Arnulf Christl, Olaf Knopp, Peter Stamm _______________________________________ _______________________________________________ Mapbender_dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapbender_dev
