← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 975: (GIS) Background WMS unchecked and background folder expanded as default.

 

------------------------------------------------------------
revno: 975
committer: Jan Henrik Overland janhenrik.overland@xxxxxxxxx
branch nick: trunk
timestamp: Tue 2009-11-03 20:25:36 +0100
message:
  (GIS) Background WMS unchecked and background folder expanded as default.
modified:
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2009-10-06 00:48:07 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2009-11-03 19:25:36 +0000
@@ -2477,6 +2477,8 @@
     
     MAP.addLayers([ vmap0, choroplethLayer ]);
     
+	MAP.layers[0].setVisibility(false);
+    
 	function addOverlaysToMap() {
 		Ext.Ajax.request({
 			url: path + 'getAllMapLayers' + type,
@@ -2531,6 +2533,7 @@
 	var layerTreeConfig = [{
         nodeType: 'gx_baselayercontainer',
         singleClickExpand: true,
+        expanded: true,
         text: 'Backgrounds',
 		iconCls: 'icon-background'
     }, {