diff options
author | Julian Rex <julian.rex@gmail.com> | 2019-02-05 13:50:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-05 13:50:12 -0500 |
commit | 5ba4a6a980119010fba6515a14d3a67a73dd4672 (patch) | |
tree | 875553d90445741c91e45f1f7aa89dd0aa9a7d84 /platform/ios/src/MGLMapView.h | |
parent | 47852b6c42b7884dbb7ad107a112c7e0d9f96ed0 (diff) | |
download | qtlocation-mapboxgl-5ba4a6a980119010fba6515a14d3a67a73dd4672.tar.gz |
[ios] Reverts "Enable customize positions of mapview ornaments (#13556)" (#13870)
This reverts commit e22d28c285c1543ebbf75d205f0129e74b0fbb8a.
Diffstat (limited to 'platform/ios/src/MGLMapView.h')
-rw-r--r-- | platform/ios/src/MGLMapView.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h index 7980d6aaf5..5930dc98c1 100644 --- a/platform/ios/src/MGLMapView.h +++ b/platform/ios/src/MGLMapView.h @@ -49,24 +49,6 @@ typedef NS_ENUM(NSUInteger, MGLAnnotationVerticalAlignment) { }; /** - The position of scale bar, compass, logo and attribution in a map view. Used with - `MGLMapView.scaleBarPosition`, - `MGLMapView.compassViewPosition`, - `MGLMapView.logoViewPosition`, - `MGLMapView.attributionButtonPosition`. - */ -typedef NS_ENUM(NSUInteger, MGLOrnamentPosition) { - /** Place the ornament in the top left of the map view. */ - MGLOrnamentPositionTopLeft = 0, - /** Place the ornament in the top right of the map view. */ - MGLOrnamentPositionTopRight, - /** Place the ornament in the bottom left of the map view. */ - MGLOrnamentPositionBottomLeft, - /** Place the ornament in the bottom right of the map view. */ - MGLOrnamentPositionBottomRight, -}; - -/** The mode used to track the user location on the map. Used with `MGLMapView.userTrackingMode`. @@ -305,32 +287,12 @@ MGL_EXPORT IB_DESIGNABLE @property (nonatomic, readonly) UIView *scaleBar; /** - The postion of the scale bar. The default value is `MGLOrnamentPositionTopLeft`. - */ -@property (nonatomic, assign) MGLOrnamentPosition scaleBarPosition; - -/** - A `CGPoint` indicating the position offset of the scale bar. - */ -@property (nonatomic, assign) CGPoint scaleBarOffset; - -/** A control indicating the map’s direction and allowing the user to manipulate the direction, positioned in the upper-right corner. */ @property (nonatomic, readonly) UIImageView *compassView; /** - The postion of the compass view. The default value is `MGLOrnamentPositionTopRight`. - */ -@property (nonatomic, assign) MGLOrnamentPosition compassViewPosition; - -/** - A `CGPoint` indicating the position offset of the compass. - */ -@property (nonatomic, assign) CGPoint compassViewOffset; - -/** The Mapbox logo, positioned in the lower-left corner. @note The Mapbox terms of service, which governs the use of Mapbox-hosted @@ -342,17 +304,6 @@ MGL_EXPORT IB_DESIGNABLE @property (nonatomic, readonly) UIImageView *logoView; /** - The postion of the logo view. The default value is `MGLOrnamentPositionBottomLeft`. - */ -@property (nonatomic, assign) MGLOrnamentPosition logoViewPosition; - -/** - A `CGPoint` indicating the position offset of the logo. - */ -@property (nonatomic, assign) CGPoint logoViewOffset; - - -/** A view showing legally required copyright notices and telemetry settings, positioned at the bottom-right of the map view. @@ -378,16 +329,6 @@ MGL_EXPORT IB_DESIGNABLE @property (nonatomic, readonly) UIButton *attributionButton; /** - The postion of the attribution button. The default value is `MGLOrnamentPositionBottomRight`. - */ -@property (nonatomic, assign) MGLOrnamentPosition attributionButtonPosition; - -/** - A `CGPoint` indicating the position offset of the attribution. - */ -@property (nonatomic, assign) CGPoint attributionButtonOffset; - -/** Show the attribution and telemetry action sheet. This action is performed when the user taps on the attribution button provided |