Hello Ian,
I take a look at the following position:
org.geotools.gui.swing.JMapPane row 465.
if(!r.equals(oldRect)) {
try {
mapArea=context.getLayerBounds();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
When I replaced the lines of code the map redraws correctly when the
MapPane-Size has changed without viewing the LayerBounds.
Tim
-----Ursprüngliche Nachricht-----
Von: Ian Turton [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 6. August 2007 22:50
An: Tim Englich
Cc: [email protected];
[EMAIL PROTECTED]
Betreff: Re: [Geotools-gt2-users] JMapPane: Map Jumps To LayerBounds if
MapSize Changed
On 8/6/07, Tim Englich <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I found the code which is responsible for this effect.
>
> Might it be possible to revise this part?
You have to do some thing when the size of the map pane changes - what
do you propose instead?
Ian
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel