[fusion-commits] r2404 - trunk/layers/MapGuide
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Jun 16 23:45:30 EDT 2011
Author: liuar
Date: 2011-06-16 20:45:30 -0700 (Thu, 16 Jun 2011)
New Revision: 2404
Modified:
trunk/layers/MapGuide/MapGuide.js
Log:
Fix a minor issue about valid session function for baselayers.
Modified: trunk/layers/MapGuide/MapGuide.js
===================================================================
--- trunk/layers/MapGuide/MapGuide.js 2011-06-14 15:14:08 UTC (rev 2403)
+++ trunk/layers/MapGuide/MapGuide.js 2011-06-17 03:45:30 UTC (rev 2404)
@@ -1086,7 +1086,7 @@
layerNames += sep + this.aLayers[i].layerName;
sep = ',';
}
- var r = new Fusion.Lib.MGRequest.MGQueryMapFeatures(this.mapWidget.getSessionID(),
+ var r = new Fusion.Lib.MGRequest.MGQueryMapFeatures(this.getSessionID(),
this._sMapname,
sGeometry,
maxFeatures, persist, selection, layerNames,
@@ -1117,7 +1117,8 @@
if (!this.singleTile) {
var center = this.mapWidget.oMapOL.getCenter();
var display = this.mapWidget.oMapOL.getSize();
- var r = new Fusion.Lib.MGRequest.MGGetVisibleMapExtent(this.mapWidget.getSessionID(),
+
+ var r = new Fusion.Lib.MGRequest.MGGetVisibleMapExtent(this.getSessionID(),
this._sMapname,
center.lon, center.lat,
this.mapWidget.oMapOL.getScale(),
More information about the fusion-commits
mailing list