[mapguide-users] Collapse layers and properties panes
Kori Maleski
Kori.Maleski at websoftdev.com
Thu Oct 18 14:21:03 EDT 2007
The Ajax viewer requires that the legend be present for the map to work.
After each map event it interacts with the legend in order to appropriately
display the map layers.
This if the layout is set with the legend being configured for display.
You would have to disable the javascript interaction. I haven't done it
myself within the weblayout, but I have in the case of a map only weblayout
with a custom legend frame. The required changes may be different.
Cheers,
________________________________
Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
kori.maleski at websoftdev.com
________________________________
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jim O'Leary
Sent: Thursday, October 18, 2007 10:11 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Collapse layers and properties panes
Is it possible to collapse the layers and properties pane programmatically?
I
can set the InfoBand td width to 0px and set the InfoDiv div to display =
none with JavaScript, but the map itself moves to the left, it does not
expand to cover the entire map frame. Furthermore, when you pan or do other
viewer operations with the map this way, you soon get JavaScript errors,
indicating that the JavaScript code is looking for those collapsed TD/Divs.
Thanks
--
View this message in context:
http://www.nabble.com/Collapse-layers-and-properties-panes-tf4648417s16610.h
tml#a13279235
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list