diff options
Diffstat (limited to 'platform/darwin/src')
-rw-r--r-- | platform/darwin/src/MGLAnnotation.h | 4 | ||||
-rw-r--r-- | platform/darwin/src/MGLFeature.h | 8 | ||||
-rw-r--r-- | platform/darwin/src/MGLGeometry.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLImageSource.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLMapCamera.h | 10 | ||||
-rw-r--r-- | platform/darwin/src/MGLMapSnapshotter.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLOfflineStorage.h | 4 | ||||
-rw-r--r-- | platform/darwin/src/MGLPointAnnotation.h | 6 | ||||
-rw-r--r-- | platform/darwin/src/MGLPolygon.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLPolyline.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLRasterTileSource.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLShapeSource.h | 8 | ||||
-rw-r--r-- | platform/darwin/src/MGLStyle.h | 14 | ||||
-rw-r--r-- | platform/darwin/src/MGLStyleLayer.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLTilePyramidOfflineRegion.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLVectorTileSource.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/NSExpression+MGLAdditions.h | 8 |
17 files changed, 40 insertions, 40 deletions
diff --git a/platform/darwin/src/MGLAnnotation.h b/platform/darwin/src/MGLAnnotation.h index 70b0bb178d..a8ac1e7e50 100644 --- a/platform/darwin/src/MGLAnnotation.h +++ b/platform/darwin/src/MGLAnnotation.h @@ -18,8 +18,8 @@ NS_ASSUME_NONNULL_BEGIN The other methods of this protocol are optional. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/annotation-models/"> - Annotation models</a> and <a href="https://www.mapbox.com/ios-sdk/maps/examples/annotation-views/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/annotation-models/"> + Annotation models</a> and <a href="https://docs.mapbox.com/ios/maps/examples/annotation-views/"> Annotation views</a> examples to learn how to add objects that follow the `MGLAnnotation` protocol. */ diff --git a/platform/darwin/src/MGLFeature.h b/platform/darwin/src/MGLFeature.h index 51901d73c0..6a8828bf37 100644 --- a/platform/darwin/src/MGLFeature.h +++ b/platform/darwin/src/MGLFeature.h @@ -185,7 +185,7 @@ MGL_EXPORT identifier and attributes. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/runtime-multiple-annotations/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/runtime-multiple-annotations/"> Dynamically style interactive points</a> example to learn how to initialize `MGLPointFeature` objects and add them to your map. */ @@ -200,7 +200,7 @@ MGL_EXPORT @see `MGLCluster` #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/clustering/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/clustering/"> Clustering point data</a> example to learn how to initialize clusters and add them to your map. */ @@ -217,7 +217,7 @@ MGL_EXPORT feature in GeoJSON. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/line-geojson/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/line-geojson/"> Add a line annotation from GeoJSON</a> example to learn how to initialize an `MGLPolylineFeature` and add it to an `MGLMapView` object. */ @@ -284,7 +284,7 @@ MGL_EXPORT in GeoJSON. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/shape-collection/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/shape-collection/"> Add multiple shapes from a single shape source</a> example to learn how to add shape data to your map using an `MGLShapeCollectionFeature` object. */ diff --git a/platform/darwin/src/MGLGeometry.h b/platform/darwin/src/MGLGeometry.h index 997ff285e2..397cf2a112 100644 --- a/platform/darwin/src/MGLGeometry.h +++ b/platform/darwin/src/MGLGeometry.h @@ -150,7 +150,7 @@ NS_INLINE BOOL MGLCoordinateBoundsIntersectsCoordinateBounds(MGLCoordinateBounds Returns `YES` if the coordinate is within the coordinate bounds. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/constraining-gestures/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/constraining-gestures/"> Restrict map panning to an area</a> example to learn how to use `MGLCoordinateInCoordinateBounds` to determine if a point is within, or intersects, a given bounding box. diff --git a/platform/darwin/src/MGLImageSource.h b/platform/darwin/src/MGLImageSource.h index 5eac5e21bf..66acd39e85 100644 --- a/platform/darwin/src/MGLImageSource.h +++ b/platform/darwin/src/MGLImageSource.h @@ -43,7 +43,7 @@ MGL_EXPORT ``` #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/image-source/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/image-source/"> Add an image</a> example to learn how to add an image to your map using `MGLImageSource`. */ diff --git a/platform/darwin/src/MGLMapCamera.h b/platform/darwin/src/MGLMapCamera.h index 061b1e0df1..c0e40bc33b 100644 --- a/platform/darwin/src/MGLMapCamera.h +++ b/platform/darwin/src/MGLMapCamera.h @@ -11,12 +11,12 @@ NS_ASSUME_NONNULL_BEGIN some point on an `MGLMapView`. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/camera-animation/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/camera-animation/"> Camera animation</a> example to learn how to create a camera that rotates - around a central point. See the <a href="https://www.mapbox.com/ios-sdk/maps/ - examples/constraining-gestures/">Restrict map panning to an area</a> example - to learn how to restrict map panning using `MGLMapViewDelegate`'s - `-mapView:shouldChangeFromCamera:toCamera:` method. + around a central point. See the <a href="https://docs.mapbox.com/ios/maps/examples/constraining-gestures/"> + Restrict map panning to an area</a> example to learn how to restrict map + panning using `MGLMapViewDelegate`'s +`-mapView:shouldChangeFromCamera:toCamera:` method. */ MGL_EXPORT @interface MGLMapCamera : NSObject <NSSecureCoding, NSCopying> diff --git a/platform/darwin/src/MGLMapSnapshotter.h b/platform/darwin/src/MGLMapSnapshotter.h index 2bd9d99fe0..146cbd2e15 100644 --- a/platform/darwin/src/MGLMapSnapshotter.h +++ b/platform/darwin/src/MGLMapSnapshotter.h @@ -165,7 +165,7 @@ typedef void (^MGLMapSnapshotCompletionHandler)(MGLMapSnapshot* _Nullable snapsh ``` #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/map-snapshotter/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/map-snapshotter/"> Create a static map snapshot</a> example to learn how to use the `MGLMapSnapshotter` to generate a static image based on an `MGLMapView` object's style, camera, and view bounds. diff --git a/platform/darwin/src/MGLOfflineStorage.h b/platform/darwin/src/MGLOfflineStorage.h index 0b2b5221cf..628a05927e 100644 --- a/platform/darwin/src/MGLOfflineStorage.h +++ b/platform/darwin/src/MGLOfflineStorage.h @@ -28,7 +28,7 @@ NS_ASSUME_NONNULL_BEGIN path. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/offline-pack/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/offline-pack/"> Download an offline map</a> example to learn how to calculate the progress of an offline download. */ @@ -184,7 +184,7 @@ typedef NS_ENUM(NSUInteger, MGLResourceKind) { maintains a canonical collection of offline packs in its `packs` property. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/offline-pack/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/offline-pack/"> Download an offline map</a> example to learn how to create and register an offline pack for a defined region. */ diff --git a/platform/darwin/src/MGLPointAnnotation.h b/platform/darwin/src/MGLPointAnnotation.h index 0543d57691..27562f0df0 100644 --- a/platform/darwin/src/MGLPointAnnotation.h +++ b/platform/darwin/src/MGLPointAnnotation.h @@ -36,9 +36,9 @@ NS_ASSUME_NONNULL_BEGIN in GeoJSON. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/marker/"> - Mark a place on the map with an annotation</a>, <a href="https://www.mapbox.com/ios-sdk/maps/examples/marker-image/"> - Mark a place on the map with an image</a>, and <a href="https://www.mapbox.com/ios-sdk/maps/examples/default-callout/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/marker/"> + Mark a place on the map with an annotation</a>, <a href="https://docs.mapbox.com/ios/maps/examples/marker-image/"> + Mark a place on the map with an image</a>, and <a href="https://docs.mapbox.com/ios/maps/examples/default-callout/"> Default callout usage</a> examples to learn how to add `MGLPointAnnotation` objects to your map. */ diff --git a/platform/darwin/src/MGLPolygon.h b/platform/darwin/src/MGLPolygon.h index fcc26e5f16..900e43334e 100644 --- a/platform/darwin/src/MGLPolygon.h +++ b/platform/darwin/src/MGLPolygon.h @@ -46,7 +46,7 @@ NS_ASSUME_NONNULL_BEGIN than −180 degrees or greater than 180 degrees. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/polygon/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/polygon/"> Add a polygon annotation</a> example to learn how to initialize an `MGLPolygon` object from an array of coordinates. */ diff --git a/platform/darwin/src/MGLPolyline.h b/platform/darwin/src/MGLPolyline.h index 7b81d41f47..9efaea24ff 100644 --- a/platform/darwin/src/MGLPolyline.h +++ b/platform/darwin/src/MGLPolyline.h @@ -52,7 +52,7 @@ NS_ASSUME_NONNULL_BEGIN geometry in GeoJSON. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/annotation-models/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/annotation-models/"> Annotation models</a> example to learn how to add an `MGLPolyine` object to your map. */ diff --git a/platform/darwin/src/MGLRasterTileSource.h b/platform/darwin/src/MGLRasterTileSource.h index 5d7e3e64fa..110ad875b5 100644 --- a/platform/darwin/src/MGLRasterTileSource.h +++ b/platform/darwin/src/MGLRasterTileSource.h @@ -54,7 +54,7 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLTileSourceOption MGLTileSourceOptionTileSi ``` #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/source-custom-raster/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/source-custom-raster/"> Add raster imagery</a> example to learn how to add a `MGLRasterStyleLayer` to your map using an `MGLRasterTileSource`. */ diff --git a/platform/darwin/src/MGLShapeSource.h b/platform/darwin/src/MGLShapeSource.h index b910fb02ce..009e8652c9 100644 --- a/platform/darwin/src/MGLShapeSource.h +++ b/platform/darwin/src/MGLShapeSource.h @@ -27,7 +27,7 @@ typedef NSString *MGLShapeSourceOption NS_STRING_ENUM; is ignored when creating an `MGLComputedShapeSource` object. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/clustering/">Cluster point data</a> and <a href="https://www.mapbox.com/ios-sdk/maps/examples/clustering-with-images/">Use images to cluster point data</a> examples to learn how to cluster point data with this `MGLShapeSourceOption`. + See the <a href="https://docs.mapbox.com/ios/maps/examples/clustering/">Cluster point data</a> and <a href="https://docs.mapbox.com/ios/maps/examples/clustering-with-images/">Use images to cluster point data</a> examples to learn how to cluster point data with this `MGLShapeSourceOption`. */ FOUNDATION_EXTERN MGL_EXPORT const MGLShapeSourceOption MGLShapeSourceOptionClustered; @@ -149,7 +149,7 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLShapeSourceOption MGLShapeSourceOptionLine ``` #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/clustering/">Cluster point data</a>, <a href="https://www.mapbox.com/ios-sdk/maps/examples/clustering-with-images/">Use images to cluster point data</a>, and <a href="https://www.mapbox.com/ios-sdk/maps/examples/live-data/">Add live data</a> examples to learn how to add data to your map using this `MGLSource` object. + See the <a href="https://docs.mapbox.com/ios/maps/examples/clustering/">Cluster point data</a>, <a href="https://docs.mapbox.com/ios/maps/examples/clustering-with-images/">Use images to cluster point data</a>, and <a href="https://docs.mapbox.com/ios/maps/examples/live-data/">Add live data</a> examples to learn how to add data to your map using this `MGLSource` object. */ MGL_EXPORT @interface MGLShapeSource : MGLSource @@ -175,7 +175,7 @@ MGL_EXPORT @return An initialized shape source. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/live-data/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/live-data/"> Add live data</a> example to learn how to add live data to your map by updating the an `MGLShapeSource` object's `URL` property. */ @@ -209,7 +209,7 @@ MGL_EXPORT @return An initialized shape source. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/runtime-animate-line/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/runtime-animate-line/"> Animate a line</a> example to learn how to animate line data by continously updating an `MGLShapeSource`'s `shape` attribute. */ diff --git a/platform/darwin/src/MGLStyle.h b/platform/darwin/src/MGLStyle.h index 084d18ad22..1ab0f5e82e 100644 --- a/platform/darwin/src/MGLStyle.h +++ b/platform/darwin/src/MGLStyle.h @@ -54,7 +54,7 @@ FOUNDATION_EXTERN MGL_EXPORT MGLExceptionName const MGLRedundantSourceIdentifier that it's safe to modify the map's style. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/default-styles/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/default-styles/"> Default styles</a> example to learn how to initialize an `MGLMapView` object with a Mapbox default style using `MGLStyle`'s class methods. */ @@ -184,7 +184,7 @@ MGL_EXPORT significantly from version to version. #### Related example - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/satellite-style/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/satellite-style/"> Satellite styles</a> example to learn how to initialize a map with the Mapbox Satellite style. */ @@ -220,7 +220,7 @@ MGL_EXPORT change significantly from version to version. #### Related example - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/satellite-style/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/satellite-style/"> Satellite styles</a> example to learn how to initialize a map with the Mapbox Satellite Streets style. */ @@ -426,7 +426,7 @@ MGL_EXPORT @param sibling An existing layer in the style. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/shape-collection/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/shape-collection/"> Add multiple shapes from a single shape source</a> example to learn how to add a layer to your map below an existing layer. */ @@ -451,7 +451,7 @@ MGL_EXPORT @param sibling An existing layer in the style. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/image-source/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/image-source/"> Add an image</a> example to learn how to add a layer to your map above an existing layer. */ @@ -514,8 +514,8 @@ MGL_EXPORT @param name The name of the image to set to the style. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/clustering-with-images/"> - Use images to cluster point data</a> and <a href="https://www.mapbox.com/ios-sdk/maps/examples/clustering/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/clustering-with-images/"> + Use images to cluster point data</a> and <a href="https://docs.mapbox.com/ios/maps/examples/clustering/"> Cluster point data</a> examples to learn how to add images to your map using an `MGLStyle` object. */ diff --git a/platform/darwin/src/MGLStyleLayer.h b/platform/darwin/src/MGLStyleLayer.h index 878d7cdbba..785a8db7b3 100644 --- a/platform/darwin/src/MGLStyleLayer.h +++ b/platform/darwin/src/MGLStyleLayer.h @@ -45,7 +45,7 @@ MGL_EXPORT Whether this layer is displayed. A value of `NO` hides the layer. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/runtime-toggle-layer/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/runtime-toggle-layer/"> Show and hide a layer</a> example to learn how to toggle an `MGLStyleLayer` object's visibility. */ diff --git a/platform/darwin/src/MGLTilePyramidOfflineRegion.h b/platform/darwin/src/MGLTilePyramidOfflineRegion.h index 7d1f2f511b..162636eda0 100644 --- a/platform/darwin/src/MGLTilePyramidOfflineRegion.h +++ b/platform/darwin/src/MGLTilePyramidOfflineRegion.h @@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN use the MGLShapeOfflineRegion class instead. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/offline-pack/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/offline-pack/"> Download an offline map</a> example to learn how to define an offline region to be downloaded to a user's device. */ diff --git a/platform/darwin/src/MGLVectorTileSource.h b/platform/darwin/src/MGLVectorTileSource.h index 56fee440c8..53de9dbc2a 100644 --- a/platform/darwin/src/MGLVectorTileSource.h +++ b/platform/darwin/src/MGLVectorTileSource.h @@ -55,7 +55,7 @@ NS_ASSUME_NONNULL_BEGIN ``` #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/dds-circle-layer/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/dds-circle-layer/"> Data-driven circles</a> example to learn how to add data to your map using an `MGLVectorTileSource` object. */ diff --git a/platform/darwin/src/NSExpression+MGLAdditions.h b/platform/darwin/src/NSExpression+MGLAdditions.h index e4b83f0386..1e6fd6fc46 100644 --- a/platform/darwin/src/NSExpression+MGLAdditions.h +++ b/platform/darwin/src/NSExpression+MGLAdditions.h @@ -114,9 +114,9 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLExpressionInterpolationMode MGLExpressionI @param stops The stops must be an `NSDictionary` constant `NSExpression`. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/dds-circle-layer/"> - Data-driven circles</a>, <a href="https://www.mapbox.com/ios-sdk/maps/examples/clustering/"> - Cluster point data</a>, and <a href="https://www.mapbox.com/ios-sdk/maps/examples/clustering-with-images/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/dds-circle-layer/"> + Data-driven circles</a>, <a href="https://docs.mapbox.com/ios/maps/examples/clustering/"> + Cluster point data</a>, and <a href="https://docs.mapbox.com/ios/maps/examples/clustering-with-images/"> Use images to cluster point data</a> examples to learn how to use this expression to style a map layer based on an attribute value. */ @@ -134,7 +134,7 @@ FOUNDATION_EXTERN MGL_EXPORT const MGLExpressionInterpolationMode MGLExpressionI @param stops The stops expression. #### Related examples - See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/heatmap-example/"> + See the <a href="https://docs.mapbox.com/ios/maps/examples/heatmap-example/"> Create a heatmap layer</a> example to learn how to style an `MGLHeatmapStyleLayer` based on zoom level and point density with this expression. */ |