That is correct; but you cannot update both lists (as a Layer can only belong 
to one list - based on the data model being strict aggregation).  
--  
Jody Garnett


On Wednesday, 22 February 2012 at 8:00 AM, Nazareno Chan wrote:

>  
> Hi Guys,
>  
>  
>   
>  
>  
> I’m just considering impact analysis here. I am to update the 
> AddLayer(s)Command to also add layers into the LegendItems list. Would it be 
> safe to assume that only the two commands below are responsible for ‘legally’ 
> adding layers into a map? Would there be other functions that use 
> map.getLayersInternal.add(<layer>) directly?
>  
>  
> ·         AddLayerCommand
>  
>  
> ·         AddLayersCommand
>  
>  
>   
>  
>  
> Thanks,
>  
>  
> Naz Chan
>  
>  
>  
>  
> The contents of this email are confidential and may be subject to legal or 
> professional privilege and copyright. No representation is made that this 
> email is free of viruses or other defects. If you have received this 
> communication in error, you may not copy or distribute any part of it or 
> otherwise disclose its contents to anyone. Please advise the sender of your 
> incorrect receipt of this correspondence.
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>  
>  


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to