]> git.street.me.uk Git - andy/viking.git/blob - src/map_ids.h
Remove use of function local static variables for code simplicity.
[andy/viking.git] / src / map_ids.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3  * viking -- GPS Data and Topo Analyzer, Explorer, and Manager
4  *
5  * Copyright (C) 2014, Rob Norris <rw_norris@hotmail.com>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  *
21  */
22 #ifndef __MAP_IDS_H
23 #define __MAP_IDS_H
24  
25 // OLD Terraserver ids - listed for compatibility
26 #define MAP_ID_TERRASERVER_AERIAL 1
27 #define MAP_ID_TERRASERVER_TOPO 2
28 #define MAP_ID_TERRASERVER_URBAN 4
29  
30 #define MAP_ID_EXPEDIA 5
31
32 #define MAP_ID_MAPNIK_RENDER 7
33  
34 // Mostly OSM related - except the Blue Marble value
35 #define MAP_ID_OSM_MAPNIK 13
36 #define MAP_ID_BLUE_MARBLE 15
37 #define MAP_ID_OSM_CYCLE 17
38 #define MAP_ID_MAPQUEST_OSM 19
39 #define MAP_ID_OSM_TRANSPORT 20
40 #define MAP_ID_OSM_ON_DISK 21
41 #define MAP_ID_OSM_HUMANITARIAN 22
42 #define MAP_ID_MBTILES 23
43 #define MAP_ID_OSM_METATILES 24
44  
45 #define MAP_ID_BING_AERIAL 212
46  
47 // Unfortunately previous ID allocations have been a little haphazard,
48 //  but hopefully future IDs can be follow this scheme:
49 //   0 to 31 are intended for hard coded internal defaults
50 //   32-127 are intended for XML configuration map supplied defaults: see data/maps.xml
51 //   128 and above are intended for end user configurations.
52
53 #endif