<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (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]-->
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I’m attaching the file executed by my hidden script frame in
the hopes that it will bring me good karma and someone will help me fix the
problems I’m having with Fusion. I stumbled my way through this
when I was learning MapGuide so there are probably better ways to do it –
but it works!<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Good luck,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Andy<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Thierry_M (via
Nabble) [mailto:<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3303666&i=0" target="_top" rel="nofollow">ml-user+250506-318835818@...</a>] <br>
<b>Sent:</b> Wednesday, July 22, 2009 3:54 AM<br>
<b>To:</b> GreenMapSanMiguel<br>
<b>Subject:</b> Re: [mapguide-users] Select features on map load<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>Hi Andy, <br>
I want to do exactly the same thing, but i can't see the PHP code in your
Scriptframe. <br>
Do I miss something ? is there a way to get this code ? <br>
<br>
Thank you. <br>
<br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal><b>GreenMapSanMiguel wrote:<o:p></o:p></b></p>
</div>
<div>
<p class=MsoNormal>Hi Paulo, <br>
<br>
I think I am doing exactly what you want to do. I have some ordinary HTML
pages with information about various locations that include a link to a Map
Guide map. The URL passes the layer and feature name so that the map
selects and zooms to the specific location on open. Here's a sample URL: <br>
<br>
<a href="http://smamap.com/mapguide/GreenMapSanMiguel/index.php?LAYER=food&LOCATION=BOVE&END" target="_top" rel="nofollow">http://smamap.com/mapguide/GreenMapSanMiguel/index.php?LAYER=food&LOCATION=BOVE&END</a><br>
<br>
I'm using a PHP script in a hidden frame to accomplish this. It is rather
long to include here, but if you go to the URL above and view the source, you
will see a frameset called ScriptFrame. The 'src' for the frame is the
URL of the php script, which you may be able to modify to meet your needs. <br>
<br>
Good luck, <br>
<br>
Andy <o:p></o:p></p>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=1 width="100%" noshade style='color:#CCCCCC' align=center>
</div>
<div>
<p class=MsoNormal><span style='font-size:8.5pt;font-family:"Tahoma","sans-serif";
color:#666666'>View message @ <a href="http://n2.nabble.com/Select-features-on-map-load-tp3174763p3301945.html" target="_top" rel="nofollow">http://n2.nabble.com/Select-features-on-map-load-tp3174763p3301945.html</a>
<br>
To unsubscribe from Re: Select features on map load, <a target="_top" rel="nofollow">click
here</a>. <o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<br /> <div class="small"><br/><img src="http://n2.nabble.com/images/icon_attachment.gif" > <strong>SanMiguelMap.php</strong> (7K) <a href="http://n2.nabble.com/attachment/3303666/0/SanMiguelMap.php" target="_top">Download Attachment</a></div>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Select-features-on-map-load-tp3174763p3303666.html">RE: [mapguide-users] Select features on map load</a><br>
Sent from the <a href="http://n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>