[josm-dev] Recentering without zooming out

2010-09-15 Thread Matthias Meißer
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

Re: [josm-dev] Register for keys/shortcuts

2010-09-15 Thread Matthias Meißer
Hi Folks, I'm still working on the Videomapping Plugin and it seems to work. But there is still a problem with the shortcuts: I register them by passing it to my JosmAction for the menu entry: VStart = new JosmAction(tr(play/pause), audio-playpause, tr(starts/pauses video playback),

Re: [josm-dev] Recentering without zooming out

2010-09-15 Thread Maria Arias de Reyna
El Wednesday 15 September 2010, Matthias Meißer escribió: 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

Re: [josm-dev] Register for keys/shortcuts

2010-09-15 Thread David Earl
On 15/09/2010 11:53, Matthias Meißer wrote: Hi Folks, I'm still working on the Videomapping Plugin and it seems to work. But there is still a problem with the shortcuts: I register them by passing it to my JosmAction for the menu entry: VStart = new JosmAction(tr(play/pause), audio-playpause,

Re: [josm-dev] Recentering without zooming out

2010-09-15 Thread Matthias Meißer
Hi Maria, thank you but I'm actually talking about JOSM internals. There is no panning function :( Matthias ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev