[Cartoweb-users] Trying to replace existing layer

guillaume champlong goutosig at yahoo.fr
Thu Jan 24 23:04:01 EST 2008

Hi all,

I am using cw3.4 on windows XP.
I am facing this this problem: after renaming some of my layers, I am given this message:

Class : SoapFaultWrapper
Message : Trying to replace existing layer ia3_potteryHere is some of my code:

(I assume my mapfile is ok since I have no error from this part, and the layers were working before that)


layers.vector.className = LayerGroup
layers.vector.label = Choose a period
layers.vector.children = sa,ia
layers.vector.rendering = dropdown
layers.vector.icon = blank.png

layers.ia.className = LayerGroup
layers.ia.label = Iron Age
layers.ia.children = ia3_antiq1, ia3_antiq2, ia3_antiq3, ia3_pottery
layers.ia.rendering = tree
layers.ia.icon = blank.png

layers.ia3_pottery.className = Layer
layers.ia3_pottery.label = Pottery
layers.ia3_pottery.msLayer = pottery
layers.ia3_pottery.icon = blank.png


; initial map states
mapInfo.initialMapStates.default.location.bbox = "73.48, 7.25, 82.51, 13.57"

mapInfo.initialMapStates.default.layers.ia3_antiq1.selected = false
mapInfo.initialMapStates.default.layers.ia3_antiq2.selected = false
mapInfo.initialMapStates.default.layers.ia3_antiq3.selected = false
mapInfo.initialMapStates.default.layers.ia3_pottery.selected = false

Where can this error come from?

Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080125/8da3da86/attachment.html

More information about the Cartoweb-users mailing list