(patch) new feature for tangoGPS: detail-scaling
yorickmoko at gmail.com
Mon Nov 2 16:30:02 CET 2009
please also sent your patches to Marcus Bauer (the author of TangoGPS)
On Mon, Nov 2, 2009 at 4:18 PM, Joshua Judson Rosen <rozzin at geekspace.com>wrote:
> Hi everybody,
> I've added a feature to my copy of tangoGPS, and thought that others
> might be interested: it allows the *details* in the map (e.g.: text,
> icons) to be scaled up (to show fewer details, but make the shown
> details bigger) or scaled down (to render the details smaller, but
> show more of them).
> This has made tangoGPS *much* more usable for me on my FreeRunner,
> because I can actually read the labels for streets, etc. without
> holding the screen very close to my face :)
> (I guess that the OpenStreetMap tiles are rasterised expecting
> something like 96 DPI, but the FreeRunner's display runs at ~280 DPI,
> so text and icons used in OSM tiles is *very* small when displayed on
> the FreeRunner without any upsampling; `zooming the details' by 1
> level makes everything legible at arm's length, and zooming the
> details by 2 levels makes the text easy to read even at a glance while
> I've attached 2 separate patches: one patch that adds the `back end'
> of the feature (a new `global_detail_zoom' variable with the
> corresponding gconf hooks, and some minor-changes to the tile-loading
> code), and another patch that adds the front-end GUI for the feature
> (an additional submenu in the map screen, and a couple of new
> callbacks to accompany the new menu-items).
> I added the submenu and menu-items manually in interface.c--it looks
> like Marcus is using Glade to maintain the GUI, but I'm not entirely
> sure (I didn't see glade-file in the tarball...); if he still *is*
> using Glade, then it may make more sense to defined these submenus via
> Don't be afraid to ask (Lf.((Lx.xx) (Lr.f(rr)))).
> Openmoko community mailing list
> community at lists.openmoko.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the community