[OpenLayers-Users] Sharing layers between maps
Eric Lemoine
eric.c2c at gmail.com
Mon Oct 13 01:37:07 EDT 2008
Hi.
Layer instances are bound to a Map instance, so you can't add one
layer to multiple maps. However, if you use tile layers, the tiles can
be cached by the browser.
Eric
2008/10/13, Greg Ederer <greg at ergonosis.com>:
> Hi,
>
> Are there any caveats about having multiple maps on the same page that
> share a number of layer instances? I have, e.g., a national and coastal
> boundaries layer, and a sub-national administrative units layer. I'll
> have n maps displayed on the page, and they all use these two layers.
> Seems wasteful to download them again for each map.
>
> Thanks!
>
> Greg
>
> --
> | E R G O N O S I S
> | Greg Ederer
> | Lead Developer
> | greg at ergonosis.com
> | 360.774.6848
> |
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list