diff options
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 |