362 |
|
|
363 |
/* remove all existing appearances of this icon first */ |
/* remove all existing appearances of this icon first */ |
364 |
osm_gps_map_remove_image(OSM_GPS_MAP(context->widget), |
osm_gps_map_remove_image(OSM_GPS_MAP(context->widget), |
365 |
icon_get(ICON_MISC, 6)); |
icon_get(ICON_MISC, 4)); |
366 |
|
|
367 |
if(!isnan(context->appdata->geomath.lat) && |
if(!isnan(context->appdata->geomath.lat) && |
368 |
!isnan(context->appdata->geomath.lon)) { |
!isnan(context->appdata->geomath.lon)) { |
370 |
osm_gps_map_add_image(OSM_GPS_MAP(context->widget), |
osm_gps_map_add_image(OSM_GPS_MAP(context->widget), |
371 |
context->appdata->geomath.lat, |
context->appdata->geomath.lat, |
372 |
context->appdata->geomath.lon, |
context->appdata->geomath.lon, |
373 |
icon_get(ICON_MISC, 6)); |
icon_get(ICON_MISC, 4)); |
374 |
} |
} |
375 |
|
|
376 |
if(name) { |
if(name) { |