diff options
author | Justin R. Miller <incanus@users.noreply.github.com> | 2016-09-27 13:53:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-27 13:53:32 -0700 |
commit | a6aa786f35824922aee0d2baad94e4ce9f71e79c (patch) | |
tree | 4ca6fed37ec4d713b82c9f06da5f3d326e92bb0d /platform/darwin/src/MGLVectorSource.h | |
parent | 44c7e9d05edbe6fee9e8f98b91380b6c07e57ac7 (diff) | |
download | qtlocation-mapboxgl-a6aa786f35824922aee0d2baad94e4ce9f71e79c.tar.gz |
[ios, macos] flesh out iOS runtime styling docs (#6466)
- fixes #5959: MGLBaseStyleLayer docs
- fixes #5960: MGLSource & subclasses docs
- fixes #6467: concrete layer subclass docs
- move Core Graphics include
- slight code & template cleanups
- add ./documentation to git ignores
Diffstat (limited to 'platform/darwin/src/MGLVectorSource.h')
-rw-r--r-- | platform/darwin/src/MGLVectorSource.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLVectorSource.h b/platform/darwin/src/MGLVectorSource.h index 2402208499..2106a5cf42 100644 --- a/platform/darwin/src/MGLVectorSource.h +++ b/platform/darwin/src/MGLVectorSource.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN @property (nonatomic, readonly, nullable) MGLTileSet *tileSet; /** - Initializes and returns a vector source from a remote url. + Initializes and returns a vector source from a remote URL. @param sourceIdentifier The source identifier. @param URL A remote URL holding the vector source data. @@ -26,6 +26,13 @@ NS_ASSUME_NONNULL_BEGIN */ - (instancetype)initWithSourceIdentifier:(NSString *)sourceIdentifier URL:(NSURL *)url; +/** + Initializes a source with the given identifier, tile size, and tile + URL template set. + + @param sourceIdentifier A string that uniquely identifies the source. + @param tileSet A tile set describing where to download tiles. + */ - (instancetype)initWithSourceIdentifier:(NSString *)sourceIdentifier tileSet:(MGLTileSet *)tileSet; @end |