← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1198: (GIS) Fixed bug where thematic map select features were deactivated when background wms was ticked.

 

------------------------------------------------------------
revno: 1198
author: janhenrik-overland <janhenrik.overland@xxxxxxxxx>
committer: admin <admin@laptop>
branch nick: trunk
timestamp: Wed 2009-12-09 18:42:34 +0100
message:
  (GIS) Fixed bug where thematic map select features were deactivated when background wms was ticked.
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-12-06 14:21:44 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js	2009-12-09 17:42:34 +0000
@@ -2827,7 +2827,7 @@
     
 	MAP.events.on({
         changelayer: function(e) {
-            if (e.property == 'visibility' && e.layer != choroplethLayer) {
+            if (e.property == 'visibility' && e.layer != choroplethLayer && e.layer != vmap0) {
                 if (e.layer.visibility) {
                     selectFeatureChoropleth.deactivate();
                 }