I've removed all logic for loading tiles and just move the existing
ones around and it is still slow. The code is something like this.
function movemap(e)
{
var container = document.getElementById('map-container');
var dx = container.mouseX - e.clientX;
var dy = container.mouseY - e.clientY;
container.style.left = parseInt(container.style.left) + dx + 'px';
container.style.top = parseInt(container.style.top) + dy + 'px';
container.mouseX = e.clientX;
container.mouseY = e.clientY;
}
As I mentioned before when I attach this code to the "ondrag" event
instead of the "mousemove" it feels much much more responsive.
On Feb 2, 7:17 pm, Rossko <[email protected]> wrote:
> > how does google maps make there drag so smooth in IE?
>
> Another way to put the question, is what are you doing (triggered by
> the events) that is ruining the performance? We can't tell.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.