[mapguide-users] Turning on layer from task frame
Andy Morsell
amorsell at spatialgis.com
Fri Oct 27 16:49:03 EDT 2006
I don't think it's possible if you still want the layer to show up in the
legend. That would probably be a good API wish list item.
Andy
-----Original Message-----
From: Knight, Gregory [mailto:Gregory.Knight.bra at cityofboston.gov]
Sent: Friday, October 27, 2006 1:38 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Turning on layer from task frame
While we are on the topic...
Is there a way to disable layers from being turned on/off, while still
showing them in the legend?
Greg
-----Original Message-----
From: Andy Morsell [mailto:amorsell at spatialgis.com]
Sent: Friday, October 27, 2006 4:21 PM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] Turning on layer from task frame
You can use the MGLayer SetVisible method. Note that you will also have to
do a client-side API refresh in order to get your map and legend to update
accordingly.
Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com
-----Original Message-----
From: Jim O'Leary [mailto:joleary.public at gmail.com]
Sent: Friday, October 27, 2006 12:51 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Turning on layer from task frame
Is there a way to turn on a layer (that is, programmatically check the
layer
in the Layers pane) from the Task frame?
I have a select box of layers in my task frame. When the user selects a
layer, I would like the same layer to be checked in the Layer pane.
Right
now the user has to check the layer manually, or else the layer is not
selectable.
Thanks
--
View this message in context:
http://www.nabble.com/Turning-on-layer-from-task-frame-tf2522746.html#a7
0372
12
Sent from the OSGeo MapGuide mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally
privileged and/or exempt from disclosure pursuant to Massachusetts
law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and
delete the material from any computer.
---------------------------------------------------------------------
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