[OpenLayers-Users] remove layers

bradleyspencer brad at cubewerx.com.au
Fri Mar 23 00:40:06 EDT 2007


I have been trying to use removeLayers to kill a layer and then add a new
layer in its place.

I use >> if (miscLayer) {removeLayer(miscLayer);}

But FireFox tells me that removeLayer is not defined?

I am just using the following code base.

src="http://www.openlayers.org/api/OpenLayers.js”

Cheers,

Brad Spencer
General Manager
CubeWerx Australia Pty Ltd
ABN: 37 115 163 285
Mob: +61 (0)404 841 131
Tel/Fax: +61 (0)2 9481 7024
mailto:brad at cubewerx.com.au
http://www.cubewerx.com.au

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070323/57a31760/attachment.html


More information about the Users mailing list