[mapguide-commits] r7798 - trunk/MgDev/Doc/samples/ol2samples/selection

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Aug 22 04:49:46 PDT 2013


Author: jng
Date: 2013-08-22 04:49:46 -0700 (Thu, 22 Aug 2013)
New Revision: 7798

Modified:
   trunk/MgDev/Doc/samples/ol2samples/selection/index.html
Log:
#2344: Fix selection behaviour in sample

Modified: trunk/MgDev/Doc/samples/ol2samples/selection/index.html
===================================================================
--- trunk/MgDev/Doc/samples/ol2samples/selection/index.html	2013-08-21 16:51:20 UTC (rev 7797)
+++ trunk/MgDev/Doc/samples/ol2samples/selection/index.html	2013-08-22 11:49:46 UTC (rev 7798)
@@ -142,6 +142,7 @@
             };
             var selOptions = {
                 isBaseLayer: false,
+                transitionEffect: "resize",
                 buffer: 1,
                 useOverlay: true,
                 useAsyncOverlay: true,
@@ -178,7 +179,7 @@
             
             map = new OpenLayers.Map('map', mapOptions );
             mgLayer = new OpenLayers.Layer.MapGuide( "MapGuide (from CREATERUNTIMEMAP)", mapAgentUrl, params, options );
-            selLayer = new OpenLayers.Layer.MapGuide( "MapGuide Selection Overlay", mapAgentUrl, selParams, options );
+            selLayer = new OpenLayers.Layer.MapGuide( "MapGuide Selection Overlay", mapAgentUrl, selParams, selOptions );
             map.addLayer(mgLayer);
             map.addLayer(selLayer);
             



More information about the mapguide-commits mailing list