[ios, macos] Corrected MGLSource subclassing documentation
This commit is contained in:
committed by
Minh Nguyễn
parent
2a5dc2d55b
commit
b7ec96d352
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user