[mapguide-users] Invoke script in Fusion layout using Maestro

Jackie Ng jumpinjackie at gmail.com
Wed Jul 3 04:19:02 PDT 2013


First you want to add a new InvokeScript widget to the list of registered
widgets

Then you want to stick your code in the <Script> element under the
<Extension> element of the widget definition's XML.

Note your script code won't work directly because Fusion has a different
client-side viewer API compared to the AJAX Viewer one.

You can take a look at this compatibility shim
(http://trac.osgeo.org/fusion/browser/trunk/layers/MapGuide/MapGuideViewerApi.js)
to see how to replicate some of the AJAX Viewer API in Fusion.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Invoke-script-in-Fusion-layout-using-Maestro-tp5063768p5063785.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list