[OpenLayers-Dev] getLayersByName bug ?

Christopher Schmidt crschmidt at metacarta.com
Sun Apr 6 20:13:20 EDT 2008


On Sun, Apr 06, 2008 at 11:36:32PM +0200, Guillaume Sueur wrote:
> Hi devs,
> 
> I'm facing a strange behaviour on the map's getLayersByName method. 
> Passing it "reseaunds' makes it returns an array with layers 'reseau' 
> and 'reseaunds' in it. I could maybe understand that 
> map.getLayersByName('reseau') returns 'reseau' AND 'reseaunds'; but 
> "reseaunds" returning both "reseau" and "reseaunds" as well doesn't seem 
> right to me.
> 
> Shall I open a ticket for it ?

If you can provide a minimal test case that presents the issue, I think
yes: I just tried with a minimal example and couldn't reproduce.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list