The approach mentioned by Chris will leave you with the legend and taskpane side by side, rather than on top. While it is possible to modify the viewer, there are two things going against it:

1) It was not made for modification, which will make it hard to fit in customizations 2) Any change has to be re-implemented when your client upgrades to the next version of MG

Number 1) implies that you will spend a lot of time, and number 2) implies that you will do it multiple times.

For these reasons, Fusion was built.
While I can see issues with Fusion, it is meant to be customized, and I would recommend that you either
"roll your own" viewer or use Fusion, if the basic viewer is not enough.

Regards, Kenneth Skovhede, GEOGRAF A/S

On 14-12-2009 18:48, Chris Claydon wrote:
Without trying it, I'm not sure if this would work but it might be worth a 
try...

1) In MG Studio or equivalent, open your basic layout and disable the 
properties pane and task pane.
2) Set URL hyperlinks to open in a specified frame, and pick a new unique name 
for the frame.
3) Set all commands that are currently targeted at the task pane also to open 
in that specified frame.
4) Modify the AJAX viewer to add a new frame with the unique name below the 
legend.

It shouldn't take a huge amount of effort to figure out if it's actually going 
to work.

Chris.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jo Cook
Sent: Monday, December 14, 2009 7:54 AM
To: [email protected]
Subject: [mapguide-users] changing position of task bar


Dear all,

I would like to change the position of the task bar in the ajax viewer for
MGOS 2.1. I have seen the posts about changing it to the left-hand side, and
have implemented that, but ideally I want to ditch the properties pane and
integrate the task pane (with a custom properties task included) below the
legend. When I look in the developer's guide at the layout of the frames
within the ajax viewer, it doesn't look like this is going to be possible,
as both the legend and the properties panes are integrated within the main
mapframe.

Is there a way to do what I want, by changing the order of frames within the
various templates, or am I wasting my time? For a number of regions, the
client wants the ajax viewer rather than fusion.

Thanks

Jo
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to