From 0ff5700527431d9372ae56179f541bcea2a72f97 Mon Sep 17 00:00:00 2001 From: Patrick Hornecker Date: Mon, 4 Jan 2010 17:05:27 +0100 Subject: more position features --- friendfinder/map/object.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'friendfinder/map/object.c') diff --git a/friendfinder/map/object.c b/friendfinder/map/object.c index f4f4c0b..c337cc4 100644 --- a/friendfinder/map/object.c +++ b/friendfinder/map/object.c @@ -11,6 +11,8 @@ #include "smart_map_priv.h" +#include "../draw_user.h" + static void tile_array_add(struct smart_map *smart, int index) { smart->ta.tiles[index] = e_smart_tile_add(smart->evas); @@ -167,6 +169,9 @@ int map_object_update(struct smart_map *smart) if(smart->theme == NULL) return 0; + + get_own_position(smart->ta.lat, smart->ta.lon); + get_sender_position(smart->ta.lat, smart->ta.lon); snprintf(buffer, 512, "%lf * %lf", smart->ta.lat, smart->ta.lon); smart->lat = smart->ta.lat; -- cgit v1.2.3-55-g7522