[fusion-commits] r2644 - sandbox/adsk/2.5k/layers/MapGuide/php
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Feb 21 22:15:36 PST 2013
Author: ChristineBao
Date: 2013-02-21 22:15:35 -0800 (Thu, 21 Feb 2013)
New Revision: 2644
Modified:
sandbox/adsk/2.5k/layers/MapGuide/php/GetSelectionProperties.php
Log:
Fix defect 1493856: 'Zoom Selection' doesn't work in Flexible Web layout
The selection extents are needed when executing "Zoom Selection".
Modified: sandbox/adsk/2.5k/layers/MapGuide/php/GetSelectionProperties.php
===================================================================
--- sandbox/adsk/2.5k/layers/MapGuide/php/GetSelectionProperties.php 2013-02-22 00:28:59 UTC (rev 2643)
+++ sandbox/adsk/2.5k/layers/MapGuide/php/GetSelectionProperties.php 2013-02-22 06:15:35 UTC (rev 2644)
@@ -159,9 +159,7 @@
if ($layers && $layers->GetCount() >= 0)
{
$result->hasSelection = true;
- //Don't call GetExtents() because it is time-consuming and it seems the extents is not used in other places.
- //$oExtents = $selection->GetExtents($featureService);
- $oExtents = NULL;
+ $oExtents = $selection->GetExtents($featureService);
if ($oExtents)
{
$oMin = $oExtents->GetLowerLeftCoordinate();
More information about the fusion-commits
mailing list