diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2018-03-30 06:42:47 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2018-04-02 10:42:54 -0700 |
commit | 9faed7293b0585c329f4993b865b1fb820cfab65 (patch) | |
tree | 3c7570a670e4dd4954dc60d495609ac3f249e1f0 /platform/darwin/src/MGLVectorTileSource.h | |
parent | a877b6dbe8ff576f82ab9222f418da51591dd423 (diff) | |
download | qtlocation-mapboxgl-9faed7293b0585c329f4993b865b1fb820cfab65.tar.gz |
[ios, macos] Eliminated MGLAbstractShapeSource
MGLComputedShapeSource is now a direct subclass of MGLSource and sibling of MGLShapeSource.
Diffstat (limited to 'platform/darwin/src/MGLVectorTileSource.h')
-rw-r--r-- | platform/darwin/src/MGLVectorTileSource.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLVectorTileSource.h b/platform/darwin/src/MGLVectorTileSource.h index fbf29204c9..51f19a231f 100644 --- a/platform/darwin/src/MGLVectorTileSource.h +++ b/platform/darwin/src/MGLVectorTileSource.h @@ -14,6 +14,13 @@ NS_ASSUME_NONNULL_BEGIN A vector tile source is added to an `MGLStyle` object along with one or more `MGLVectorStyleLayer` objects. A vector style layer defines the appearance of any content supplied by the vector tile source. + + `MGLVectorTileSource` is optimized for data sets that are too large to fit + completely in memory, such as vector tile sets or data sets managed in + <a href="https://www.mapbox.com/studio/">Mapbox Studio</a>. For + <a href="http://geojson.org/">GeoJSON</a> data, use the `MGLShapeSource` + class. For tiled data that changes dynamically, the `MGLComputedShapeSource` + class may be a suitable alternative. Each <a href="https://www.mapbox.com/mapbox-gl-style-spec/#sources-vector"><code>vector</code></a> |