← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1972: (GIS) Lightweight OpenLayers WMS set as default background.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 1972 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-08-26 11:24:49 +0530
message:
  (GIS) Lightweight OpenLayers WMS set as default background.
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	2010-08-20 10:00:28 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2010-08-26 05:47:58 +0000
@@ -173,10 +173,12 @@
 			success: function(r) {
                 var baseLayer = new OpenLayers.Layer.WMS(
                     'World',
-                    'http://iridl.ldeo.columbia.edu/cgi-bin/wms_dev/wms.pl',
-                    {layers: 'Health Regional Africa Meningitis Meningitis Observed'}
+                    // 'http://iridl.ldeo.columbia.edu/cgi-bin/wms_dev/wms.pl',
+                    // {layers: 'Health Regional Africa Meningitis Meningitis Observed'}
+                    'http://labs.metacarta.com/wms/vmap0',
+                    {layers: 'basic'}
                 );
-            
+                
                 MAP.addLayers([baseLayer]);
                 MAP.layers[0].setVisibility(false);