diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2019-04-28 17:23:23 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2019-05-07 22:04:48 -0700 |
commit | 910639168aaad8f06749c5be184ae50dbe9d566b (patch) | |
tree | 9bd1642efe2c9ed65b51a8a317602975b7c5c73f /platform/darwin/src/MGLCircleStyleLayer.h | |
parent | 84a11ba4e5a6c64edd63b81d606e2ae57862c798 (diff) | |
download | qtlocation-mapboxgl-910639168aaad8f06749c5be184ae50dbe9d566b.tar.gz |
[ios, macos] Added circle geometryupstream/1ec5-circle-2167
Added an MGLCircle class that generates a many-sided polygon under the hood.
Diffstat (limited to 'platform/darwin/src/MGLCircleStyleLayer.h')
-rw-r--r-- | platform/darwin/src/MGLCircleStyleLayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLCircleStyleLayer.h b/platform/darwin/src/MGLCircleStyleLayer.h index e2b043a729..4ffe0d5289 100644 --- a/platform/darwin/src/MGLCircleStyleLayer.h +++ b/platform/darwin/src/MGLCircleStyleLayer.h @@ -69,8 +69,8 @@ typedef NS_ENUM(NSUInteger, MGLCircleTranslationAnchor) { A circle style layer renders circles whose radii are measured in screen units. To display circles on the map whose radii correspond to real-world distances, - use many-sided regular polygons and configure their appearance using an - `MGLFillStyleLayer` object. + use `MGLCircle` or many-sided regular `MGLPolygon` objects and configure their + appearance using an `MGLFillStyleLayer` object. You can access an existing circle style layer using the `-[MGLStyle layerWithIdentifier:]` method if you know its identifier; |