← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/2.0.6] Rev 2753: OSM base layer correction.

 

------------------------------------------------------------
revno: 2753
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: 2.0.6
timestamp: Wed 2011-02-02 16:31:00 +0100
message:
  OSM base layer correction.
modified:
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js


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

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-devs-core/dhis2/2.0.6.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/2.0.6/+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	2011-01-31 13:01:29 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2011-02-02 15:31:00 +0000
@@ -347,11 +347,11 @@
             osmarender.layerType = G.conf.map_layer_type_baselayer;
             G.vars.map.addLayer(osmarender);
             
-            var mapnik = new OpenLayers.Layer.OSM.Osmarender("OSM Mapnik");
+            var mapnik = new OpenLayers.Layer.OSM.Mapnik("OSM Mapnik");
             mapnik.layerType = G.conf.map_layer_type_baselayer;
             G.vars.map.addLayer(mapnik);
             
-            var cyclemap = new OpenLayers.Layer.OSM.Osmarender("OSM CycleMap");
+            var cyclemap = new OpenLayers.Layer.OSM.CycleMap("OSM CycleMap");
             cyclemap.layerType = G.conf.map_layer_type_baselayer;
             G.vars.map.addLayer(cyclemap);
         }