<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: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:"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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>My app is at:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a href="http://209.20.81.81/fusion/templates/mapserver/corning/">http://209.20.81.81/fusion/templates/mapserver/corning/</a><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Also, there&#8217;s some weird behavior I just noticed with
PanQuery &#8211; when the map redraws, it draws a new querymap based off of a
query on location where you started your click and drag, even though it does
not make the selection there.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Note that my PanQuery is a modified pan.js, not panquery.js.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>And, is it just me or is the selection highlight not drawn with
the antialiased renderer?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I&#8217;m using 1.1.0 RC1.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Marc<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</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> Thursday, September 11, 2008 6:21 PM<br>
<b>To:</b> Marc Pfister<br>
<b>Cc:</b> Paul Spencer; fusion-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [fusion-users] PanQuery and pink backgrounds<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>I would like to assist you on
this: <br>
<br>
1. Can we see your application? if not can you post your appdef. template and
supporting js code?<br>
2. What revision are you using?<br>
<br>
Cheers<br>
<br>
Paul D.<o:p></o:p></p>

<div>

<p class=MsoNormal>On Thu, Sep 11, 2008 at 5:18 PM, Marc Pfister &lt;<a
href="mailto:mpfister@enplan.com">mpfister@enplan.com</a>&gt; wrote:<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
Paul Spencer [mailto:<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>]
wrote:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>&gt; I haven't tried the
panquery widget in a while. &nbsp;The intention of the<br>
&gt; widget was to have a dual mode widget that if you click and drag, it<br>
&gt; pans and if you just click it does a query. &nbsp;Looking at the code, it<br>
&gt; doesn't appear to have anything that would cause it to make two<br>
&gt; buttons. &nbsp;Perhaps you have something unintentional in your<br>
&gt; ApplicationDefinition (widget declared twice perhaps?).<o:p></o:p></p>

</div>

<p class=MsoNormal>I noticed a few things and now have it working.<br>
<br>
1. PanQuery.js requires Pan.js<br>
2. I end up with 2 icons. Hmmmmm....<br>
3. I set PanQuery.js and Pan.js to output a message to console when<br>
initializing.<br>
4. I have a map that only has PanQuery in its ApplicationDefinition.xml<br>
5. When it starts, I get messages that both Pan and PanQuery have<br>
initialized.<br>
6. Perhaps it's adding a new OpenLayers control twice, once for each<br>
initialization.<br>
7. Try commenting out the creation and adding of the control in either<br>
JS. No dice.<br>
8. OK, try taking the event binding and the mouseup event method and<br>
adding into pan.js<br>
9. Use query-fied pan.js<br>
10. Success!<br>
<br>
So I'm not sure why exactly I couldn't get PanQuery.js to work, but it<br>
seems to have something to do with the require.<br>
<span style='color:#888888'><br>
Marc</span><o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><br>
_______________________________________________<br>
fusion-users mailing list<br>
<a href="mailto:fusion-users@lists.osgeo.org">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>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</div>

</div>

</body>

</html>