MapConent.addLayer and MapContent.layers().add method should have same behaviour
--------------------------------------------------------------------------------

                 Key: GEOT-3915
                 URL: https://jira.codehaus.org/browse/GEOT-3915
             Project: GeoTools
          Issue Type: Bug
          Components: render
    Affects Versions: 8.0-M2, 2.7.3
            Reporter: Michael Bedward
            Assignee: Michael Bedward
             Fix For: 2.7.4, 8.0-M3


There is a difference of behaviour between MapContent.addLayer(layer) and 
MapContent.layers().add(layer). The former only adds the layer if it is not 
already present while the latter always adds it. We want them to do the same 
thing which, I think, is only add the layer if it is not present.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to