[OpenLayers-Users] preload layers

Christopher Schmidt crschmidt at metacarta.com
Thu Oct 11 08:09:57 EDT 2007


On Thu, Oct 11, 2007 at 01:17:21AM -0700, R. Ortner wrote:
> 
> hi,
> 
> i made a map with 10 layers (wms and ka-map), 2 of them visible at the
> beginning.
> it looks like that openlayers is preloading every 10 layers (more than 200
> elements) at startup.
> 
> is it possible to restrict the loading elements only to the 2 active layers
> and loading the rest after klicking them active?

This is what OpenLayers is supposed to do. If something else is
happening, it is either a misconfiguration or a bug. Can you share the
HTML this is happening with?

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list