diff options
Diffstat (limited to 'include/mbgl/util/default_styles.hpp')
-rw-r--r-- | include/mbgl/util/default_styles.hpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/mbgl/util/default_styles.hpp b/include/mbgl/util/default_styles.hpp new file mode 100644 index 0000000000..3f5b6bd312 --- /dev/null +++ b/include/mbgl/util/default_styles.hpp @@ -0,0 +1,32 @@ +#ifndef MBGL_PLATFORM_DEFAULT_STYLES +#define MBGL_PLATFORM_DEFAULT_STYLES + +#include <vector> +#include <string> + +namespace mbgl { +namespace util { +namespace default_styles { + +struct DefaultStyle { + const char* url; + const char* name; +}; + +extern const DefaultStyle streets; +extern const DefaultStyle emerald; +extern const DefaultStyle light; +extern const DefaultStyle dark; +extern const DefaultStyle satellite; +extern const DefaultStyle hybrid; + +const DefaultStyle orderedStyles[] = { + streets, emerald, light, dark, satellite, hybrid, +}; +const size_t numOrderedStyles = sizeof(orderedStyles) / sizeof(DefaultStyle); + +} // end namespace default_styles +} // end namespace util +} // end namespace mbgl + +#endif |