dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10186
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2801: OSM base layer correction.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 2801 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-02-02 16:30:02 +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
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 2011-02-02 13:36:42 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js 2011-02-02 15:24:39 +0000
@@ -383,11 +383,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);