Christian,

You are right, a bug report should be posted accordingly.
Good catch!

How this problem results in error for you?

Tamas



2006/7/18, Christian Wilmes <[EMAIL PROTECTED]>:
Hi All,

I think there is a bug in the method for mapObj.insertLayer(layerObj layer, int 
index). It only works for index = -1.

I think reason for that might be in mapobject.c in the function msInsertLayerm, 
line 525:

map->layers[map->numlayers].index = nIndex;



Is it possible, that something like

map->layers[nIndex].index = nIndex;

is correct?


Best Regards
Christian
--


Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

Reply via email to