summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-05-03 17:04:25 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-05-06 11:06:52 -0700
commit5035dc8418d931551bd58360bc82de2ae34cb066 (patch)
tree8fc3894df757efd1f38accb58b7cd682d4d74307
parent2ec95bc490c5793b7b8a3aa9999f48d196ca8085 (diff)
downloadqtlocation-mapboxgl-5035dc8418d931551bd58360bc82de2ae34cb066.tar.gz
[ios, osx] Revised style descriptions
Revised style descriptions to be more consistent with how the styles are described on www.mapbox.com.
-rw-r--r--platform/darwin/src/MGLStyle.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/platform/darwin/src/MGLStyle.h b/platform/darwin/src/MGLStyle.h
index 22b69464c3..65d45dc98e 100644
--- a/platform/darwin/src/MGLStyle.h
+++ b/platform/darwin/src/MGLStyle.h
@@ -21,7 +21,7 @@ static const NSInteger MGLStyleDefaultVersion = 9;
/**
Returns the URL to version 8 of the <a href="https://www.mapbox.com/maps/streets/">Mapbox Streets</a> style.
- Streets is a complete base map that balances nature, commerce, and infrastructure.
+ Streets is a general-purpose style with detailed road and transit networks.
`MGLMapView` and `MGLTilePyramidOfflineRegion` use Mapbox Streets when no style is specified explicitly.
*/
@@ -30,7 +30,7 @@ static const NSInteger MGLStyleDefaultVersion = 9;
/**
Returns the URL to the given version of the <a href="https://www.mapbox.com/maps/streets/">Mapbox Streets</a> style.
- Streets is a complete base map that balances nature, commerce, and infrastructure.
+ Streets is a general-purpose style with detailed road and transit networks.
`MGLMapView` and `MGLTilePyramidOfflineRegion` use Mapbox Streets when no style is specified explicitly.
@@ -41,14 +41,14 @@ static const NSInteger MGLStyleDefaultVersion = 9;
/**
Returns the URL to version 8 of the <a href="https://www.mapbox.com/blog/emerald-gl/">Mapbox Emerald</a> style.
- Emerald is a versatile style with emphasis on road networks and public transportation.
+ Emerald is a tactile style with subtle textures and dramatic hillshading.
*/
-+ (NSURL *)emeraldStyleURL __attribute__((deprecated("Use <mapbox://styles/mapbox/emerald-v8>.")));
++ (NSURL *)emeraldStyleURL __attribute__((deprecated("Create an NSURL object with the string “mapbox://styles/mapbox/emerald-v8”.")));
/**
Returns the URL to the given version of the <a href="https://www.mapbox.com/maps/outdoors/">Mapbox Outdoors</a> style.
- Outdoors is a rugged style that emphasizes physical terrain and outdoor activities.
+ Outdoors is a general-purpose style tailored to outdoor activities.
@param version The style’s latest released version. As of publication, the current version is `9`.
*/
@@ -89,14 +89,14 @@ static const NSInteger MGLStyleDefaultVersion = 9;
/**
Returns the URL to version 8 of the <a href="https://www.mapbox.com/maps/satellite/">Mapbox Satellite</a> style.
- Satellite is a beautiful global satellite and aerial imagery layer.
+ Satellite is high-resolution satellite and aerial imagery.
*/
+ (NSURL *)satelliteStyleURL __attribute__((deprecated("Use -satelliteStyleURLWithVersion:.")));
/**
Returns the URL to the given version of the <a href="https://www.mapbox.com/maps/satellite/">Mapbox Satellite</a> style.
- Satellite is a beautiful global satellite and aerial imagery layer.
+ Satellite is high-resolution satellite and aerial imagery.
@param version The style’s latest released version. As of publication, the current version is `9`.
*/
@@ -105,14 +105,14 @@ static const NSInteger MGLStyleDefaultVersion = 9;
/**
Returns the URL to version 8 of the <a href="https://www.mapbox.com/maps/satellite/">Mapbox Satellite Streets</a> style.
- Satellite Streets combines the global satellite and aerial imagery of Mapbox Satellite with unobtrusive labels and translucent roads from Mapbox Streets.
+ Satellite Streets combines the high-resolution satellite and aerial imagery of Mapbox Satellite with unobtrusive labels and translucent roads from Mapbox Streets.
*/
+ (NSURL *)hybridStyleURL __attribute__((deprecated("Use -satelliteStreetsStyleURLWithVersion:.")));
/**
Returns the URL to the given version of the <a href="https://www.mapbox.com/maps/satellite/">Mapbox Satellite Streets</a> style.
- Satellite Streets combines the global satellite and aerial imagery of Mapbox Satellite with unobtrusive labels and translucent roads from Mapbox Streets.
+ Satellite Streets combines the high-resolution satellite and aerial imagery of Mapbox Satellite with unobtrusive labels and translucent roads from Mapbox Streets.
@param version The style’s latest released version. As of publication, the current version is `9`.
*/