[mapguide-users] Navigation Example .NET
Berdel, Brian
brian.berdel at mcmtrans.com
Fri May 18 13:24:40 EDT 2007
Cool, thanks! I'll give it a try.
Brian Berdel
McMahon Associates, Inc.
p: 215.283.9444
www.mcmtrans.com
________________________________
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Andy
Morsell
Sent: Friday, May 18, 2007 12:39 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Navigation Example .NET
The execution of the API functions must happen server side in this
instance. But, it looks like you could put your .NET conditional code
in the gotopoint.aspx page and it would work. The OnPageLoad()
javascript function would fire afterwards so all should behave smoothly.
And, you would not have to programmatically refresh the map since that
will happen with the ZoomToView anyway.
Andy
________________________________
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Berdel,
Brian
Sent: Friday, May 18, 2007 9:28 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Navigation Example .NET
Thanks for the response. I am looking for a way to achieve this on the
client side. I do not want to check until after the user has clicked on
link. (such as putting it in the gotopoint.aspx page). Will this work
here?
Brian Berdel
McMahon Associates, Inc.
p: 215.283.9444
www.mcmtrans.com
________________________________
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Andy
Morsell
Sent: Friday, May 18, 2007 11:40 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] Navigation Example .NET
You should be able to use the MgLayer::IsVisible function to check the
visibility and then SetVisible to turn it on. You will then have to
refresh the map to reflect the change.
Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com
________________________________
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Berdel,
Brian
Sent: Friday, May 18, 2007 8:00 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Navigation Example .NET
Anyone know how I would go about checking to see if a layer was on in
the navigation example and if it is not turn it when clicking a link.
Thanks!
Brian Berdel
McMahon Associates, Inc.
p: 215.283.9444
www.mcmtrans.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070518/913c7d31/attachment-0001.html
More information about the mapguide-users
mailing list