From 74c4d8eac8171a3291872dc9074d039da07a5c5b Mon Sep 17 00:00:00 2001 From: Nadia Barbosa Date: Thu, 17 Jan 2019 17:15:38 -0800 Subject: [ios] Fix links in documentation [ios] Update to docs.mapbox.com Update links --- .../darwin/scripts/style-spec-overrides-v8.json | 26 +++++++++++----------- platform/darwin/src/MGLAccountManager.h | 2 +- platform/darwin/src/MGLCircleStyleLayer.h | 8 +++---- platform/darwin/src/MGLFillExtrusionStyleLayer.h | 5 ++--- platform/darwin/src/MGLFillStyleLayer.h | 10 ++++----- platform/darwin/src/MGLHeatmapStyleLayer.h | 2 +- platform/darwin/src/MGLHillshadeStyleLayer.h | 2 +- platform/darwin/src/MGLLight.h | 8 +++---- platform/darwin/src/MGLLineStyleLayer.h | 12 +++++----- platform/darwin/src/MGLRasterDEMSource.h | 2 +- platform/darwin/src/MGLRasterStyleLayer.h | 11 +++++---- platform/darwin/src/MGLSymbolStyleLayer.h | 13 +++++------ platform/darwin/src/MGLTileSource.h | 2 +- .../MGLStyleLayerIntegrationTests.m | 2 +- platform/ios/docs/guides/Info.plist Keys.md | 2 +- platform/ios/src/MGLMapView.h | 8 +++---- platform/ios/src/MGLMapView.mm | 2 +- platform/ios/src/MGLSDKUpdateChecker.mm | 2 +- 18 files changed, 58 insertions(+), 61 deletions(-) diff --git a/platform/darwin/scripts/style-spec-overrides-v8.json b/platform/darwin/scripts/style-spec-overrides-v8.json index a5761e9adb..c98c61f71d 100644 --- a/platform/darwin/scripts/style-spec-overrides-v8.json +++ b/platform/darwin/scripts/style-spec-overrides-v8.json @@ -1,9 +1,9 @@ { - "light-cocoa-doc": "An `MGLLight` object represents the light source for extruded geometries in `MGLStyle`.\n\n#### Related examples\nSee the Adjust light of 3D buildings to learn how to create and modify the light source for 3D geometries.", + "light-cocoa-doc": "An `MGLLight` object represents the light source for extruded geometries in `MGLStyle`.\n\n#### Related examples\nSee the Adjust light of 3D buildings to learn how to create and modify the light source for 3D geometries.", "light": { "position": { "doc": "Position of the `MGLLight` source relative to lit (extruded) geometries, in a `MGLSphericalPosition` struct [radial coordinate, azimuthal angle, polar angle] where radial indicates the distance from the center of the base of an object to its light, azimuthal indicates the position of the light relative to 0° (0° when `MGLLight.anchor` is set to `MGLLightAnchorViewport` corresponds to the top of the viewport, or 0° when `MGLLight.anchor` is set to `MGLLightAnchorMap` corresponds to due north, and degrees proceed clockwise), and polar indicates the height of the light (from 0°, directly above, to 180°, directly below).", - "examples": "See the Adjust light of 3D buildings example to learn how to create and modify the position of value of an `MGLLight` object for 3D geometries." + "examples": "See the Adjust light of 3D buildings example to learn how to create and modify the position of value of an `MGLLight` object for 3D geometries." } }, "layer": { @@ -11,34 +11,34 @@ "values": { "fill": { "doc": "An `MGLFillStyleLayer` is a style layer that renders one or more filled (and optionally stroked) polygons on the map.\n\nUse a fill style layer to configure the visual appearance of polygon or multipolygon features. These features can come from vector tiles loaded by an `MGLVectorTileSource` object, or they can be `MGLPolygon`, `MGLPolygonFeature`, `MGLMultiPolygon`, or `MGLMultiPolygonFeature` instances in an `MGLShapeSource` or `MGLComputedShapeSource` object.", - "examples": "See the Select a feature within a layer example to learn how to use a `TERNARY` expression to modify the `fillOpacity` of an `MGLFillStyleLayer` object. See the Add a pattern to a polygon example to learn how to use an image to add pattern to the features styled by a `MGLFillStyleLayer`." + "examples": "See the Select a feature within a layer example to learn how to use a `TERNARY` expression to modify the `fillOpacity` of an `MGLFillStyleLayer` object. See the Add a pattern to a polygon example to learn how to use an image to add pattern to the features styled by a `MGLFillStyleLayer`." }, "fill-extrusion": { "doc": "An `MGLFillExtrusionStyleLayer` is a style layer that renders one or more 3D extruded polygons on the map.\n\nUse a fill-extrusion style layer to configure the visual appearance of polygon or multipolygon features. These features can come from vector tiles loaded by an `MGLVectorTileSource` object, or they can be `MGLPolygon`, `MGLPolygonFeature`, `MGLMultiPolygon`, or `MGLMultiPolygonFeature` instances in an `MGLShapeSource` or `MGLComputedShapeSource` object.", - "examples": "See the Display 3D buildings example to learn how to add and style 3D layers on a map." + "examples": "See the Display 3D buildings example to learn how to add and style 3D layers on a map." }, "line": { "doc": "An `MGLLineStyleLayer` is a style layer that renders one or more stroked polylines on the map.\n\nUse a line style layer to configure the visual appearance of polyline or multipolyline features. These features can come from vector tiles loaded by an `MGLVectorTileSource` object, or they can be `MGLPolyline`, `MGLPolylineFeature`, `MGLMultiPolyline`, or `MGLMultiPolylineFeature` instances in an `MGLShapeSource` or `MGLComputedShapeSource` object.", - "examples": "See the Add multiple shapes from a single shape source example to learn how to add a line to your map using this style layer. See the Add a line style layer from GeoJSON example to learn how to add and style line data to an `MGLMapView` object at runtime." + "examples": "See the Add multiple shapes from a single shape source example to learn how to add a line to your map using this style layer. See the Add a line style layer from GeoJSON example to learn how to add and style line data to an `MGLMapView` object at runtime." }, "symbol": { "doc": "An `MGLSymbolStyleLayer` is a style layer that renders icon and text labels at points or along lines on the map.\n\nUse a symbol style layer to configure the visual appearance of feature labels. These features can come from vector tiles loaded by an `MGLVectorTileSource` object, or they can be `MGLShape` or `MGLFeature` instances in an `MGLShapeSource` or `MGLComputedShapeSource` object.", - "examples": "See the Dynamically style interactive points and Use images to cluster point data examples learn how to style data on your map using this layer." + "examples": "See the Dynamically style interactive points and Use images to cluster point data examples learn how to style data on your map using this layer." }, "circle": { "doc": "An `MGLCircleStyleLayer` is a style layer that renders one or more filled circles on the map.\n\nUse a circle style layer to configure the visual appearance of point or point collection features. These features can come from vector tiles loaded by an `MGLVectorTileSource` object, or they can be `MGLPointAnnotation`, `MGLPointFeature`, `MGLPointCollection`, or `MGLPointCollectionFeature` instances in an `MGLShapeSource` or `MGLComputedShapeSource` object.\n\nA circle style layer renders circles whose radii are measured in screen units. To display circles on the map whose radii correspond to real-world distances, use many-sided regular polygons and configure their appearance using an `MGLFillStyleLayer` object.", - "examples": "See the Data-driven circles, Add multiple shapes from a single shape source, and Cluster point data examples to learn how to add circles to your map using this style layer." + "examples": "See the Data-driven circles, Add multiple shapes from a single shape source, and Cluster point data examples to learn how to add circles to your map using this style layer." }, "heatmap": { "doc": "An `MGLHeatmapStyleLayer` is a style layer that renders a heatmap.\n\nA heatmap visualizes the spatial distribution of a large, dense set of point data, using color to avoid cluttering the map with individual points at low zoom levels. The points are weighted by an attribute you specify. Use a heatmap style layer in conjunction with point or point collection features. These features can come from vector tiles loaded by an `MGLVectorTileSource` object, or they can be `MGLPointAnnotation`, `MGLPointFeature`, `MGLPointCollection`, or `MGLPointCollectionFeature` instances in an `MGLShapeSource` or `MGLComputedShapeSource` object.\n\nConsider accompanying a heatmap style layer with an `MGLCircleStyleLayer` or `MGLSymbolStyleLayer` at high zoom levels. If you are unsure whether the point data in an `MGLShapeSource` is dense enough to warrant a heatmap, you can alternatively cluster the source using the `MGLShapeSourceOptionClustered` option and render the data using an `MGLCircleStyleLayer` or `MGLSymbolStyleLayer`.", - "examples": "See the Create a heatmap layer example to learn how to add this style layer to your map." + "examples": "See the Create a heatmap layer example to learn how to add this style layer to your map." }, "raster": { - "doc": "An `MGLRasterStyleLayer` is a style layer that renders georeferenced raster imagery on the map, especially raster tiles.\n\nUse a raster style layer to configure the color parameters of raster tiles loaded by an `MGLRasterTileSource` object or raster images loaded by an `MGLImageSource` object. For example, you could use a raster style layer to render Mapbox Satellite imagery, a raster tile set uploaded to Mapbox Studio, or a raster map authored in TileMill, the classic Mapbox Editor, or Mapbox Studio Classic.\n\nRaster images may also be used as icons or patterns in a style layer. To register an image for use as an icon or pattern, use the `-[MGLStyle setImage:forName:]` method. To configure a point annotation’s image, use the `MGLAnnotationImage` class.", - "examples": "See the Add an image and Add raster imagery examples to learn how to add imagery with this style layer." + "doc": "An `MGLRasterStyleLayer` is a style layer that renders georeferenced raster imagery on the map, especially raster tiles.\n\nUse a raster style layer to configure the color parameters of raster tiles loaded by an `MGLRasterTileSource` object or raster images loaded by an `MGLImageSource` object. For example, you could use a raster style layer to render Mapbox Satellite imagery, a raster tile set uploaded to Mapbox Studio, or a raster map authored in TileMill, the classic Mapbox Editor, or Mapbox Studio Classic.\n\nRaster images may also be used as icons or patterns in a style layer. To register an image for use as an icon or pattern, use the `-[MGLStyle setImage:forName:]` method. To configure a point annotation’s image, use the `MGLAnnotationImage` class.", + "examples": "See the Add an image and Add raster imagery examples to learn how to add imagery with this style layer." }, "hillshade": { - "doc": "An `MGLHillshadeStyleLayer` is a style layer that renders raster digital elevation model (DEM) tiles on the map.\n\nUse a hillshade style layer to configure the color parameters of raster tiles loaded by an `MGLRasterDEMSource` object. For example, you could use a hillshade style layer to render Mapbox Terrain-RGB data.\n\nTo display posterized hillshading based on vector shapes, as with the Mapbox Terrain source, use an `MGLVectorTileSource` object in conjunction with several `MGLFillStyleLayer` objects." + "doc": "An `MGLHillshadeStyleLayer` is a style layer that renders raster digital elevation model (DEM) tiles on the map.\n\nUse a hillshade style layer to configure the color parameters of raster tiles loaded by an `MGLRasterDEMSource` object. For example, you could use a hillshade style layer to render Mapbox Terrain-RGB data.\n\nTo display posterized hillshading based on vector shapes, as with the Mapbox Terrain source, use an `MGLVectorTileSource` object in conjunction with several `MGLFillStyleLayer` objects." }, "background": { "doc": "An `MGLBackgroundStyleLayer` is a style layer that covers the entire map. Use a background style layer to configure a color or pattern to show below all other map content. If the style’s other layers use the Mapbox Streets source, the background style layer is responsible for drawing land, whereas the oceans and other bodies of water are drawn by `MGLFillStyleLayer` objects.\n\nA background style layer is typically the bottommost layer in a style, because it covers the entire map and can occlude any layers below it. You can therefore access it by getting the last item in the `MGLStyle.layers` array.\n\nIf the background style layer is transparent or omitted from the style, any portion of the map view that does not show another style layer is transparent." @@ -65,11 +65,11 @@ }, "icon-image": { "doc": "Name of a style image to use for drawing an image background.\n\nUse the `+[MGLStyle setImage:forName:]` method to associate an image with a name that you can set this property to.\n\nWithin a constant string value, a feature attribute name enclosed in curly braces (e.g., `{token}`) is replaced with the value of the named attribute. Tokens inside non-constant expressions are ignored; instead, use `mgl_join:` and key path expressions.", - "examples": "See the Use images to cluster point data example to learn how to dynamically set your icons with an expression." + "examples": "See the Use images to cluster point data example to learn how to dynamically set your icons with an expression." }, "text-field": { "doc": "Value to use for a text label.\n\nWithin a constant string value, a feature attribute name enclosed in curly braces (e.g., `{token}`) is replaced with the value of the named attribute. Tokens inside non-constant expressions are ignored; instead, use `mgl_join:` and key path expressions.", - "examples": "See the Cluster point data and Use images to cluster point data to learn how to use an expression to set this attribute to the number of markers within a cluster." + "examples": "See the Cluster point data and Use images to cluster point data to learn how to use an expression to set this attribute to the number of markers within a cluster." }, "text-font": { "doc": "An array of font face names used to display the text.\n\nEach font name must be included in the `{fontstack}` portion of the JSON stylesheet’s glyphs property. You can register a custom font when designing the style in Mapbox Studio. Fonts installed on the system are not used.\n\nThe first font named in the array is applied to the text. For each character in the text, if the first font lacks a glyph for the character, the next font is applied as a fallback, and so on." diff --git a/platform/darwin/src/MGLAccountManager.h b/platform/darwin/src/MGLAccountManager.h index 436e45ca9b..b539b2ee8c 100644 --- a/platform/darwin/src/MGLAccountManager.h +++ b/platform/darwin/src/MGLAccountManager.h @@ -15,7 +15,7 @@ MGL_EXPORT /** The - Mapbox access token + Mapbox access token used by all instances of `MGLMapView` in the current application. Mapbox-hosted vector tiles and styles require an API access token, which you diff --git a/platform/darwin/src/MGLCircleStyleLayer.h b/platform/darwin/src/MGLCircleStyleLayer.h index 4b6a37fb86..e2b043a729 100644 --- a/platform/darwin/src/MGLCircleStyleLayer.h +++ b/platform/darwin/src/MGLCircleStyleLayer.h @@ -80,11 +80,11 @@ typedef NS_ENUM(NSUInteger, MGLCircleTranslationAnchor) { #### Related examples See the Data-driven + href="https://docs.mapbox.com/ios/maps/examples/dds-circle-layer/">Data-driven circles, Add - multiple shapes from a single shape source, and Cluster point + href="https://docs.mapbox.com/ios/maps/examples/shape-collection/">Add multiple + shapes from a single shape source, and Cluster point data examples to learn how to add circles to your map using this style layer. diff --git a/platform/darwin/src/MGLFillExtrusionStyleLayer.h b/platform/darwin/src/MGLFillExtrusionStyleLayer.h index 98eb6b3c20..adb215c413 100644 --- a/platform/darwin/src/MGLFillExtrusionStyleLayer.h +++ b/platform/darwin/src/MGLFillExtrusionStyleLayer.h @@ -41,9 +41,8 @@ typedef NS_ENUM(NSUInteger, MGLFillExtrusionTranslationAnchor) { `-[MGLStyle addLayer:]`. #### Related examples - See the Display 3D - buildings example to learn how to add and style 3D layers on a map. + See the Display + 3D buildings example to learn how to add and style 3D layers on a map. ### Example diff --git a/platform/darwin/src/MGLFillStyleLayer.h b/platform/darwin/src/MGLFillStyleLayer.h index 4eaf9b53ba..b6f0e9bd06 100644 --- a/platform/darwin/src/MGLFillStyleLayer.h +++ b/platform/darwin/src/MGLFillStyleLayer.h @@ -41,11 +41,11 @@ typedef NS_ENUM(NSUInteger, MGLFillTranslationAnchor) { #### Related examples See the Select a - feature within a layer example to learn how to use a `TERNARY` expression - to modify the `fillOpacity` of an `MGLFillStyleLayer` object. See the Add a pattern - to a polygon example to learn how to use an image to add pattern to the + href="https://docs.mapbox.com/ios/maps/examples/select-layer/">Select a feature + within a layer example to learn how to use a `TERNARY` expression to modify + the `fillOpacity` of an `MGLFillStyleLayer` object. See the Add a pattern to + a polygon example to learn how to use an image to add pattern to the features styled by a `MGLFillStyleLayer`. ### Example diff --git a/platform/darwin/src/MGLHeatmapStyleLayer.h b/platform/darwin/src/MGLHeatmapStyleLayer.h index 086f335746..3c6dfbc296 100644 --- a/platform/darwin/src/MGLHeatmapStyleLayer.h +++ b/platform/darwin/src/MGLHeatmapStyleLayer.h @@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN #### Related examples See the Create a + href="https://docs.mapbox.com/ios/maps/examples/heatmap-example/">Create a heatmap layer example to learn how to add this style layer to your map. ### Example diff --git a/platform/darwin/src/MGLHillshadeStyleLayer.h b/platform/darwin/src/MGLHillshadeStyleLayer.h index 45b0e66751..1cf3797321 100644 --- a/platform/darwin/src/MGLHillshadeStyleLayer.h +++ b/platform/darwin/src/MGLHillshadeStyleLayer.h @@ -31,7 +31,7 @@ typedef NS_ENUM(NSUInteger, MGLHillshadeIlluminationAnchor) { Use a hillshade style layer to configure the color parameters of raster tiles loaded by an `MGLRasterDEMSource` object. For example, you could use a hillshade style layer to render Mapbox + href="https://docs.mapbox.com/help/troubleshooting/access-elevation-data/#mapbox-terrain-rgb">Mapbox Terrain-RGB data. To display posterized hillshading based on vector shapes, as with the Adjust light - of 3D buildings to learn how to create and modify the light source for 3D + href="https://docs.mapbox.com/ios/maps/examples/light-example/">Adjust light of + 3D buildings to learn how to create and modify the light source for 3D geometries. */ MGL_EXPORT @@ -128,8 +128,8 @@ MGL_EXPORT #### Related examples See the Adjust light - of 3D buildings example to learn how to create and modify the position of + href="https://docs.mapbox.com/ios/maps/examples/light-example/">Adjust light of + 3D buildings example to learn how to create and modify the position of value of an `MGLLight` object for 3D geometries. */ @property (nonatomic) NSExpression *position; diff --git a/platform/darwin/src/MGLLineStyleLayer.h b/platform/darwin/src/MGLLineStyleLayer.h index beb082d486..3400f7e75b 100644 --- a/platform/darwin/src/MGLLineStyleLayer.h +++ b/platform/darwin/src/MGLLineStyleLayer.h @@ -91,12 +91,12 @@ typedef NS_ENUM(NSUInteger, MGLLineTranslationAnchor) { #### Related examples See the Add - multiple shapes from a single shape source example to learn how to add a - line to your map using this style layer. See the Add a - line style layer from GeoJSON example to learn how to add and style line - data to an `MGLMapView` object at runtime. + href="https://docs.mapbox.com/ios/maps/examples/shape-collection/">Add multiple + shapes from a single shape source example to learn how to add a line to + your map using this style layer. See the Add a line + style layer from GeoJSON example to learn how to add and style line data to + an `MGLMapView` object at runtime. ### Example diff --git a/platform/darwin/src/MGLRasterDEMSource.h b/platform/darwin/src/MGLRasterDEMSource.h index e42e4d8ec8..18ad802564 100644 --- a/platform/darwin/src/MGLRasterDEMSource.h +++ b/platform/darwin/src/MGLRasterDEMSource.h @@ -34,7 +34,7 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionDEMEnc `-[MGLStyle addSource:]` and `-[MGLStyle sourceWithIdentifier:]`. Currently, raster DEM sources only support the format used by - Mapbox Terrain-RGB. + Mapbox Terrain-RGB. ### Example diff --git a/platform/darwin/src/MGLRasterStyleLayer.h b/platform/darwin/src/MGLRasterStyleLayer.h index cab6db3a91..87cf5be1b8 100644 --- a/platform/darwin/src/MGLRasterStyleLayer.h +++ b/platform/darwin/src/MGLRasterStyleLayer.h @@ -36,8 +36,8 @@ typedef NS_ENUM(NSUInteger, MGLRasterResamplingMode) { `MGLImageSource` object. For example, you could use a raster style layer to render Mapbox Satellite imagery, a raster tile - set uploaded to Mapbox Studio, or a raster map authored in raster + tile set uploaded to Mapbox Studio, or a raster map authored in TileMill, the classic Mapbox Editor, or Mapbox Studio Classic. @@ -53,10 +53,9 @@ typedef NS_ENUM(NSUInteger, MGLRasterResamplingMode) { `-[MGLStyle addLayer:]`. #### Related examples - See the Add an - image and Add + See the Add + an image and Add raster imagery examples to learn how to add imagery with this style layer. ### Example diff --git a/platform/darwin/src/MGLSymbolStyleLayer.h b/platform/darwin/src/MGLSymbolStyleLayer.h index a99e6c23fe..ee8afb1fb2 100644 --- a/platform/darwin/src/MGLSymbolStyleLayer.h +++ b/platform/darwin/src/MGLSymbolStyleLayer.h @@ -358,9 +358,9 @@ typedef NS_ENUM(NSUInteger, MGLTextTranslationAnchor) { #### Related examples See the Dynamically + href="https://docs.mapbox.com/ios/maps/examples/runtime-multiple-annotations/">Dynamically style interactive points and Use + href="https://docs.mapbox.com/ios/maps/examples/clustering-with-images/">Use images to cluster point data examples learn how to style data on your map using this layer. @@ -520,7 +520,7 @@ MGL_EXPORT #### Related examples See the Use + href="https://docs.mapbox.com/ios/maps/examples/clustering-with-images/">Use images to cluster point data example to learn how to dynamically set your icons with an expression. */ @@ -1089,10 +1089,9 @@ MGL_EXPORT feature attributes #### Related examples - See the Cluster point - data and Use + See the Cluster + point data and Use images to cluster point data to learn how to use an expression to set this attribute to the number of markers within a cluster. */ diff --git a/platform/darwin/src/MGLTileSource.h b/platform/darwin/src/MGLTileSource.h index 0d8b118ec6..f22babc8ca 100644 --- a/platform/darwin/src/MGLTileSource.h +++ b/platform/darwin/src/MGLTileSource.h @@ -148,7 +148,7 @@ typedef NS_ENUM(NSUInteger, MGLTileCoordinateSystem) { typedef NS_ENUM(NSUInteger, MGLDEMEncoding) { /** - Raster tiles generated with the [Mapbox encoding formula](https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb). + Raster tiles generated with the [Mapbox encoding formula](https://docs.mapbox.com/help/troubleshooting/access-elevation-data/#mapbox-terrain-rgb). */ MGLDEMEncodingMapbox = 0, diff --git a/platform/ios/Integration Tests/MGLStyleLayerIntegrationTests.m b/platform/ios/Integration Tests/MGLStyleLayerIntegrationTests.m index 460240bdec..31c494b7d5 100644 --- a/platform/ios/Integration Tests/MGLStyleLayerIntegrationTests.m +++ b/platform/ios/Integration Tests/MGLStyleLayerIntegrationTests.m @@ -9,7 +9,7 @@ // Adapted from https://www.mapbox.com/ios-sdk/examples/dds-circle-layer/ // "mapbox://examples.2uf7qges" is a map ID referencing a tileset. For more - // more information, see mapbox.com/help/define-map-id/ + // more information, see docs.mapbox.com/help/glossary/map-id/ MGLSource *source = [[MGLVectorTileSource alloc] initWithIdentifier:@"trees" configurationURL:[NSURL URLWithString:@"mapbox://examples.2uf7qges"]]; [self.mapView.style addSource:source]; diff --git a/platform/ios/docs/guides/Info.plist Keys.md b/platform/ios/docs/guides/Info.plist Keys.md index 474651970d..97b9d7419e 100644 --- a/platform/ios/docs/guides/Info.plist Keys.md +++ b/platform/ios/docs/guides/Info.plist Keys.md @@ -18,7 +18,7 @@ The default value is `https://api.mapbox.com`. ## MGLMapboxMetricsEnabledSettingShownInApp -If you have implemented custom opt-out of Mapbox Telemetry within the user interface of your app, use this key to disable the built-in check for opt-out support. See [this guide](https://www.mapbox.com/ios-sdk/#telemetry_opt_out) for more details. +If you have implemented custom opt-out of Mapbox Telemetry within the user interface of your app, use this key to disable the built-in check for opt-out support. See [this guide](https://docs.mapbox.com/help/how-mapbox-works/attribution/#mapbox-maps-sdk-for-ios) for more details. ## MGLIdeographicFontFamilyName diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h index 65d712e62d..6e3380553d 100644 --- a/platform/ios/src/MGLMapView.h +++ b/platform/ios/src/MGLMapView.h @@ -294,7 +294,7 @@ MGL_EXPORT IB_DESIGNABLE @note The Mapbox terms of service, which governs the use of Mapbox-hosted vector tiles and styles, - requires most Mapbox + requires most Mapbox customers to display the Mapbox logo. If this applies to you, do not hide this view or change its contents. */ @@ -309,18 +309,18 @@ MGL_EXPORT IB_DESIGNABLE @note The Mapbox terms of service, which governs the use of Mapbox-hosted vector tiles and styles, - requires these + requires these copyright notices to accompany any map that features Mapbox-designed styles, OpenStreetMap data, or other Mapbox data such as satellite or terrain data. If that applies to this map view, do not hide this view or remove any notices from it. @note You are additionally - required + required to provide users with the option to disable anonymous usage and location sharing (telemetry). If this view is hidden, you must implement this setting elsewhere in your app or via `Settings.bundle`. See our - website for + website for implementation help. */ @property (nonatomic, readonly) UIButton *attributionButton; diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index d188ffb91f..cd304fcae3 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -6399,7 +6399,7 @@ public: // Link UIButton *linkButton = [UIButton buttonWithType:UIButtonTypeSystem]; - [linkButton setTitle:NSLocalizedStringWithDefaultValue(@"FIRST_STEPS_URL", nil, nil, @"mapbox.com/help/first-steps-ios-sdk", @"Setup documentation URL display string; keep as short as possible") forState:UIControlStateNormal]; + [linkButton setTitle:NSLocalizedStringWithDefaultValue(@"FIRST_STEPS_URL", nil, nil, @"docs.mapbox.com/help/tutorials/first-steps-ios-sdk", @"Setup documentation URL display string; keep as short as possible") forState:UIControlStateNormal]; linkButton.translatesAutoresizingMaskIntoConstraints = NO; linkButton.titleLabel.numberOfLines = 0; [linkButton setContentCompressionResistancePriority:UILayoutPriorityDefaultLow diff --git a/platform/ios/src/MGLSDKUpdateChecker.mm b/platform/ios/src/MGLSDKUpdateChecker.mm index bb61e2b595..c41fc51ac5 100644 --- a/platform/ios/src/MGLSDKUpdateChecker.mm +++ b/platform/ios/src/MGLSDKUpdateChecker.mm @@ -20,7 +20,7 @@ return; } - NSURL *url = [NSURL URLWithString:@"https://www.mapbox.com/ios-sdk/latest_version"]; + NSURL *url = [NSURL URLWithString:@"https://docs.mapbox.com/ios/maps/latest_version.txt"]; [[NSURLSession.sharedSession dataTaskWithURL:url completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) { if (error || ((NSHTTPURLResponse *)response).statusCode != 200) { return; -- cgit v1.2.1