## OsmGpsMap Deprecated OsmGpsMap Deprecated |

## Synopsis

    void                osm_gps_map_draw_gps                (OsmGpsMap *map,
                                                             float latitude,
                                                             float longitude,
                                                             float heading);
    void                osm_gps_map_clear_gps               (OsmGpsMap *map);
    void                osm_gps_map_add_track               (OsmGpsMap *map,
                                                             GSList *track);
    void                osm_gps_map_replace_track           (OsmGpsMap *map,
                                                             GSList *old_track,
                                                             GSList *new_track);
    void                osm_gps_map_clear_tracks            (OsmGpsMap *map);
    void                osm_gps_map_add_image               (OsmGpsMap *map,
                                                             float latitude,
                                                             float longitude,
                                                             GdkPixbuf *image);
    void                osm_gps_map_add_image_with_alignment
                                                            (OsmGpsMap *map,
                                                             float latitude,
                                                             float longitude,
                                                             GdkPixbuf *image,
                                                             float xalign,
                                                             float yalign);
    gboolean            osm_gps_map_remove_image            (OsmGpsMap *map,
                                                             GdkPixbuf *image);
    void                osm_gps_map_clear_images            (OsmGpsMap *map);
    void                osm_gps_map_add_layer               (OsmGpsMap *map,
                                                             OsmGpsMapLayer *layer);
    OsmGpsMapPoint      osm_gps_map_get_co_ordinates        (OsmGpsMap *map,
                                                             int pixel_x,
                                                             int pixel_y);
    void                osm_gps_map_screen_to_geographic    (OsmGpsMap *map,
                                                             gint pixel_x,
                                                             gint pixel_y,
                                                             gfloat *latitude,
                                                             gfloat *longitude);
    void                osm_gps_map_geographic_to_screen    (OsmGpsMap *map,
                                                             gfloat latitude,
                                                             gfloat longitude,
                                                             gint *pixel_x,
                                                             gint *pixel_y);
    void                osm_gps_map_set_mapcenter           (OsmGpsMap *map,
                                                             float latitude,
                                                             float longitude,
                                                             int zoom);

## Description

## Details

### osm_gps_map_draw_gps ()

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

### Warning

`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.

`map` : |
`latitude` : |
`longitude` : |
`heading` : |

### osm_gps_map_clear_gps ()

    void                osm_gps_map_clear_gps               (OsmGpsMap *map);

### Warning

`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.

`map` : |

### osm_gps_map_add_track ()

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

### Warning

`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.

`map` : |
`track` : |

### osm_gps_map_replace_track ()

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

### Warning

`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

`map` : |
`old_track` : |
`new_track` : |

### osm_gps_map_clear_tracks ()

    void                osm_gps_map_clear_tracks            (OsmGpsMap *map);

### Warning

`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.

`map` : |

### osm_gps_map_add_image ()

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

### Warning

`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.

`map` : |
`latitude` : |
`longitude` : |
`image` : |

### 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);

### Warning

`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.

`map` : |
`latitude` : |
`longitude` : |
`image` : |
`xalign` : |
`yalign` : |

### osm_gps_map_remove_image ()

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

### Warning

`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.

`map` : |
`image` : |
Returns : |

### osm_gps_map_clear_images ()

    void                osm_gps_map_clear_images            (OsmGpsMap *map);

### Warning

`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.

`map` : |

### osm_gps_map_add_layer ()

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

### Warning

`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.

`map` : |
`layer` : |

### osm_gps_map_get_co_ordinates ()

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

### Warning

`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.

`map` : |
`pixel_x` : |
`pixel_y` : |
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);

### Warning

`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.

`map` : |
`pixel_x` : |
`pixel_y` : |
`latitude` : |
`longitude` : |

### 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);

### Warning

`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.

`map` : |
`latitude` : |
`longitude` : |
`pixel_x` : |
`pixel_y` : |

### osm_gps_map_set_mapcenter ()

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

### Warning

`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.

`map` : |
`latitude` : |
`longitude` : |
`zoom` : |