[Mapbender-commits] r10264 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Sep 18 07:35:16 PDT 2019
Author: armin11
Date: 2019-09-18 07:35:16 -0700 (Wed, 18 Sep 2019)
New Revision: 10264
Modified:
trunk/mapbender/http/javascripts/mod_featureInfo.php
Log:
Default set element_vars featureInfoDrawClick and featureInfoLayerPreselect of mod_featureInfo.php to true
Modified: trunk/mapbender/http/javascripts/mod_featureInfo.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_featureInfo.php 2019-09-18 09:40:07 UTC (rev 10263)
+++ trunk/mapbender/http/javascripts/mod_featureInfo.php 2019-09-18 14:35:16 UTC (rev 10264)
@@ -35,10 +35,16 @@
var featureInfoPopupPosition = 'center';
if(typeof(reverseInfo)==='undefined' || reverseInfo === 'false')
var reverseInfo = false;
-if(typeof(featureInfoLayerPreselect)==='undefined' || featureInfoLayerPreselect === 'false')
+if(typeof(featureInfoLayerPreselect)==='undefined' || featureInfoLayerPreselect === 'true'){
+ var featureInfoLayerPreselect = true;
+} else {
var featureInfoLayerPreselect = false;
-if(typeof(featureInfoDrawClick)==='undefined')
+}
+if(typeof(featureInfoDrawClick)==='undefined' || featureInfoDrawClick === 'true'){
+ var featureInfoDrawClick = true;
+} else {
var featureInfoDrawClick = false;
+}
if(typeof(featureInfoCircleColor)==='undefined')
var featureInfoCircleColor = '#ff0000';
if(typeof(featureInfoCollectLayers)==='undefined' || featureInfoCollectLayers === 'false')
More information about the Mapbender_commits
mailing list