25 #ifndef LIBASTERIX_MAP_H 26 #define LIBASTERIX_MAP_H 35 typedef enum _ast_map_zoom_t
101 #endif //LIBASTERIX_MAP_H
bool(* ast_get_map_url_func_t)(char *url, const size_t url_size, const int width, const int height, const ast_map_zoom_t zoom, const double latitude, const double longitude)
Function prototype of getting map url.
Definition: map.h:54
ast_map_zoom_t
Definition: map.h:35
void ast_reg_callback_get_map_url(ast_get_map_url_func_t callback)
Register callback function of ast_get_map_url_func_t.
bool ast_get_map_url_osm(char *url, const size_t url_size, const int width, const int height, const ast_map_zoom_t zoom, const double latitude, const double longitude)
Map service use Open Street Map.
bool ast_get_map_url_nomap(char *url, const size_t url_size, const int width, const int height, const ast_map_zoom_t zoom, const double latitude, const double longitude)
Null Map service.
bool ast_get_map_url_baidu(char *url, const size_t url_size, const int width, const int height, const ast_map_zoom_t zoom, const double latitude, const double longitude)
Map service use Baidu Map.
bool ast_get_map_url_google(char *url, const size_t url_size, const int width, const int height, const ast_map_zoom_t zoom, const double latitude, const double longitude)
Map service use Google Maps.
bool ast_get_map_url_tencent(char *url, const size_t url_size, const int width, const int height, const ast_map_zoom_t zoom, const double latitude, const double longitude)
Map service use Tencent Map.
bool ast_get_map_url_googlechina(char *url, const size_t url_size, const int width, const int height, const ast_map_zoom_t zoom, const double latitude, const double longitude)
Map service use Google Maps China.