[mapguide-users] Custom layouts...

Jason Birch Jason.Birch at nanaimo.ca
Tue Mar 21 14:58:05 EST 2006


I wonder if there is some way I could modify the template to:
 - move the legend iframe to the same area as the task results area and
 - add an inset map

I'm thinking that I could add a button to the toolbar area that when
clicked toggles between legend display and the task results area.  I
would also have to provide an override to the selection action,
displaying the results in the task area.  This would allow me to have a
single panel for legend/tasks/identify results, with a box at the bottom
for an inset map, maximizing the screen space.  I'd also like to see
about adding a "show/hide" button that collapses and expands the
task/inset frame.  Ideally, this would be a graphical indicator attached
to the frame like in Dreamweaver or Visual Studio.

If I can do these changes in a fairly generic way, then I don't have to
worry about making global changes to the template, as they'll be
globally useful.  Then I only have to worry about re-integrating the
changes with new MapGuide releases...

Using the Studio authoring environment and the default layout eases
maintenance and development time, but our users have become accustomed
to a custom surround.  Besides, we don't want to be boring :)

It would be nice if, since this app requires PHP, we could move to using
Smarty or PHPTemplate or something like that for generating the pages,
with a method of selecting the template to be used with each layout.
This would allow for easier customisation.

Jason 

-----Original Message-----
From: Kori Maleski [mailto:km at pat.ca] 
Sent: Tuesday, March 21, 2006 11:42
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Custom layouts...


I am not quite there yet...

I have had issues with trying to put an inset map in the Task Panel
because of the Task panel Page reloading.  An IFRAME would be the
easiest way - as it would mean not modifying the Frames.  You would have
to put in a Red Line function to draw the map reference area in the
inset map that would have to be called when the map view changed,
requiring another modification to the mainframe.templ.

I will probably start working on this next week.




More information about the Mapguide_users mailing list