I have come up with the following solution which is working great:
var map, streetNumbers, erfNumbers;
...
function init() {
...
map = new OpenLayers.Map(...);
...
streetNumbers = new OpenLayers.Layer.WMS("Street Numbers", ...);
...
streetNumbers.events.register('visibilitychang
Thanks Alexandre
That seems to be firing in the right place. Now I just need to make it do
what I want.
Derek
--
View this message in context:
http://n2.nabble.com/Mutually-exclusive-layers-tp2257921p2258367.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_
Hi Derek,
Derek Watling wrote:
> On my map I have 3 overlay layers, 2 of which need to be mutually exclusive,
> ie. can't both be on at the same time.
>
> I have be playing with the layer events and tried both "visibilitychanged"
> and "loadstart". I am getting the same result with both of these i
On my map I have 3 overlay layers, 2 of which need to be mutually exclusive,
ie. can't both be on at the same time.
I have be playing with the layer events and tried both "visibilitychanged"
and "loadstart". I am getting the same result with both of these in that the
event is triggered for each l