]> err.no Git - mapper/blob - src/map-poi.h
Some more map widget work. Does not work yet.
[mapper] / src / map-poi.h
1 /*
2  * This file is part of mapper
3  *
4  * Copyright (C) 2007 Kaj-Michael Lang
5  *
6  * POI and GPS-Info code originally written by Cezary Jackiewicz.
7  *
8  * Default map data provided by http://www.openstreetmap.org/
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License along
21  * with this program; if not, write to the Free Software Foundation, Inc.,
22  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23  */
24
25
26 #ifndef _MAPPER_MAP_POI_H
27 #define _MAPPER_MAP_POI_H
28
29 gboolean map_poi_init(GtkWidget *map_widget);
30 void map_poi_deinit(void);
31
32 void map_render_poi(void);
33 void map_render_all_pois(guint width, guint height);
34 void map_poi_cache_clear(void);
35 gboolean map_poi_find_at_latlon(gdouble lat, gdouble lon, guint *poi_id);
36
37 #endif