map.h
Go to the documentation of this file.
1 /*
2  * libasterix
3  * Copyright [2013-2021] SinoATC <http://www.sinoatc.com>.
4  * All Rights Reserved.
5  *
6  * NOTICE: All information contained herein is, and remains
7  * the property of SinoATC and its suppliers, if any.
8  * The intellectual and technical concepts contained herein
9  * are proprietary to Aerosys Corporation and its suppliers and may be
10  * covered by U.S. and Foreign Patents, patents in process,
11  * and are protected by trade secret or copyright law.
12  * Dissemination of this information or reproduction of this material
13  * is strictly forbidden unless prior written permission is obtained
14  * from SinoATC.
15  */
16 
23 #ifndef LIBASTERIX_MAP_H
24 #define LIBASTERIX_MAP_H
25 
26 #include <stdbool.h>
27 #include "platform.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
34 typedef enum _ast_map_service_t
35 {
42 
47 const char* ast_map_get_service_name(const ast_map_service_t service);
48 
60 bool ast_map_get_link_url(char* url, const size_t url_size, const ast_map_service_t service, const double latitude, const double longitude);
61 
62 #ifdef __cplusplus
63  }
64 #endif // extern "C"
65 
66 #endif //LIBASTERIX_MAP_H
67 
68 // vim:set ft=c sw=2 sts=2 fenc=utf8:
bool ast_map_get_link_url(char *url, const size_t url_size, const ast_map_service_t service, const double latitude, const double longitude)
Get link URL of online map service.
This file includes platform specific definitions.
ast_map_service_t
Map service.
Definition: map.h:34
Definition: map.h:36
Definition: map.h:37
Definition: map.h:39
Definition: map.h:40
const char * ast_map_get_service_name(const ast_map_service_t service)
Get name of of online map service.
Definition: map.h:38