[mapguide-users] Get coords from Database with PHP then zoom to location in iFrame
GordonL
gordon.luckett at arrowgeomatics.com
Thu Jul 4 12:15:39 PDT 2013
The GETSELECTIONXML.php needs 6 things:
SESSION
MAPNAME
KEYNAME like ID
LAYERNAME like Roads
ISSTRING like 1 or 0
KEY like 112345
You should have all 6 in the javascript:
var mapWidget = Fusion.getMapById('Map');
var SESSION =mapWidget.aMaps[0].getSessionID();
var MAPNAME = mapWidget.aMaps[0].getMapName();
var KEY=getParam('KEY');
var ISSTRING=getParam('ISSTRING');
var KEYNAME=getParam('KEYNAME');
var LAYERNAME=getParam('LAYERNAME');
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Get-coords-from-Database-with-PHP-then-zoom-to-location-in-iFrame-tp5060902p5064153.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list