dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04492
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1504: (GIS) Map position and zoom level now unchanged when showing/hiding feature labels.
------------------------------------------------------------
revno: 1504
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-02-25 14:42:48 +0100
message:
(GIS) Map position and zoom level now unchanged when showing/hiding feature labels.
modified:
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/index.html
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/index.html'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/index.html 2010-02-25 13:16:07 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/index.html 2010-02-25 13:42:48 +0000
@@ -66,7 +66,6 @@
<div id="position">
<div id="mouseposition"></div>
</div>
-
</body>
</html>
\ No newline at end of file
=== 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-02-25 13:16:07 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js 2010-02-25 13:42:48 +0000
@@ -98,10 +98,10 @@
}
if (ACTIVEPANEL == 'choropleth') {
- choropleth.classify(true);
+ choropleth.classify(false, true);
}
else if (ACTIVEPANEL == 'mapping') {
- mapping.classify(true);
+ mapping.classify(false, true);
}
}
else {