climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1503840 - /incubator/climate/trunk/rcmet/src/main/ui/app/js/directives/LeafletMap.js
Date Tue, 16 Jul 2013 19:24:30 GMT
Author: joyce
Date: Tue Jul 16 19:24:30 2013
New Revision: 1503840

URL: http://svn.apache.org/r1503840
Log:
CLIMATE-201 - Prevent Leaflet map overlays from hiding on scroll

- Add worldCopyJump attribute to LeafletMap directive initialization.
  When the user scrolls an overlay off the screen it will be redrawn on
  the appropriate region when it enters the view.

Modified:
    incubator/climate/trunk/rcmet/src/main/ui/app/js/directives/LeafletMap.js

Modified: incubator/climate/trunk/rcmet/src/main/ui/app/js/directives/LeafletMap.js
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/ui/app/js/directives/LeafletMap.js?rev=1503840&r1=1503839&r2=1503840&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/ui/app/js/directives/LeafletMap.js (original)
+++ incubator/climate/trunk/rcmet/src/main/ui/app/js/directives/LeafletMap.js Tue Jul 16 19:24:30
2013
@@ -29,6 +29,7 @@ App.Directives.directive('leafletMap', f
 				zoom: 2,
 				scrollWheelZoom: false,
 				attributionControl: false,
+				worldCopyJump: true,
 			});
 
 			//create a CloudMade tile layer and add it to the map



Mime
View raw message