Diff of /trunk/src/osm-gps-map.c

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

revision 112 by harbaum, Tue Sep 15 13:52:04 2009 UTC revision 113 by harbaum, Wed Sep 16 13:45:10 2009 UTC
# Line 2769  osm_gps_map_geographic_to_screen (OsmGps Line 2769  osm_gps_map_geographic_to_screen (OsmGps
2769      priv = map->priv;      priv = map->priv;
2770    
2771      if (pixel_x)      if (pixel_x)
2772          *pixel_x = lon2pixel(priv->map_zoom, deg2rad(longitude)) - priv->map_x;          *pixel_x = lon2pixel(priv->map_zoom, deg2rad(longitude)) -
2773                priv->map_x + priv->drag_mouse_dx;
2774      if (pixel_y)      if (pixel_y)
2775          *pixel_y = lat2pixel(priv->map_zoom, deg2rad(latitude)) - priv->map_y;          *pixel_y = lat2pixel(priv->map_zoom, deg2rad(latitude)) -
2776                priv->map_y + priv->drag_mouse_dy;
2777  }  }
2778    
2779  void  void

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