[josm-dev] Recentering without zooming out

Matthias Meißer digi_c at arcor.de
Wed Sep 15 11:49:23 BST 2010


Hi, well I try to implement a 'keep focused' option to my layer 
animations. I checked out remote-control plugin and it uses
> Main.map.mapView.recalculateCenterScale(bbox);
to set the center.

But I just want to focus a single point without resizing/zooming the 
area, so i have no clue how to calc the bounding box. Is there another 
more simple way that I just don't see?

regards
Matthias



More information about the josm-dev mailing list