Added

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1838

Tamas

2006/7/19, Christian Wilmes <[EMAIL PROTECTED]>:
Tamas,

I didn't test the bug very often, but the Layer which shoult be insert in the 
map isn't there after calling the method. Instead of it another Layer is twice 
times in the map. I don't know exactly which of the other Layers it is.

Best Regards
Christian

-------- Original-Nachricht --------
Datum: Wed, 19 Jul 2006 01:03:48 +0200
Von: Tamas Szekeres <[EMAIL PROTECTED]>
An: [email protected]
Betreff: Re: [UMN_MAPSERVER-USERS] C#-Mapscript: Bug in mapObj.insertLayer()

> 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
> >

--


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Reply via email to