[mapguide-users] Get X Y of the click event on MapGuide

GordonL gordon.luckett at arrowgeomatics.com
Wed Apr 30 13:24:26 PDT 2014


Use the DigitizePoint method.

For BASIC/AJAX it is part of the viewer.

For Fusion, you will have to attach the MapGuideViewerApi.js to your
index.html page (C:\Program
Files\OSGeo\MapGuide\Web\www\fusion\layers\MapGuide\)

For example, in your index.html page in C:\Program
Files\OSGeo\MapGuide\Web\www\fusion\templates\mapguide\aqua\ add the
following line around line 10:



then you can use javascript to:

DigitizePoint(myPointHandler)

http://www.cnblogs.com/junqilian/archive/2010/06/04/1751563.html





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Get-X-Y-of-the-click-event-on-MapGuide-tp5137499p5138058.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list