var layer1 = ... 
var layer2 = ...
var layer3 = ...
map.addLayers([layer1,layer2,layer3]);
map.setBaseLayer(layer3);

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ian
Sent: Thursday, November 06, 2008 12:58 PM
To: [email protected]
Subject: [OpenLayers-Users] Change starting/initial base layer


This seems like something that is possible or would have already been
answered, but I haven't found anything on it. I want to keep my base
layers in a set order and make the third base layer the default one on a
particular page. I went through the docs looking for some sort of
'isDefault' option on the layer but have yet to find a solution.

Thanks,
Ian

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to