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.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to