[mapguide-users] react-layout: Hooking to events in the AJAX viewer (OnSelectionChanged)

Jackie Ng jumpinjackie at gmail.com
Tue Mar 21 01:55:09 PDT 2017


I've just landed support so that task pane content can install/uninstall
selection change event handlers.

If you want to try this out right now (instead of waiting for me to release
0.9), grab the latest viewer.zip from the AppVeyor artifacts page:

https://ci.appveyor.com/project/jumpinjackie/mapguide-react-layout/build/artifacts

In there, there is a new examples/taskpane/viewerapi.html file that
demonstrates how to access the new enhanced viewer APIs from task pane
content and an example of how to register/unregister selection change event
handlers. The example selection handler converts whatever selection object
it receives to selection XML.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/react-layout-Hooking-to-events-in-the-AJAX-viewer-OnSelectionChanged-tp5309934p5313339.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list