}
gboolean
-poi_select(guint unitx, guint unity, guint range, poi_info *poi)
+poi_select(gdouble lat, gdouble lon, guint range, poi_info *poi)
{
GtkListStore *store;
guint num_pois;
GtkTreeIter iter;
-gdouble lat, lon, r;
-
-r=pixel2unit(2*range);
-unit2latlon(unitx, unity, lat, lon);
+gdouble r;
store=poi_list_store_new();
if (poi_get_list_near(lat, lon, r, store, &num_pois)==FALSE) {
gdouble lon;
};
-gboolean poi_select(guint unitx, guint unity, guint range, poi_info *poi);
+gboolean poi_select(gdouble lat, gdouble lon, guint range, poi_info *poi);
gboolean poi_edit_dialog(POIAction action, poi_info *poi);
gboolean poi_search_dialog(GtkListStore *store, poi_info *poi, gdouble lat, gdouble lon);
GtkWidget *poi_quick_button_box(poi_quick_data *qpdata);