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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 2 00:38:33 PDT 2014


Author: hwbllmnn
Date: 2014-07-02 00:38:33 -0700 (Wed, 02 Jul 2014)
New Revision: 8968

Modified:
   trunk/mapbender/http/plugins/mb_digitize_widget.php
Log:
added text to format list, adapted layout


Modified: trunk/mapbender/http/plugins/mb_digitize_widget.php
===================================================================
--- trunk/mapbender/http/plugins/mb_digitize_widget.php	2014-07-02 07:32:51 UTC (rev 8967)
+++ trunk/mapbender/http/plugins/mb_digitize_widget.php	2014-07-02 07:38:33 UTC (rev 8968)
@@ -150,10 +150,10 @@
 
     var exportHtml = '<div id="export-dialog" title="Export my features">'
                      + '<form>'
-                     + '<label class="export-format-kml"><input type="radio" name="export-format" value="kml" checked="checked"></input></label>'
-                     + '<label class="export-format-gpx"><input type="radio" name="export-format" value="gpx"></input></label>'
-                     + '<label class="export-format-geojson"><input type="radio" name="export-format" value="geojson"></input></label>'
-                     + '<div class="digitize-image digitize-export" style="float: right;"></div>'
+                     + '<label class="export-format-kml">KML<input type="radio" name="export-format" value="kml" checked="checked"></input></label>'
+                     + '<label class="export-format-gpx">GPX<input type="radio" name="export-format" value="gpx"></input></label>'
+                     + '<label class="export-format-geojson">geoJSON<input type="radio" name="export-format" value="geojson"></input></label><br></br>'
+                     + '<div class="digitize-image digitize-export" style="float: left;"></div>'
                      + '</form>'
                      + '</div>';
 
@@ -288,7 +288,7 @@
     };
 
     var exportItem = function(data) {
-        var dlg = $(exportHtml).dialog();
+        var dlg = $(exportHtml).dialog({ width: 330, height: 165 });
         $(dlg).find('.digitize-export').bind('click', function() {
             var fmt = $(dlg).find('input:checked').val();
             $(dlg).dialog('destroy');



More information about the Mapbender_commits mailing list