summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-06-16 10:28:02 -0700
committerMinh Nguyễn <mxn@1ec5.org>2017-06-22 09:58:47 -0700
commitb7ec96d352c78172b6df4afedd6fc0e7db142a54 (patch)
tree7cce159afa2350982cc59adaae086588419bd523 /platform
parent2a5dc2d55b759541ed7e807a7b889a283b0c8372 (diff)
downloadqtlocation-mapboxgl-b7ec96d352c78172b6df4afedd6fc0e7db142a54.tar.gz
[ios, macos] Corrected MGLSource subclassing documentation
Diffstat (limited to 'platform')
-rw-r--r--platform/darwin/src/MGLSource.h4
-rw-r--r--platform/darwin/src/MGLVectorStyleLayer.h9
2 files changed, 7 insertions, 6 deletions
diff --git a/platform/darwin/src/MGLSource.h b/platform/darwin/src/MGLSource.h
index 151363104e..a504a01791 100644
--- a/platform/darwin/src/MGLSource.h
+++ b/platform/darwin/src/MGLSource.h
@@ -17,8 +17,8 @@ NS_ASSUME_NONNULL_BEGIN
`-[MGLStyle addSource:]` and `-[MGLStyle sourceWithIdentifier:]`.
Create instances of `MGLShapeSource` and the concrete subclasses of
- `MGLTileSource`, `MGLVectorSource` and `MGLRasterSource` in order to use
- `MGLMultiPoint`'s properties and methods. Do not create instances of `MGLSource`
+ `MGLTileSource` (`MGLVectorSource` and `MGLRasterSource`) in order to use
+ `MGLSource`'s properties and methods. Do not create instances of `MGLSource`
directly, and do not create your own subclasses of this class.
*/
MGL_EXPORT
diff --git a/platform/darwin/src/MGLVectorStyleLayer.h b/platform/darwin/src/MGLVectorStyleLayer.h
index e54a580aed..6603570e25 100644
--- a/platform/darwin/src/MGLVectorStyleLayer.h
+++ b/platform/darwin/src/MGLVectorStyleLayer.h
@@ -9,10 +9,11 @@ NS_ASSUME_NONNULL_BEGIN
`MGLVectorStyleLayer` is an abstract superclass for style layers whose content
is defined by an `MGLShapeSource` or `MGLVectorSource` object.
- Create instances of `MGLCircleStyleLayer`, `MGLFillStyleLayer`, `MGLLineStyleLayer`,
- and `MGLSymbolStyleLayer` in order to use `MGLVectorStyleLayer`'s properties and
- methods. Do not create instances of `MGLVectorStyleLayer` directly, and do not
- create your own subclasses of this class.
+ Create instances of `MGLCircleStyleLayer`, `MGLFillStyleLayer`,
+ `MGLFillExtrusionStyleLayer`, `MGLLineStyleLayer`, and `MGLSymbolStyleLayer` in
+ order to use `MGLVectorStyleLayer`'s properties and methods. Do not create
+ instances of `MGLVectorStyleLayer` directly, and do not create your own
+ subclasses of this class.
*/
MGL_EXPORT
@interface MGLVectorStyleLayer : MGLForegroundStyleLayer