[Mapbender-commits] r8878 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri May 16 05:45:23 PDT 2014
Author: hwbllmnn
Date: 2014-05-16 05:45:23 -0700 (Fri, 16 May 2014)
New Revision: 8878
Modified:
trunk/mapbender/http/plugins/mb_digitize_widget.php
Log:
fixed handling of multiple geometry updates w/o changing the original digitized point objects
Modified: trunk/mapbender/http/plugins/mb_digitize_widget.php
===================================================================
--- trunk/mapbender/http/plugins/mb_digitize_widget.php 2014-05-16 12:42:03 UTC (rev 8877)
+++ trunk/mapbender/http/plugins/mb_digitize_widget.php 2014-05-16 12:45:23 UTC (rev 8878)
@@ -423,7 +423,7 @@
var kml = $('#mapframe1').data('kml');
var digit = o.$target.data('mb_digitize');
digit.modeOff();
- var pts = digit._digitizePoints;
+ var pts = $.extend(true, {}, digit._digitizePoints);
$.each(pts, function(_, v) {
Proj4js.transform(kml.targetProj, kml.wgs84, v.pos);
});
More information about the Mapbender_commits
mailing list