[OpenLayers-Dev] OpenLayers performance

Tomas Novotny tomas.novotny at tmapy.cz
Mon Apr 7 11:34:41 EDT 2008


Hi,

I'm after few months of using OpenLayers (OL). I've built some 
application on OL and appreciated it's architecture for good extensibility.
But when things come to performance of such common task as panning 
(moving a map with mouse), I am really dissatisfied.
The way the panning is implemented is everything but not 
browser-friendly. There is coord2pixel and pixel2coord processing on 
several places in those moveTo() and setCenter() methods on every mouse 
move and it is only part of the problem. A tried to prune OL for tests 
to just moving map div with one empty layer and things were still the 
same. You can feel lags as you are moving map from side to side, up and 
down. When you try to compare it with ie. GoogleMaps you can really feel 
the difference.
I haven't seen any OL example with better feeling so I think it's a 
matter of source architecture, not bug.
What I'm trying to say? I found out that OL are good for building robust 
applications where wide functionality is the goal, not the performance. 
If I'm not right and making something wrong please tell me.


Regards,

Tomas Novotny



More information about the Dev mailing list