[OpenLayers-Users] layers drawing order

Guillaume Sueur guillaume.sueur at neogeo-online.net
Thu Apr 10 17:21:52 EDT 2008


1. yes, but it should speed up the whole thing, not indicate a specific 
drawing order shouldn't it ? But, sure, I should do that anyway.

2. that will change the organisation of the map, which is not the goal 
either.

would it be difficult to add a layer drawingOrder option and make the 
map render them in that order ?

Thanks

Guillaume


Christopher Schmidt a écrit :
> On Thu, Apr 10, 2008 at 10:51:10PM +0200, Guillaume Sueur wrote:
>> Hi,
>> Is there a way to render the layers in another order than their original 
>> add-to-map order ? Something like priority on each of them ?
>> Most of the time, the bottom layer is a tiled layer that makes you wait 
>> while the surrounding tiles are loading, and your "working layers" can 
>> be interesting to render before that.
> 
> 1. Use different hostnames for your different layers.
> 2.
> http://dev.openlayers.org/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.raiseLayer
> 
> (which is also lowerLayer, when passed a negative index)
> 
> Regards,





More information about the Users mailing list