<div dir="ltr">I have been using the pan query widget for a couple of applications and have had no issues like the ones you are speaking of. <br><br>Cheers<br><br>Paul D. <br><br><div class="gmail_quote">On Thu, Sep 11, 2008 at 8:13 AM, Paul Spencer <span dir="ltr">&lt;<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Marc,<br>
<br>
I haven&#39;t tried the panquery widget in a while. &nbsp;The intention of the widget was to have a dual mode widget that if you click and drag, it pans and if you just click it does a query. &nbsp;Looking at the code, it doesn&#39;t appear to have anything that would cause it to make two buttons. &nbsp;Perhaps you have something unintentional in your ApplicationDefinition (widget declared twice perhaps?).<br>

<br>
As mentioned in another reply, you can set OpenLayers.IMAGE_RELOAD_ATTEMPTS to some number greater than 1 - you need to do that after OpenLayers code has been loaded, the best place would probably be in the fusion initialized event handler<br>

<br>
window.onload = function() {<br>
 &nbsp;Fusion.registerForEvent(Fusion.Event.FUSION_INITIALIZED, fusionInitialized);<br>
 &nbsp;Fusion.initialize();<br>
}<br>
<br>
function fusionInitialized() {<div class="Ih2E3d"><br>
 &nbsp;OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;<br>
}<br>
<br></div>
Cheers<br>
<br>
Paul<div><div></div><div class="Wj3C7c"><br>
<br>
On 10-Sep-08, at 6:28 PM, Marc Pfister wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Two questions:<br>
<br>
1. &nbsp; &nbsp; &nbsp; Does the PanQuery widget work for anyone? When I add it to applicationdefinition.xml, it shows up as two buttons in the toolbar, both with the same "hand" icon. The first on is greyed out, the second isn't but can't be selected.<br>

<br>
2. &nbsp; &nbsp; &nbsp; Has anyone run into a case where some image in the OpenLayers stack fails to load and instead returns a pink background and the broken image icon at top left? We can occasionally make it happen with some aggressive mousewheel work. The fun part is that the pink remains as a background for all successive pans and zooms. I know OpenLayers is making the pink tile and I can certainly just have it use white once the site is in production, but I'm not really sure why it persists after pan and zoom redraws.<br>

<br>
n<br>
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<br>
<br></div></div><div class="Ih2E3d">
_______________________________________________<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><br>
</div></blockquote>
<br>
<br>
__________________________________________<br><font color="#888888">
<br>
 &nbsp; Paul Spencer<br>
 &nbsp; Chief Technology Officer<br>
 &nbsp; DM Solutions Group Inc<br>
 &nbsp; <a href="http://www.dmsolutions.ca/" target="_blank">http://www.dmsolutions.ca/</a></font><div><div></div><div class="Wj3C7c"><br>
<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><br>
</div></div></blockquote></div><br></div>