Commit Graph

7 Commits

Author SHA1 Message Date
Julian Rex
5ba4a6a980 [ios] Reverts "Enable customize positions of mapview ornaments (#13556)" (#13870)
This reverts commit e22d28c285.
2019-02-05 13:50:12 -05:00
Lloyd Sheng
e22d28c285 [ios] Enable customize positions of mapview ornaments (#13556)
* APIs for customize positions of ornaments

* Adopt anchors layout

* Remove iOS8 layout code
2019-01-30 15:39:29 +08:00
Chris Loer
8368bd4878 [tests, darwin] Standardize on 10 second timeout for map loading
5 second timeouts have been intermittently failing on CI.
2018-10-17 13:14:44 -07:00
Jason Wray
737ebed7d5 [ios, tests] Bump most waitForExpectationsWithTimeout's to 5s
[skip firebase]

Bump MGLOfflineStorageTests timeouts to 5 seconds
2018-09-20 14:57:07 -07:00
Jason Wray
4919099ea9 [ios] Add MGLMapView.showsScale to control scale bar visibility (#11335)
- Fixes scale bar not being visible until a camera change event.
- Adds IBInspectable for scale bar visibility.
- Add tests of the scale bar being added to the map view
2018-03-02 13:13:57 -05:00
Jason Wray
f6d652dddd [ios] Fix safeAreaInsets availability warning in MGLMapViewLayoutTests
Fixes: 'safeAreaInsets' is only available on iOS 11.0 or newer [-Wunguarded-availability-new]
2018-02-20 14:23:42 -05:00
Fabian Guerra Soto
0542ece0bf [ios] Fix the layout constraints on iOS 11 for iPhone X (#10858)
* [ios] Fix the layout constraints on iOS 11 for iPhone X for the bottom ornaments.

* WIP adding tests for layout of map view attribution logo and other ornaments

* Rename

* First pass at tests for mapview ornament layout

* Additional code changes from call with Fabian and Jason

* [ios] Fix ornaments insets margin space.

* [ios] Fix map view layout test for pre iOS 11.

* [ios] Refactor MGLMapView ornaments layout constraints for iOS 11.

* [ios] Remove NSLogs from MGLMapViewLayoutTests
2018-01-10 14:28:55 -06:00