Steve.Toutant wrote:
>
> Is this working for you
> var empty = new OpenLayers.Layer("Empty", {isBaseLayer: true});
>
Thanks for the reply Steve! Unfortunately, it isn't working for me..I
cannot use it as a base layer, as I still need my base layers to show..
When I try:
//Blank layer
var blank = new OpenLayers.Layer("No Photos", {isBaseLayer: false,
visibility: false, displayInLayerSwitcher: true});
I get:
this.layer.map is null
[Break On This Error] this.layer.map.events.on({
Any other ideas?
Thanks!
elshae
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Add-A-Blank-Overlay-Layer-tp5922699p5922772.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users