Hi, i like this patch.
I do have a small problem with it: I i try to zoom out and hit the zoom limit, the canvas slowly scrolls a tiny step top and left with every trial to zoom further out. Till Am Samstag 22 November 2008 schrieb Andrew Chadwick (mailing lists): > Till Harbaum wrote: > > > >> If you're zoomed out beyond the extent of the current project, it's > >> impossible to pan the map so that part of it is hidden beyond the canvas > >> edge. This might hinder new users [...] > > ??? I don't understand that. There's the area you downloaded. You can > > see only that and work only on that. You can never leave the active area > > by panning/scrolling and you can't place anything there. > > Some users (myself included) like to pan the display *before* zooming > in. This way there's less panning required to get to an object in the > corner or the working area. Therefore, when the map is zoomed all the > way out, it should be possible to pan the display a bit. > > But the best way of explaining an idea like this is code! In the > attached patch, I've rejigged the way panning and scrolling work in a > way that addresses my perceived problem. Hope this is useful. > > > That's not how the goocanvas works. You cannot easily make display > > data outside the given working area. > > The attached patch should address this, for goocanvas builds only. Note > that now working area != display area, but that shouldn't affect uploads > or the semantics of the app in the slightest. > > It applies cleanly against osm2go-0.5-5, as found at > http://repository.maemo.org/extras/pool/chinook/free/source/o/osm2go/ > _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

