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

Till Harbaum / Lists lists at harbaum.org
Sun Nov 23 20:41:11 GMT 2008


Hi,

thanks. I am not sure about the performance impact of the patch as it increases
the overall canvas size significantly. I'll have an eye on this as especially the small
maemo devices seem to fight with their low memory.

One nice thing one can do with this is to set the frisket transparency to e.g. 0xc0.
This will give you a light view on everything outside the working area. But then
again: This has a significant performance impact which sure isn't acceptible.
But nice, anyway :-)

One of the next releases will sure use your patch as i can always remove it again
if there's a real drawback.

Thanks again,
  Till

Am Sonntag 23 November 2008 schrieb Andrew Chadwick (mailing lists):
> Till Harbaum / Lists wrote:
> > 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.
> 
> Okay, give this a spin. The attached patch applies cleanly against 
> vanilla osm2go-0.5-5 from the source .dsc/.tar.gz once again. Rather 
> than fight with the rounding errors that were causing this, I've added 
> some recentreing code to make attempts to zoom out beyond the limit 
> recentre gently pan the map towards the centre in controllable 
> increments. Once it hits the centre, all is still. You might want to add 
> a message flash at either the no-more-zoom point, the no-more-recentring 
> point, or both; should be obvious when those happen.
> 
> The feel on zooming out shouldn't be much different to what currently 
> happens in vanilla osm2go actually, but now there's freedom to pan the 
> map around when a project is opened. There are a few hardcoded constants 
> that you might want to tweak for speed and prettiness on actual n8X0 
> hardware; I'll leave that to you because I don't have the SDK here right 
> now.
> 






More information about the talk mailing list