map.removeLayer(index) -- C#

Zhonghai Wang zhonghaiw at GMAIL.COM
Mon Aug 28 09:30:04 EDT 2006


Hi guys,

I am trying to remove an inline feature using the map.removeLayer(index),
but it seems that this method does not work. The inline feature layer is
created on the fly, not in the mapfile hard coded. Does anyone ever used
this function successfully? There may also be some problems with the
map.insertLayer(layerObj, index), only map.insertLayer(layerObj,-1) works
for me, I can not specify the index.


thanks for any hints to solve my problem.

Zhonghai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060828/7f7d684e/attachment.html


More information about the mapserver-users mailing list