As a quick work-around, I&#39;m forcing zoomChanged in moveTo to be always true in IE. This seems to work. Additionally, I could try to limit this to large move values.<br><br>Rohan Parkes<br>Melbourne<br>Australia<br><br>
<div class="gmail_quote">On Mon, Aug 29, 2011 at 1:23 PM, Rohan Parkes <span dir="ltr">&lt;<a href="mailto:melanchthon76@gmail.com">melanchthon76@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have an application showing a map of Australia. The base layer is an XYZ layer type using a third-party tile provider.<br><br>The application allows users to search for addresses. If they search for an address that is fairly close to the starting postition, e.g. in the same city, everything works as expected. However, if they search for an address in another state, the baselayer goes almost completely off the map - you can generally only see one tile in the upper LH corner.<br>

<br>This problem does not occur if they use a search mode that changes the zoom level - only if the zoom level stays the same. And so far, I have only been able to reproduce it in IE (I only have 8, but apparently the same problem occurs in 9).<br>

<br>The issue with the zoom level seems to be that the Map class moveTo method uses a different technique to reposition the map depending on whether the action changes the zoom. If it does, it resets the map parameters - specifically the layerContainerDiv.style.left and<br>

layerContainerDiv.style.top are reset to 0px. If not, the viewport container is repositioned via the centerLayerContainer method. This can alter the viewport by large amounts. <br><br>...<br><font color="#888888"><br>Rohan Parkes<br>
Melbourne<br>
Australia<br>
</font></blockquote></div><br>