[mapguide-users] Custom layouts...

Andy Morsell amorsell at spatialgis.com
Tue Mar 21 15:10:56 EST 2006


I thought that Autodesk was looking at making a locator/inset map an
additional web layout component.  It really seems like it should be a
standard element.


Andy

-----Original Message-----
From: Jason Birch [mailto:Jason.Birch at nanaimo.ca] 
Sent: Tuesday, March 21, 2006 11:58 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Custom layouts...

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org








More information about the Mapguide-users mailing list