Hello,

I found the code which is responsible for this effect.

Might it be possible to revise this part?

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();
                                }
                }
Tim

>  -----Ursprüngliche Nachricht-----
> Von:  Tim Englich  
> Gesendet:     Montag, 6. August 2007 10:57
> An:   '[email protected]'
> Cc:   '[EMAIL PROTECTED]'
> Betreff:      JMapPane: Map Jumps To LayerBounds if MapSize Changed
> 
> Hello,
> 
> I have the following effect using GeoTools trunk.
> 
> When I change the size of the MapPane the MapArea is changed to the
> LayerBounds every time.
> 
> Has anyone an idea how to solve this problem?
> 
> Tim
> 
> 
> 
> 

-------------------------------------------------------------------------
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

Reply via email to