<p>Hello fellow JS programmers,</p>
<p>I have been working on integrating openlayers into a dojo widget. This widget can be configured with an XML file and can act and behave like a dojo widget as well as an instance of OpenLayers.Map. I am planning to write some code that makes it possible to configure the widget declaratively or via JSON.</p>

<div>This is all fine and well and works, with one very important exception. Panning does not work, more specific there are layers in which it doesn&#39;t work. Panning works in the Google layers because the drag and drop functionality is delegated to the Google layer. However for the &quot;native&quot; openlayers layers the events do fire but the map is not updated. Panning and then zooming in or out will cause the map to center on the correct point and so will panning and then resizing the window. It is not limited to a specific browser, I have tested FF3.5, IE8, IE7 emulation and Opera 10 all running on a windows XP box.</div>

<div> </div>
<div>My hypothesis is that there is a mix up with some events that are attached via dijit._Widget and OpenLayers.Map, but I can&#39;t find exactly where or how to fix it properly.</div>
<p>If anyone has any suggestions at all I&#39;d love to hear them. Any other feedback or suggestion are welcome as well. For a demo you can point the browser of your choice to <a href="http://bonsai.nmpo.nl/experiments/mapviewer.v2.html">http://bonsai.nmpo.nl/experiments/mapviewer.v2.html</a></p>

<p>For a zip file with the source, <a href="http://bonsai.nmpo.nl/experiments/viewer.zip">http://bonsai.nmpo.nl/experiments/viewer.zip</a>. If you want to see more layers you can uncomment the layers in the XML file, they all work and have the data needed to fill them is supplied in the zip as well.</p>

<p>This message has been sent to the oplayers and dojo mailing lists.</p>
<p>Best regards, Andre Steenveld</p>