[OpenLayers-Dev] OpenLayers performance

Tomas Novotny tomas.novotny at tmapy.cz
Thu Apr 10 05:59:53 EDT 2008


Hi,

please try following examples and compare them:

First example shows current map dragging in OL 2.6:
http://www.utomase.cz/ol/currentDragging.html

Second example shows dragging after my little changes in DragPan.js:
http://www.utomase.cz/ol/newDragging.html

In second example only layers container is moving via CSS without any 
center calculations. Those calculations come to play either after 25ms 
of 'not-moving' or drag end (mouseup).


Tomas Novotny



More information about the Dev mailing list