[mapguide-users] Newbie: My first map
Jackie C. Ng
jumpinjackie at gmail.com
Sun Apr 20 07:59:27 EDT 2008
the mapviewer frame *always* requires the WEBLAYOUT parameter.
What you could do is save the WebLayout as an xml document. Before you would
load your viewer frame, read this xml document. Set the inner text of the
<Visible> tag elements of the regions you want visible. Save this as a
session resource. And pass this session resource id as the WEBLAYOUT
parameter to the mapviewer frame.
If you want to actually toggle the visibility of viewer components once the
viewer has been loaded. You would have to do *extensive* modification as
this is currently not possible. The visibility settings are only considered
when the viewer is being initialized and loaded.
- Jackie
igotim wrote:
>
> Thanks for your quick reply, Jackie, you've pointed me in the right
> direction. However, is there any way to switch these on/off
> programmatically (maybe instead of passing the WEBLAYOUT parameter to
> mapviewer frame)?
>
> Igor
>
>
> Jackie C. Ng wrote:
>>
>> The WebLayout allows you to set the visibility of the regions you have
>> just mentioned. If you have MapGuide Studio. Just untick their visiblity
>> in the WebLayout settings.
>>
>> - Jackie
>>
>>
>> igotim wrote:
>>>
>>> Hi, all
>>>
>>> I'm very new to MapGuide, but I really need this one: how can I
>>> incorporate ajaxviewer into my page, but with _only_ map and slider
>>> visible (i.e. no toolbar, task list, properties panel, etc.)?
>>>
>>> Best regards,
>>> Timi
>>>
>>>
>>
>>
>
>
-----
http://themapguyde.blogspot.com
http://www.linkedin.com/in/jackieng
--
View this message in context: http://www.nabble.com/Newbie%3A-My-first-map-tp16789282s16610p16790682.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list