[ 
https://jira.codehaus.org/browse/GEOT-3810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bedward reopened GEOT-3810:
-----------------------------------


Had another idea... Add an "editable" flag to the viewport so that a client can 
lock it down or allow it to be changed

> Set MapViewport CRS from first added layer if not already set
> -------------------------------------------------------------
>
>                 Key: GEOT-3810
>                 URL: https://jira.codehaus.org/browse/GEOT-3810
>             Project: GeoTools
>          Issue Type: Improvement
>          Components: render
>            Reporter: Michael Bedward
>            Assignee: Michael Bedward
>             Fix For: 8.0-M2
>
>
> When the first layer is added to an empty MapContent it should be used to set 
> the CRS for the default viewport, unless one has already been set by the 
> client. This is consistent with what MapContent.getMaxBounds already does, 
> and can be achieved by adding a boolean flag to the viewport class to 
> indicate whether a CRS has been explicitly set or not.

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

        

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to