[mapguide-internals] Small change in RFC 96 - QuickPlot solution for both Ajax and Fusion viewers

Mars Wu mars.wu at autodesk.com
Thu Jul 22 04:42:37 EDT 2010


Hi all,

I am implementing RFC 96. And I'd like to raise a small change in that RFC.
The original solution for Ajax Viewer is like following:

In Aajx viewer, Quick Plot will be implemented as an "Invoke Script" command:

*         A new function startQuickPlot will be implemented in ajaxmappane.templ to start Quick Plot logic by loading the main UI into the Task Pane. The main UI will share the template for Fusion viewer. The template is shared as "copy / paste" so that there is no dependencies between Ajax viewer and Fusion viewer.

*         The preview dialog will also be implemented through Jx.Dialog. That means we need includes JxLib.js in Ajax viewer.

*         The capture box will be drawn in the map through the built-in jsGraphic API.

*         New event handlers will be attached to the map window to handle the capture box's drag / drop / rotate

The new idea is: we don't implement it as an "Invoke Script" command. Instead, we replace the existing "Get Printable Page" command, just like we replace the "Print" widget for Fusion Viewer.

What do you think?

Thanks,
Mars


More information about the mapguide-internals mailing list