[OSM-talk] Osm2go: mobile mapping with Nokia n800/n810

Andrew Chadwick (mailing lists) andrewc-email-lists at piffle.org
Sat Nov 22 02:13:21 GMT 2008


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/

-- 
Andrew Chadwick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osm2go-0.5-5+pan1st.patch.gz
Type: application/x-gzip
Size: 2459 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20081122/28af8d8d/attachment.bin>


More information about the talk mailing list