diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2018-03-30 15:18:08 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2018-04-02 10:42:54 -0700 |
commit | c3079c6155d7ba2a0c8dd36571f17d7652a2092e (patch) | |
tree | 192507628d1e8f59f68d774699da1e050a894395 /platform/darwin/src/MGLComputedShapeSource.h | |
parent | 8fb65f09897fba1d82854935c98eca18aa5c17a5 (diff) | |
download | qtlocation-mapboxgl-c3079c6155d7ba2a0c8dd36571f17d7652a2092e.tar.gz |
[ios, macos] Corrected documentation
Mentioned MGLComputedShapeSource in a few more places. Updated symbol style layer documentation to refer to aftermarket expression functions. Copyedited some heatmap style layer documentation.
Diffstat (limited to 'platform/darwin/src/MGLComputedShapeSource.h')
-rw-r--r-- | platform/darwin/src/MGLComputedShapeSource.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/platform/darwin/src/MGLComputedShapeSource.h b/platform/darwin/src/MGLComputedShapeSource.h index 25d2d4d0b2..068c49245c 100644 --- a/platform/darwin/src/MGLComputedShapeSource.h +++ b/platform/darwin/src/MGLComputedShapeSource.h @@ -70,12 +70,11 @@ extern MGL_EXPORT const MGLShapeSourceOption MGLShapeSourceOptionClipsCoordinate source. `MGLComputedShapeSource` is similar to `MGLShapeSource` but is optimized for - data sets that change dynamically but are too large to fit completely in - memory. It is also useful for data that is divided into tiles in a format other - than <a href="https://www.mapbox.com/vector-tiles/">Mapbox Vector Tiles</a>. - For <a href="http://geojson.org/">GeoJSON</a> data, use the `MGLShapeSource` - class. For static tiles or Mapbox Vector Tiles, use the `MGLVectorTileSource` - class. + data sets that change dynamically or are too large to fit completely in memory. + It is also useful for data that is divided into tiles in a format other than + <a href="https://www.mapbox.com/vector-tiles/">Mapbox Vector Tiles</a>. For + <a href="http://geojson.org/">GeoJSON</a> data, use the `MGLShapeSource` class. + For static tiles or Mapbox Vector Tiles, use the `MGLVectorTileSource` class. You can add and remove sources dynamically using methods such as `-[MGLStyle addSource:]` and `-[MGLStyle sourceWithIdentifier:]`. This class |