[Mapbender-commits] r8947 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 30 02:55:30 PDT 2014


Author: hwbllmnn
Date: 2014-06-30 02:55:30 -0700 (Mon, 30 Jun 2014)
New Revision: 8947

Modified:
   trunk/mapbender/http/plugins/mb_digitize_widget.php
Log:
try to convert simplestyle to kml style


Modified: trunk/mapbender/http/plugins/mb_digitize_widget.php
===================================================================
--- trunk/mapbender/http/plugins/mb_digitize_widget.php	2014-06-30 09:45:20 UTC (rev 8946)
+++ trunk/mapbender/http/plugins/mb_digitize_widget.php	2014-06-30 09:55:30 UTC (rev 8947)
@@ -406,7 +406,7 @@
             var url = $link.parent().parent().attr('title');
             var idx = $link.attr('idx');
             var data = kml._kmls[url];
-            kml = tokml(data.data.features[idx]);
+            kml = tokml(data.data.features[idx], {simplestyle: true});
             window.open('data:application/xml,' + encodeURIComponent(kml));
             menu.menu('destroy').remove();
         });
@@ -552,7 +552,7 @@
             var kml = $('#mapframe1').data('kml');
             var url = $link.parent().attr('title');
             var data = kml._kmls[url];
-            kml = tokml(data.data);
+            kml = tokml(data.data, {simplestyle: true});
             window.open('data:application/xml,' + encodeURIComponent(kml));
             menu.menu('destroy').remove();
         });



More information about the Mapbender_commits mailing list