<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.SHAPE
        {BEHAVIOR: url(#default#VML)
;}
a:link
        {mso-style-priority: 99
;}
span.MSOHYPERLINK
        {mso-style-priority: 99
;}
a:visited
        {mso-style-priority: 99
;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority: 99
;}
p
        {mso-style-priority: 99
;}
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Palatino Linotype";
        panose-1:2 4 5 2 5 5 5 3 3 4;}
@font-face
        {font-family:Calibri;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Cool, thanks! I’ll give it a try. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=3 color=navy face="Palatino Linotype"><span
style='font-size:12.0pt;font-family:"Palatino Linotype";color:navy'>Brian
Berdel</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>McMahon
Associates, Inc.</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>p:
215.283.9444</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>www.mcmtrans.com</span></font><o:p></o:p></p>
</div>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Andy Morsell<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, May 18, 2007 12:39
PM<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">MapGuide
Users Mail List</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [mapguide-users]
Navigation Example .NET</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>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.</span></font><o:p></o:p></p>
<p><font size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma'><!-- Converted from text/rtf format -->Andy
</span></font><o:p></o:p></p>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Berdel, Brian<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, May 18, 2007 9:28 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">MapGuide
Users Mail List</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [mapguide-users]
Navigation Example .NET</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=3 color=navy face="Palatino Linotype"><span
style='font-size:12.0pt;font-family:"Palatino Linotype";color:navy'>Brian
Berdel</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>McMahon
Associates, Inc.</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>p:
215.283.9444</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>www.mcmtrans.com</span></font><o:p></o:p></p>
</div>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Andy Morsell<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, May 18, 2007 11:40
AM<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">MapGuide
Users Mail List</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [mapguide-users]
Navigation Example .NET</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>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.</span></font><o:p></o:p></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<p><font size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma'><!-- Converted from text/rtf format -->Andy
Morsell, P.E.</span></font> <br>
<font size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma'>Spatial
Integrators, Inc.</span></font> <br>
<font size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma'><a
href="http://www.SpatialGIS.com">http://www.SpatialGIS.com</a></span></font> <o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Berdel, Brian<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, May 18, 2007 8:00 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">MapGuide
Users Mail List</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [mapguide-users]
Navigation Example .NET</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=3 color=navy face="Palatino Linotype"><span
style='font-size:12.0pt;font-family:"Palatino Linotype";color:navy'>Brian
Berdel</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>McMahon
Associates, Inc.</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>p:
215.283.9444</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=navy face="Palatino Linotype"><span
style='font-size:10.0pt;font-family:"Palatino Linotype";color:navy'>www.mcmtrans.com</span></font><o:p></o:p></p>
</div>
</div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</body>
</html>