[core, android, ios, macos, qt] v10 default styles
Upgraded from v9 default styles to v10 wherever the developer expects to get the latest and greatest, as well as in a couple tests where it may be beneficial to ensure that we can handle a two-digit version number in the style URL.
This commit is contained in:
committed by
Minh Nguyễn
parent
78af1c6625
commit
ed54849e99
@@ -35,13 +35,13 @@ public class Style {
|
||||
* constant means your map style will always use the latest version and may change as we
|
||||
* improve the style.
|
||||
*/
|
||||
public static final String MAPBOX_STREETS = "mapbox://styles/mapbox/streets-v9";
|
||||
public static final String MAPBOX_STREETS = "mapbox://styles/mapbox/streets-v10";
|
||||
|
||||
/**
|
||||
* Outdoors: A general-purpose style tailored to outdoor activities. Using this constant means
|
||||
* your map style will always use the latest version and may change as we improve the style.
|
||||
*/
|
||||
public static final String OUTDOORS = "mapbox://styles/mapbox/outdoors-v9";
|
||||
public static final String OUTDOORS = "mapbox://styles/mapbox/outdoors-v10";
|
||||
|
||||
/**
|
||||
* Light: Subtle light backdrop for data visualizations. Using this constant means your map
|
||||
@@ -66,5 +66,5 @@ public class Style {
|
||||
* constant means your map style will always use the latest version and may change as we
|
||||
* improve the style.
|
||||
*/
|
||||
public static final String SATELLITE_STREETS = "mapbox://styles/mapbox/satellite-streets-v9";
|
||||
public static final String SATELLITE_STREETS = "mapbox://styles/mapbox/satellite-streets-v10";
|
||||
}
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
<!-- these are public -->
|
||||
<!-- Using one of these constants means your map style will always use the latest version and
|
||||
may change as we improve the style. -->
|
||||
<string name="mapbox_style_mapbox_streets" translatable="false">mapbox://styles/mapbox/streets-v9</string>
|
||||
<string name="mapbox_style_outdoors" translatable="false">mapbox://styles/mapbox/outdoors-v9</string>
|
||||
<string name="mapbox_style_mapbox_streets" translatable="false">mapbox://styles/mapbox/streets-v10</string>
|
||||
<string name="mapbox_style_outdoors" translatable="false">mapbox://styles/mapbox/outdoors-v10</string>
|
||||
<string name="mapbox_style_light" translatable="false">mapbox://styles/mapbox/light-v9</string>
|
||||
<string name="mapbox_style_dark" translatable="false">mapbox://styles/mapbox/dark-v9</string>
|
||||
<string name="mapbox_style_satellite" translatable="false">mapbox://styles/mapbox/satellite-v9</string>
|
||||
<string name="mapbox_style_satellite_streets" translatable="false">mapbox://styles/mapbox/satellite-streets-v9</string>
|
||||
<string name="mapbox_style_satellite_streets" translatable="false">mapbox://styles/mapbox/satellite-streets-v10</string>
|
||||
</resources>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
android:layout_weight="0.5"
|
||||
mapbox:center_latitude="38.913187"
|
||||
mapbox:center_longitude="-77.032546"
|
||||
mapbox:style_url="mapbox://styles/mapbox/streets-v9"
|
||||
mapbox:style_url="mapbox://styles/mapbox/streets-v10"
|
||||
mapbox:zoom="12"/>
|
||||
|
||||
<!-- SF -->
|
||||
@@ -35,7 +35,7 @@
|
||||
android:layout_weight="0.5"
|
||||
mapbox:center_latitude="37.775732"
|
||||
mapbox:center_longitude="-122.413985"
|
||||
mapbox:style_url="mapbox://styles/mapbox/outdoors-v9"
|
||||
mapbox:style_url="mapbox://styles/mapbox/outdoors-v10"
|
||||
mapbox:zoom="13"/>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
mapbox:mapbox_cameraTargetLng="-122.3421"
|
||||
mapbox:mapbox_cameraZoom="11"
|
||||
mapbox:mapbox_renderTextureMode="true"
|
||||
mapbox:mapbox_styleUrl="mapbox://styles/mapbox/streets-v9" />
|
||||
mapbox:mapbox_styleUrl="mapbox://styles/mapbox/streets-v10" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
android:layout_height="match_parent"
|
||||
mapbox:mapbox_cameraTargetLat="40.73581"
|
||||
mapbox:mapbox_cameraTargetLng="-73.99155"
|
||||
mapbox:mapbox_styleUrl="mapbox://styles/mapbox/streets-v9"
|
||||
mapbox:mapbox_styleUrl="mapbox://styles/mapbox/streets-v10"
|
||||
mapbox:mapbox_cameraZoom="11"
|
||||
mapbox:mapbox_uiZoomControls="false"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user