Re: [OpenLayers-Users] Sharing layers between maps

2008-10-12 Thread Greg Ederer
Hi, Good to know. Thanks, Greg Eric Lemoine wrote: > 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 <[EMAIL PROTECTED]>: > >> H

Re: [OpenLayers-Users] Sharing layers between maps

2008-10-12 Thread Eric Lemoine
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 <[EMAIL PROTECTED]>: > Hi, > > Are there any caveats about having multiple maps on the same page tha

[OpenLayers-Users] Sharing layers between maps

2008-10-12 Thread Greg Ederer
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. Seem

Re: [OpenLayers-Users] Mouse coordinates in movable map

2008-10-12 Thread Greg Ederer
Awesome!  Thanks! Greg Christopher Schmidt wrote: On Sun, Oct 12, 2008 at 01:26:12PM -0700, Greg Ederer wrote: Hi, This is an interesting problem (at least, I think so). I have placed a map inside a movable element (using dojo.dnd.Moveable) so that users can drag it around the

Re: [OpenLayers-Users] Mouse coordinates in movable map

2008-10-12 Thread Christopher Schmidt
On Sun, Oct 12, 2008 at 01:26:12PM -0700, Greg Ederer wrote: > Hi, > > This is an interesting problem (at least, I think so). > > I have placed a map inside a movable element (using dojo.dnd.Moveable) > so that users can drag it around the browser window by grabbing a > titlebar. (My goal is t

[OpenLayers-Users] Mouse coordinates in movable map

2008-10-12 Thread Greg Ederer
Hi, This is an interesting problem (at least, I think so). I have placed a map inside a movable element (using dojo.dnd.Moveable) so that users can drag it around the browser window by grabbing a titlebar. (My goal is to let the user create multiple map panes, and drag them around the window.