[OpenLayers-Users] FEatures orders

darrepac pascal.darre at laposte.net
Sun Jan 18 16:29:02 EST 2009




Andreas Hocevar-2 wrote:
> 
> You could use z-indexing on the layer. See
> http://www.openlayers.org/dev/examples/ordering.html for an example.
> 
> You would probably have to sort your features by size, and create
> ascending z-indices with descending size. This would ensure that
> smaller rectangles will be drawn on top of larger ones.
> 
> Regards,
> Andreas.
> 

Sounds to me good, I want to give it a try.
Can you tell me what should be the default z indice of my Geojson features?

thanks

-- 
View this message in context: http://n2.nabble.com/FEatures-orders-tp2167927p2178707.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list