1#pragma once
2
3#include <vector>
4#include <string>
5
6namespace mbgl {
7namespace util {
8namespace default_styles {
9
10struct DefaultStyle {
11 const char* url;
12 const char* name;
13 const unsigned currentVersion;
14};
15
16constexpr const DefaultStyle streets = { .url: "mapbox://styles/mapbox/streets-v10", .name: "Streets", .currentVersion: 10 };
17constexpr const DefaultStyle outdoors = { .url: "mapbox://styles/mapbox/outdoors-v10", .name: "Outdoors", .currentVersion: 10 };
18constexpr const DefaultStyle light = { .url: "mapbox://styles/mapbox/light-v9", .name: "Light", .currentVersion: 9 };
19constexpr const DefaultStyle dark = { .url: "mapbox://styles/mapbox/dark-v9", .name: "Dark", .currentVersion: 9 };
20constexpr const DefaultStyle satellite = { .url: "mapbox://styles/mapbox/satellite-v9", .name: "Satellite", .currentVersion: 9 };
21constexpr const DefaultStyle satelliteStreets = { .url: "mapbox://styles/mapbox/satellite-streets-v10", .name: "Satellite Streets", .currentVersion: 10 };
22
23const DefaultStyle orderedStyles[] = {
24 streets, outdoors, light, dark, satellite, satelliteStreets,
25};
26const size_t numOrderedStyles = sizeof(orderedStyles) / sizeof(DefaultStyle);
27
28} // end namespace default_styles
29} // end namespace util
30} // end namespace mbgl
31

source code of qtlocation/src/3rdparty/mapbox-gl-native/platform/default/mbgl/util/default_styles.hpp