summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLAbstractShapeSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLAbstractShapeSource.h')
-rw-r--r--platform/darwin/src/MGLAbstractShapeSource.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLAbstractShapeSource.h b/platform/darwin/src/MGLAbstractShapeSource.h
index 3b35986b3f..a0c6af36c5 100644
--- a/platform/darwin/src/MGLAbstractShapeSource.h
+++ b/platform/darwin/src/MGLAbstractShapeSource.h
@@ -82,6 +82,24 @@ extern MGL_EXPORT const MGLShapeSourceOption MGLShapeSourceOptionBuffer;
extern MGL_EXPORT const MGLShapeSourceOption MGLShapeSourceOptionSimplificationTolerance;
/**
+ An `NSNumber` object containing a boolean; specifies whether the geometry for a
+ `MGLComputedShapeSource` needs to be wrapped to accomodate coordinates with longitudes outside the [-180,180] extents. The default is `false.`
+
+ Setting this option to `true` affects performance.
+ */
+extern MGL_EXPORT const MGLShapeSourceOption MGLShapeSourceOptionWrapCoordinates;
+
+/**
+ An `NSNumber` object containing a boolean; specifies whether the geometry for a
+ `MGLComputedShapeSource` needs to be clipped at the tile boundaries.
+ The default is `false.`
+
+ Setting this options to `true` affects performance. Use this option to clip
+ polygons and lines at tile boundaries without artefacts.
+ */
+extern MGL_EXPORT const MGLShapeSourceOption MGLShapeSourceOptionClipCoordinates;
+
+/**
`MGLAbstractShapeSource` is an abstract base class for map content sources that
supply vector shapes to be shown on the map. A shape source is added to an
`MGLStyle` object along with an `MGLVectorStyleLayer` object. The vector style