[PATCH] Show single dives in map.

Lubomir I. Ivanov neolit123 at gmail.com
Tue Jan 15 14:04:26 PST 2013


On 15 January 2013 23:58, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> On 15 January 2013 23:45,  <subsurface at henrik.synth.no> wrote:
>> From: Henrik Brautaset Aronsen <subsurface at henrik.synth.no>
>>
>> This adds a "Show in map" entry in the dive list context menu.  It will
>> zoom to the dive location if it exists, otherwise the full map will be
>> displayed.
>>
>> I've also switched map tiles from OpenStreetMap to Google Maps just to
>> show off that we can.
>>
>
> these patches are definitely an improvement.
> but unless the widget allows popups or some sort of text drawing, it's
> still not clear how identification of multiple dives is possible on
> the same map.
> a pixel font is an option, i guess...where the flag + some dive info
> are part of the same pixel buffer when
> osm_gps_map_image_add_with_alignment() is called.
> that may be "a bit too much" though, and also i have no idea how it would look.
>
> the flag doesn't seem to show over here:
> (subsurface.exe:5508): Gdk-CRITICAL **: gdk_drawable_real_draw_pixbuf: assertion
>  `src_y >= 0 && src_y + height <= gdk_pixbuf_get_height (pixbuf)' failed
>

update: flag works fine on ubuntu, but not on windows.

lubomir
--


More information about the subsurface mailing list