diff options
author | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2016-11-22 15:54:38 +0100 |
---|---|---|
committer | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2016-12-06 13:59:56 +0100 |
commit | dc2dc31c0bdd4f0b27412125032bfa694ade26b9 (patch) | |
tree | a573ec5e83342e1a4dcd9f335a8fbc2ee0db4cfd /platform/darwin/src/MGLShape_Private.h | |
parent | 9456bec1721f5cd69e7813c68b829db4c7ff9660 (diff) | |
download | qtlocation-mapboxgl-dc2dc31c0bdd4f0b27412125032bfa694ade26b9.tar.gz |
[ios, macos] MGLGeoJSONSource can now be initialized with any shape
Diffstat (limited to 'platform/darwin/src/MGLShape_Private.h')
-rw-r--r-- | platform/darwin/src/MGLShape_Private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLShape_Private.h b/platform/darwin/src/MGLShape_Private.h index a8ee12c207..2c7c4700a3 100644 --- a/platform/darwin/src/MGLShape_Private.h +++ b/platform/darwin/src/MGLShape_Private.h @@ -1,13 +1,13 @@ #import "MGLShape.h" -#import <mbgl/util/feature.hpp> +#import <mbgl/util/geometry.hpp> @interface MGLShape (Private) /** - Returns an `mbgl::Feature` representation of the `MGLShape`. + Returns an `mbgl::Geometry<double>` representation of the `MGLShape`. */ -- (mbgl::Feature)featureObject; +- (mbgl::Geometry<double>)geometryObject; /** Returns a dictionary with the GeoJSON geometry member object. |