## OsmGpsMap Deprecated

OsmGpsMap Deprecated

## Functions

void | osm_gps_map_draw_gps ()
void | osm_gps_map_clear_gps ()
void | osm_gps_map_add_track ()
void | osm_gps_map_replace_track ()
void | osm_gps_map_clear_tracks ()
void | osm_gps_map_add_image ()
void | osm_gps_map_add_image_with_alignment ()
gboolean | osm_gps_map_remove_image ()
void | osm_gps_map_clear_images ()
void | osm_gps_map_add_layer ()
OsmGpsMapPoint | osm_gps_map_get_co_ordinates ()
void | osm_gps_map_screen_to_geographic ()
void | osm_gps_map_geographic_to_screen ()
void | osm_gps_map_set_mapcenter ()

## Object Hierarchy

## Description

## Functions

### osm_gps_map_draw_gps ()

    void
    osm_gps_map_draw_gps (OsmGpsMap *map,
                          float latitude,
                          float longitude,
                          float heading);

`osm_gps_map_draw_gps` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_gps_add()` instead.

### osm_gps_map_clear_gps ()

    void
    osm_gps_map_clear_gps (OsmGpsMap *map);

`osm_gps_map_clear_gps` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_gps_clear()` instead.

### osm_gps_map_add_track ()

    void
    osm_gps_map_add_track (OsmGpsMap *map,
                           GSList *track);

`osm_gps_map_add_track` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_track_add()` instead.

### osm_gps_map_replace_track ()

    void
    osm_gps_map_replace_track (OsmGpsMap *map,
                               GSList *old_track,
                               GSList *new_track);

`osm_gps_map_replace_track` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_track_remove()` and `osm_gps_map_track_add()` or just edit the OsmGpsMapTrack object directly

### osm_gps_map_clear_tracks ()

    void
    osm_gps_map_clear_tracks (OsmGpsMap *map);

`osm_gps_map_clear_tracks` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_track_remove_all()` instead.

### osm_gps_map_add_image ()

    void
    osm_gps_map_add_image (OsmGpsMap *map,
                           float latitude,
                           float longitude,
                           GdkPixbuf *image);

`osm_gps_map_add_image` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_image_add()` instead.

### osm_gps_map_add_image_with_alignment ()

    void
    osm_gps_map_add_image_with_alignment (OsmGpsMap *map,
                                          float latitude,
                                          float longitude,
                                          GdkPixbuf *image,
                                          float xalign,
                                          float yalign);

`osm_gps_map_add_image_with_alignment` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_image_add_with_alignment()` instead.

### osm_gps_map_remove_image ()

    gboolean
    osm_gps_map_remove_image (OsmGpsMap *map,
                              GdkPixbuf *image);

`osm_gps_map_remove_image` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_image_remove()` instead.

#### Returns

### osm_gps_map_clear_images ()

    void
    osm_gps_map_clear_images (OsmGpsMap *map);

`osm_gps_map_clear_images` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_image_remove_all()` instead.

### osm_gps_map_add_layer ()

    void
    osm_gps_map_add_layer (OsmGpsMap *map,
                           OsmGpsMapLayer *layer);

`osm_gps_map_add_layer` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_layer_add()` instead.

### osm_gps_map_get_co_ordinates ()

    OsmGpsMapPoint
    osm_gps_map_get_co_ordinates (OsmGpsMap *map,
                                  int pixel_x,
                                  int pixel_y);

`osm_gps_map_get_co_ordinates` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_convert_screen_to_geographic()` or `osm_gps_map_get_event_location()` instead.

#### Returns

### osm_gps_map_screen_to_geographic ()

    void
    osm_gps_map_screen_to_geographic (OsmGpsMap *map,
                                      gint pixel_x,
                                      gint pixel_y,
                                      gfloat *latitude,
                                      gfloat *longitude);

`osm_gps_map_screen_to_geographic` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_convert_screen_to_geographic()` instead.

### osm_gps_map_geographic_to_screen ()

    void
    osm_gps_map_geographic_to_screen (OsmGpsMap *map,
                                      gfloat latitude,
                                      gfloat longitude,
                                      gint *pixel_x,
                                      gint *pixel_y);

`osm_gps_map_geographic_to_screen` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_convert_geographic_to_screen()` instead.

### osm_gps_map_set_mapcenter ()

    void
    osm_gps_map_set_mapcenter (OsmGpsMap *map,
                               float latitude,
                               float longitude,
                               int zoom);

`osm_gps_map_set_mapcenter` has been deprecated since version 0.7.0 and should not be used in newly-written code.

Use `osm_gps_map_set_center_and_zoom()` instead.

## Types and Values