← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13001: (GIS) Map style updated.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 13001 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-11-22 02:10:54 +0100
message:
  (GIS) Map style updated.
modified:
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.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/app/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js	2013-11-20 11:26:47 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js	2013-11-22 01:00:47 +0000
@@ -571,17 +571,20 @@
 				strokeWidth: 1
 			},
 			select = {
-				strokeColor: '#000000',
-				strokeWidth: 2,
+				fillOpacity: 0.9,
+				strokeColor: '#fff',
+				strokeWidth: 1,
 				cursor: 'pointer'
 			};
 
 		if (id === 'boundary') {
 			defaults.fillOpacity = 0;
 			defaults.strokeColor = '#000';
+			defaults.strokeWidth = 1;
 
 			select.fillColor = '#000';
-			select.fillOpacity = 0.2;
+			select.fillOpacity = 0.15;
+			select.strokeColor = '#000';
 			select.strokeWidth = 1;
 		}