Add setViewport method to MapContent
------------------------------------
Key: GEOT-3782
URL: https://jira.codehaus.org/browse/GEOT-3782
Project: GeoTools
Issue Type: Improvement
Components: render
Reporter: Michael Bedward
Assignee: Jody Garnett
Fix For: 8.0-M2
Attachments: setviewport.patch
MapContent creates a default viewport on the first call to its getViewport
method. It would also be convenient to be able to assign an existing viewport
instance. The attached patch adds a setViewport method which sets a new
viewport and returns the old one, if any.
Jody: I'm not sure whether this is in line with the way you intend MapContent
and MapViewport instances to work together. I'm submitting the patch to fit in
with current gt-swing work but if it's not kosher I can change the way things
are done in swing.
--
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-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel