marco.brugna

removeMapLayerWithName

Discussion created by marco.brugna on Jul 12, 2011
Latest reply on Dec 11, 2013 by razor28
Hi everyone,
I'm trying to remove a layer using the 'removeMapLayerWithName' function, but I receive the following error:

'Cannot remove an observer <AGSDynamicMapServiceLayer 0x541dde0> for the key path "dpi" from <AGSDynamicMapServiceLayer 0x541dde0> because it is not registered as an observer.'


Anyone knows how to solve it?

Thanks
Marco

Outcomes