[OpenLayers-Users] Multiple invoke by zoom, very bad performance

Marc Jansen jansen at terrestris.de
Fri Feb 19 05:19:27 EST 2010


Hi johnalvarado,

so you say that the maprequest is issued to often? Is there any 
code/live example we can see?

Regards,
Marc

johnalvarado wrote:
> Hello, I need your help. 
> I have a problem with openlayers in performance. I have an application that
> has an interface where I show a map that is composed of two layers, but do
> not directly invoking the Web service GIS, I do it through a servlet, I
> apply a logic and stores information in a database data. But the problem is
> that openlayer invoke the servlet 2^n times. Namely: 1 zoom = 2 invocations,
> 2 zooming = 4 invocations ... 5 zoom = 32 invocations, and this for each
> layer, ie, if I have 3 layers, 5 zoom is 32 invocations*3 = 69!!!, generate
> 2^n*3 records in the database.
>
> Is there any way to config openlayers to invoke only once per zoom?
>
> Thank you very much for the attention or assistance offered.
>   




More information about the Users mailing list