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

Mars Wu mars.wu at autodesk.com
Mon Aug 2 23:11:35 EDT 2010


Hi all,

Thank you all for the feedbacks, I updated the RFC 96 to reflect the idea: Quick Plot will replace the existing Get Printable Page command.

Thanks,
Mars 

-----Original Message-----
From: Mars Wu 
Sent: Friday, July 23, 2010 12:57 PM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] Small change in RFC 96 - QuickPlot solution for both Ajax and Fusion viewers

Hi Trevor,

Thanks for the questions. 
1. Quick Plot doesn't support print layout. The layout is just controlled by an html template. (a .templ file) 2. Quick Plot doesn't print legend tree. It's not easy to set the correct width and height for the legend image.
	
Thanks,
Mars

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Trevor Wekel
Sent: Thursday, July 22, 2010 11:47 PM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] Small change in RFC 96 - QuickPlot solution for both Ajax and Fusion viewers

Hi Mars,

I have a couple of questions on the QuickPlot solution which may lead to a related RFC:

Does QuickPlot support print layouts?

Will QuickPlot render the layer legend as part of the plot, or just the map area?  If so, does the DPI setting also apply to the layer legend rendering?

 
Regards,
Trevor


-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Mars Wu
Sent: July 22, 2010 2:43 AM
To: MapGuide Internals Mail List (mapguide-internals at lists.osgeo.org)
Subject: [mapguide-internals] Small change in RFC 96 - QuickPlot solution for both Ajax and Fusion viewers

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
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals



More information about the mapguide-internals mailing list