Re: [Mapbuilder-devel] Migration from layerName to layerId

2007-11-16 Thread Roald de Wit
Hi List, I've just committed my changes (r3607) in the trunk. This should fix MAP-6. Please update your svn and see if all apps and examples still work. Kind regards, Roald On Mon, 2007-11-12 at 14:36 +1100, Roald de Wit wrote: > Dear list, > > For our CGDI-IP project (that has finished) we ru

Re: [Mapbuilder-devel] Migration from layerName to layerId

2007-11-12 Thread Roald de Wit (Sourceforge)
Hi Steven, Thanks for your response. >> 1) Change refences from layerName to layerId in the following files: >> - model/OWSContext.js >> - model/Context.js >> - widget/*.js (where layerName is used) >> - widget/*.xsl (where layerName is used) >> > +1 >> 2) Change .getLayer in OWSContext.js so it

Re: [Mapbuilder-devel] Migration from layerName to layerId

2007-11-12 Thread Steven M. Ottens
Hi Roald, The LayerName/LayerID problem has been there for a long time and it's would be great if you can solve it. Roald de Wit wrote: > Dear list, > > For our CGDI-IP project (that has finished) we run into problems with > several layers sharing the same name. For the components that we used I

[Mapbuilder-devel] Migration from layerName to layerId

2007-11-11 Thread Roald de Wit
Dear list, For our CGDI-IP project (that has finished) we run into problems with several layers sharing the same name. For the components that we used I changed all references to 'layerName' into references to 'layerId' and rewrote the [model].getLayer method in OWS context. That solved the proble