Skip to content

Commit 9b821b0

Browse files
author
Langston Smith
authored
bumped StaticMapCriteria constant style strings (#1109)
1 parent 7c24920 commit 9b821b0

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

services-staticmap/src/main/java/com/mapbox/api/staticmap/v1/StaticMapCriteria.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ public final class StaticMapCriteria {
4040
*
4141
* @since 3.0.0
4242
*/
43-
public static final String STREET_STYLE = "streets-v10";
43+
public static final String STREET_STYLE = "streets-v11";
4444

4545
/**
4646
* Mapbox Outdoors is a general-purpose map with curated tilesets and specialized styling tailored
4747
* to hiking, biking, and the most adventurous use cases.
4848
*
4949
* @since 3.0.0
5050
*/
51-
public static final String OUTDOORS_STYLE = "outdoors-v10";
51+
public static final String OUTDOORS_STYLE = "outdoors-v11";
5252

5353

5454
/**
@@ -57,15 +57,15 @@ public final class StaticMapCriteria {
5757
*
5858
* @since 3.0.0
5959
*/
60-
public static final String LIGHT_STYLE = "light-v9";
60+
public static final String LIGHT_STYLE = "light-v10";
6161

6262
/**
6363
* Mapbox Dark style's a subtle, full-featured map designed to provide geographic context while
6464
* highlighting the data on your analytics dashboard, data visualization, or data overlay.
6565
*
6666
* @since 3.0.0
6767
*/
68-
public static final String DARK_STYLE = "dark-v9";
68+
public static final String DARK_STYLE = "dark-v10";
6969

7070
/**
7171
* Mapbox Satellite is our full global base map that is perfect as a blank canvas or an overlay
@@ -82,35 +82,35 @@ public final class StaticMapCriteria {
8282
*
8383
* @since 3.0.0
8484
*/
85-
public static final String SATELLITE_STREETS_STYLE = "satellite-streets-v10";
85+
public static final String SATELLITE_STREETS_STYLE = "satellite-streets-v11";
8686

8787
/**
8888
* Navigation specific style that shows only the necessary information while a user is driving.
8989
*
9090
* @since 3.0.0
9191
*/
92-
public static final String NAVIGATION_PREVIEW_DAY = "navigation-preview-day-v2";
92+
public static final String NAVIGATION_PREVIEW_DAY = "navigation-preview-day-v3";
9393

9494
/**
9595
* Navigation specific style that shows only the necessary information while a user is driving.
9696
*
9797
* @since 3.0.0
9898
*/
99-
public static final String NAVIGATION_PREVIEW_NIGHT = "navigation-preview-night-v2";
99+
public static final String NAVIGATION_PREVIEW_NIGHT = "navigation-preview-night-v3";
100100

101101
/**
102102
* Navigation specific style that shows only the necessary information while a user is driving.
103103
*
104104
* @since 3.0.0
105105
*/
106-
public static final String NAVIGATION_GUIDANCE_DAY = "navigation-guidance-day-v2";
106+
public static final String NAVIGATION_GUIDANCE_DAY = "navigation-guidance-day-v3";
107107

108108
/**
109109
* Navigation specific style that shows only the necessary information while a user is driving.
110110
*
111111
* @since 3.0.0
112112
*/
113-
public static final String NAVIGATION_GUIDANCE_NIGHT = "navigation-guidance-night-v2";
113+
public static final String NAVIGATION_GUIDANCE_NIGHT = "navigation-guidance-night-v3";
114114

115115
private StaticMapCriteria() {
116116
throw new AssertionError("No Instances.");

services-staticmap/src/test/java/com/mapbox/api/staticmap/v1/MapboxStaticMapTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void styleId_getsAddedToUrlCorrectly() throws Exception {
8282
.accessToken(ACCESS_TOKEN)
8383
.styleId(StaticMapCriteria.DARK_STYLE)
8484
.build();
85-
assertTrue(staticMap.url().toString().contains("styles/v1/mapbox/dark-v9/static/"));
85+
assertTrue(staticMap.url().toString().contains("styles/v1/mapbox/dark-v10/static/"));
8686
}
8787

8888
@Test

0 commit comments

Comments
 (0)