diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2018-03-30 05:43:56 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2018-04-02 10:42:54 -0700 |
commit | a877b6dbe8ff576f82ab9222f418da51591dd423 (patch) | |
tree | a998c9174b643e982e54d31a4bba349a6279632c /platform/darwin/src/MGLPolygon.h | |
parent | 10440640178429fc8e5c319c86e7a3e89746952e (diff) | |
download | qtlocation-mapboxgl-a877b6dbe8ff576f82ab9222f418da51591dd423.tar.gz |
[ios, macos] Renamed MGLVectorSource to MGLVectorTileSource
Diffstat (limited to 'platform/darwin/src/MGLPolygon.h')
-rw-r--r-- | platform/darwin/src/MGLPolygon.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLPolygon.h b/platform/darwin/src/MGLPolygon.h index bdd2e1eeab..190b6df9c5 100644 --- a/platform/darwin/src/MGLPolygon.h +++ b/platform/darwin/src/MGLPolygon.h @@ -17,7 +17,7 @@ NS_ASSUME_NONNULL_BEGIN You can add polygon shapes to the map by adding them to an `MGLShapeSource` object. Configure the appearance of an `MGLShapeSource`’s or - `MGLVectorSource`’s polygons collectively using an `MGLFillStyleLayer` or + `MGLVectorTileSource`’s polygons collectively using an `MGLFillStyleLayer` or `MGLSymbolStyleLayer` object. To access a polygon’s attributes, use an `MGLPolygonFeature` object. @@ -96,8 +96,8 @@ MGL_EXPORT You can add multipolygon shapes to the map by adding them to an `MGLShapeSource` object. Configure the appearance of an `MGLShapeSource`’s or - `MGLVectorSource`’s multipolygons collectively using an `MGLFillStyleLayer` or - `MGLSymbolStyleLayer` object. + `MGLVectorTileSource`’s multipolygons collectively using an `MGLFillStyleLayer` + or `MGLSymbolStyleLayer` object. You cannot add an `MGLMultiPolygon` object directly to a map view using `-[MGLMapView addAnnotation:]` or `-[MGLMapView addOverlay:]`. However, you can |