[Mapbender-commits] r8926 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jun 24 07:25:21 PDT 2014
Author: hwbllmnn
Date: 2014-06-24 07:25:21 -0700 (Tue, 24 Jun 2014)
New Revision: 8926
Modified:
trunk/mapbender/http/plugins/mb_digitize_widget.php
Log:
zoom to feature when opening style dialog
Modified: trunk/mapbender/http/plugins/mb_digitize_widget.php
===================================================================
--- trunk/mapbender/http/plugins/mb_digitize_widget.php 2014-06-24 13:50:09 UTC (rev 8925)
+++ trunk/mapbender/http/plugins/mb_digitize_widget.php 2014-06-24 14:25:21 UTC (rev 8926)
@@ -282,6 +282,8 @@
var feature = kml._kmls[url].data.features[idx];
var isline = false;
+ kml.zoomToFeature(url, idx);
+
if(feature.geometry.type.match(/point/i)) {
editStyleDialog.find('input[name*="fill"],input[name*="stroke"],.opacity-slider').parent().parent().css('display', 'none');
editStyleDialog.find('input[name*="marker"]').parent().parent().css('display', 'table-row');
More information about the Mapbender_commits
mailing list