Diff of /trunk/src/map-tool.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 98 by harbaum, Mon Sep 7 13:20:37 2009 UTC revision 112 by harbaum, Tue Sep 15 13:52:04 2009 UTC
# Line 424  on_map_button_release_event(GtkWidget *w Line 424  on_map_button_release_event(GtkWidget *w
424        float dist = gpx_pos_get_distance(pos, nearest->pos, FALSE);        float dist = gpx_pos_get_distance(pos, nearest->pos, FALSE);
425        if(dist2pixel(context, dist, nearest->pos.lat) < CLICK_FUZZ) {        if(dist2pixel(context, dist, nearest->pos.lat) < CLICK_FUZZ) {
426    
427          osm_gps_map_draw_balloon(map, nearest->pos.lat, nearest->pos.lon,          osm_gps_map_osd_draw_balloon(map, nearest->pos.lat, nearest->pos.lon,
428                                   balloon_draw_cb, nearest);                                       balloon_draw_cb, nearest);
429        }        }
430      }      }
431      context->press_on = NULL;      context->press_on = NULL;

Legend:
Removed from v.98  
changed lines
  Added in v.112