You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2013/07/16 21:24:33 UTC

svn commit: r1503841 - /incubator/climate/trunk/rcmet/src/main/ui/app/js/directives/PreviewMap.js

Author: joyce
Date: Tue Jul 16 19:24:33 2013
New Revision: 1503841

URL: http://svn.apache.org/r1503841
Log:
CLIMATE-202 - Prevent PreviewMap overlays from hiding on scroll

Add worldCopyJump setting to PreviewMap directive initialization.

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

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