The Styles API section of the Mapbox API Documentation site now lists Traffic Day v2 and Traffic Night v2, so this change adds those styles to all the places where styles are listed. Also switched iosapp and macosapp to unversioned style factory methods since MGLStyleDefaultVersion is no longer applicable for all styles.
19 lines
1.1 KiB
C++
19 lines
1.1 KiB
C++
#include <mbgl/util/default_styles.hpp>
|
|
|
|
namespace mbgl {
|
|
namespace util {
|
|
namespace default_styles {
|
|
|
|
const DefaultStyle streets = { "mapbox://styles/mapbox/streets-v10", "Streets", 10 };
|
|
const DefaultStyle outdoors = { "mapbox://styles/mapbox/outdoors-v10", "Outdoors", 10 };
|
|
const DefaultStyle light = { "mapbox://styles/mapbox/light-v9", "Light", 9 };
|
|
const DefaultStyle dark = { "mapbox://styles/mapbox/dark-v9", "Dark", 9 };
|
|
const DefaultStyle satellite = { "mapbox://styles/mapbox/satellite-v9", "Satellite", 9 };
|
|
const DefaultStyle satelliteStreets = { "mapbox://styles/mapbox/satellite-streets-v10", "Satellite Streets", 10 };
|
|
const DefaultStyle trafficDay = { "mapbox://styles/mapbox/traffic-day-v2", "Traffic Day", 2 };
|
|
const DefaultStyle trafficNight = { "mapbox://styles/mapbox/traffic-night-v2", "Traffic Night", 2 };
|
|
|
|
} // namespace default_styles
|
|
} // end namespace util
|
|
} // end namespace mbgl
|