Re: [Geotools-devel] Support for rotated map

2009-08-24 Thread Michael Bedward
I haven't noticed any aspect ratio problems with resizing using the new map pane yet - though of course saying something like that is the kiss of death ! But I think the question of convenient setter methods for users is separate to that issue. Michael 2009/8/25 Jody Garnett : > Hi Ian: > > Chan

Re: [Geotools-devel] Support for rotated map

2009-08-24 Thread Jody Garnett
Hi Ian: Changing the area on the map as the user resizes the window is cause for a lot of annoying math in uDig; and has resulted in the past in plenty of cases where the aspect ratio gets out of sync making the map stretched or squashed... The two rectangles are used to set up an affine tr

Re: [Geotools-devel] Support for rotated map

2009-08-24 Thread Michael Bedward
2009/8/23 Jody Garnett : > They will if you add it to the MapContext - not sure if our pal > Micahel will get to it this release :-) Micahel here - who's talking about me ? :-) The rotated map demo looks cool and it would be pretty easy to do it. I only remember one instance of anyone calling for

Re: [Geotools-devel] Support for rotated map

2009-08-24 Thread Andrea Aime
Ian Turton ha scritto: > On Sun, Aug 23, 2009 at 4:49 AM, Jody Garnett wrote: >> Yeah okay that makes sense. There is a worldToScreen transformation in the >> work Michael is doing as well. Checking it over I only see it defined by: >> - afterImageMove(ReferencedEnvelope mapAOI, Rectangle paintArea

Re: [Geotools-devel] Support for rotated map

2009-08-24 Thread Ian Turton
On Sun, Aug 23, 2009 at 4:49 AM, Jody Garnett wrote: > Yeah okay that makes sense. There is a worldToScreen transformation in the > work Michael is doing as well. Checking it over I only see it defined by: > - afterImageMove(ReferencedEnvelope mapAOI, Rectangle paintArea) > - setMapArea(Envelope en

Re: [Geotools-devel] Support for rotated map

2009-08-23 Thread Jody Garnett
Yeah okay that makes sense. There is a worldToScreen transformation in the work Michael is doing as well. Checking it over I only see it defined by: - afterImageMove(ReferencedEnvelope mapAOI, Rectangle paintArea) - setMapArea(Envelope env) So I think some work will be needed to hook this one

Re: [Geotools-devel] Support for rotated map

2009-08-23 Thread Andrea Aime
Jody Garnett ha scritto: > They will if you add it to the MapContext - not sure if our pal Micahel > will get to it this release :-) > Please thank the user that contributed this. Hmmm... not sure it needs to be in the MapContext at all? The old ZoomPane supported this almost out of the box witho

Re: [Geotools-devel] Support for rotated map

2009-08-22 Thread Jody Garnett
They will if you add it to the MapContext - not sure if our pal Micahel will get to it this release :-) Please thank the user that contributed this. Jody On 22/08/2009, at 2:33 AM, Andrea Aime wrote: > Hi all, > just a quick heads up for a new user contributed feature: rotated > map rendering

[Geotools-devel] Support for rotated map

2009-08-21 Thread Andrea Aime
Hi all, just a quick heads up for a new user contributed feature: rotated map rendering support. http://jira.codehaus.org/browse/GEOT-2534 Someone said it was not possible, that the StreamingRenderer architecture was not appropriate and instead... with all the rightful limits it has, it seems