return TRUE;
}
+void
+map_poi_deinit(void)
+{
+map_poi_cache_clear();
+#if 0
+g_object_unref(layout);
+g_object_unref(fontdesc);
+g_object_unref(poi_gc);
+#endif
+}
+
static void
map_poi_title(gint x, gint y, GdkGC *gc, gchar *title)
{
#ifndef _MAPPER_MAP_POI_H
#define _MAPPER_MAP_POI_H
-void map_render_poi(void);
-void map_poi_cache_clear(void);
-
gboolean map_poi_init(GtkWidget *map_widget);
+void map_poi_deinit(void);
+
+void map_render_poi(void);
gboolean map_poi_find_at_latlon(gdouble lat, gdouble lon, guint *poi_id);
+void map_poi_cache_clear(void);
#endif