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

svlad svlad.cjelli42 at web.de
Tue Mar 21 07:05:15 PDT 2017


Hi, I placed this viewer in an iframe named "mapframe" and it works!

var myviewer = mapframe.GetViewerInterface();
and
mapframe.RegisterSelectionHandler(mySelectionHandler);

That's what I wanted!

Can I declare other handlers (MapLoaded etc.) without modify the viewer
sources?

Thanks, svlad



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


More information about the mapguide-users mailing list