[fusion-commits] r2667 - sandbox/ol212

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue Mar 19 05:27:49 PDT 2013


Author: jng
Date: 2013-03-19 05:27:49 -0700 (Tue, 19 Mar 2013)
New Revision: 2667

Removed:
   sandbox/ol212/OL-MGOS-useOverlay.patch
Log:
Patch files should not be in source control. This patch file does not serve any purpose I know of.

Deleted: sandbox/ol212/OL-MGOS-useOverlay.patch
===================================================================
--- sandbox/ol212/OL-MGOS-useOverlay.patch	2013-03-19 12:24:11 UTC (rev 2666)
+++ sandbox/ol212/OL-MGOS-useOverlay.patch	2013-03-19 12:27:49 UTC (rev 2667)
@@ -1,37 +0,0 @@
-Index: lib/OpenLayers/Layer/MapGuide.js
-===================================================================
---- lib/OpenLayers/Layer/MapGuide.js	(revision 8066)
-+++ lib/OpenLayers/Layer/MapGuide.js	(working copy)
-@@ -24,6 +24,13 @@
-     isBaseLayer: true,
-     
-     /** 
-+     * APIProperty: useOverlay
-+     * {Boolean} flag to indicate if the layer should be retrieved using
-+     * GETMAPIMAGE (default) or using GETDYNAMICOVERLAY requests.
-+     **/
-+    useOverlay: false,
-+    
-+    /** 
-      * APIProperty: singleTile
-      * {Boolean} use tile server or request single tile image. Note that using
-      *    singleTile *and* isBaseLayer false is *not recommend*: it uses synchronous
-@@ -127,6 +134,9 @@
-                            this.params,
-                            this.SINGLE_TILE_PARAMS
-                            );
-+            if (options.useOverlay!=null) {
-+              this.useOverlay = options.useOverlay;
-+            }
-                            
-         } else {
-             //initialize for tiled layers
-@@ -202,7 +212,7 @@
-           params.setviewcentery = center.lat;
-           params.setviewscale = this.map.getScale();
-           
--          if (!this.isBaseLayer) {
-+          if (this.useOverlay) {
-             // in this case the main image operation is remapped to this
-             this.params.operation = "GETDYNAMICMAPOVERLAYIMAGE";
-             



More information about the fusion-commits mailing list