Good day,<br><br>I&#39;m using a KML overlay, and am having an odd problem: When you pan the map with the mouse, the vector layer is not drawn on the newly visible areas. If you zoom in or out it will appear. Also, if you pan with the panzoombar it will display correctly.<br>
<br>As a possible workaround, I added an event:<br><br>map.events.on({moveend: function(evt) { alert(&quot;Hey&quot;); return true; trackLogKMLLayer.redraw();} });<br><br>The alert &amp; return false I added after to see if it was being triggered. The interesting thing I found was that this event is not being triggered when I pan with the mouse, but is when I use the panzoombar.<br>
<br>The layer is being added as follows:<br><br>          <pre id="line1148">        function activateUploadedTrackLog(f)
        {
                var n = document.getElementById(&#39;gpsTrackName&#39;).value;
                document.getElementById(&#39;gpsTrackName&#39;).value = &#39;&#39;;
                document.getElementById(&#39;gpsTrackFile&#39;).value = &#39;&#39;;
                trackLogKMLLayer= new OpenLayers.Layer.Vector(n, {
                        projection: map.displayProjection,
                        strategies: [new OpenLayers.Strategy.Fixed()],
                        protocol: new OpenLayers.Protocol.HTTP({
                            url: f,
                            format: new OpenLayers.Format.KML({
                                extractStyles: true,
                                extractAttributes: true
                            })
                        })
                    });

                 map.addLayer(trackLogKMLLayer);
<br><br>Thoughts?<br><br>Thanks<br><br>Paul<br></pre>