<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:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        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","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[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]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I have bodged maptips to work with Mapserver and have the code
kicking back the string I want to display in the tooltip. However, the code
seems like it expects some XML generated by MapGuide. Can someone who runs
MapGuide post an example of the XML so I can reproduce it and pass it on to the
_display function and keep it all happy?<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-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<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"'>
pdescham49@gmail.com [mailto:pdescham49@gmail.com] <b>On Behalf Of </b>Paul
Deschamps<br>
<b>Sent:</b> Wednesday, August 27, 2008 6:11 AM<br>
<b>To:</b> Marc Pfister<br>
<b>Subject:</b> Re: [fusion-users] Maptips on Mapserver<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>The mapserver highlight is part
of the query block <br>
<br>
<a href="http://mapserver.gis.umn.edu/docs/reference/mapfile/querymap">http://mapserver.gis.umn.edu/docs/reference/mapfile/querymap</a><br>
<br>
Have a look at the SelectionPannel widget it has a complete
Query/Select->DisplayResults Process for mapserver.<br>
<br>
Cheers<br>
<br>
Paul. <o:p></o:p></p>
<div>
<p class=MsoNormal>On Tue, Aug 26, 2008 at 8:04 PM, Marc Pfister <<a
href="mailto:mpfister@enplan.com">mpfister@enplan.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>It's easy to just take the
current maptip code which handles the mouse movement detection and modify it to
fire off a Map.Query instead of the MG one. However, when you do this every
time you stop moving the mouse you trigger a redraw to show the selection
highlighted.</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>So where exactly is the query
code? I think I'll just tweak that that to pass the query back to the maptip
code.</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>Also, speaking of queries – is
there a way to change the selection highlight color and lineweight?</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>Marc</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div style='border:none;border-left:solid windowtext 1.5pt;padding:0in 0in 0in 4.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue'>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>
<p><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:
10.0pt'> <a href="mailto:pdescham49@gmail.com" target="_blank">pdescham49@gmail.com</a>
[mailto:<a href="mailto:pdescham49@gmail.com" target="_blank">pdescham49@gmail.com</a>]
<b>On Behalf Of </b>Paul Deschamps<br>
<b>Sent:</b> Tuesday, August 26, 2008 11:46 AM<br>
<b>To:</b> Marc Pfister<br>
<b>Cc:</b> <a href="mailto:fusion-users@lists.osgeo.org" target="_blank">fusion-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [fusion-users] Maptips on Mapserver</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p> <o:p></o:p></p>
<div>
<p style='margin-bottom:12.0pt'>To my knowledge no.. but you are correct it
would be quite simple to develop one using the select widget <br>
All that is needed is to have some logic to detect mouse movement and when the
mouse is still have it fire a query. <br>
and output the results. <br>
<br>
Cheers<br>
<br>
Paul D. <o:p></o:p></p>
<div>
<p>On Tue, Aug 26, 2008 at 2:36 PM, Marc Pfister <<a
href="mailto:mpfister@enplan.com" target="_blank">mpfister@enplan.com</a>>
wrote:<o:p></o:p></p>
<div>
<div>
<p>Has anyone implemented maptip-like functionality for Mapserver instead of
MapGuide? It seems like you could switch Fusion to using the generic selection
tool instead of the MG specific one.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:Wingdings;color:orange'>n</span><br>
<span style='font-size:10.0pt;color:gray'>Marc Pfister<br>
Geospatial Data Manager<br>
ENPLAN<br>
<a href="mailto:mpfister@enplan.com" target="_blank">mpfister@enplan.com</a><br>
530/221-0440 x108<br>
530/221-6963 Fax</span><o:p></o:p></p>
<p> <o:p></o:p></p>
</div>
</div>
<p style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
fusion-users mailing list<br>
<a href="mailto:fusion-users@lists.osgeo.org" target="_blank">fusion-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fusion-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><o:p></o:p></p>
</div>
<p> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>