Commit Graph

1648 Commits

Author SHA1 Message Date
Jesse Bounds
91eb595463 [ios] Move scale bar content size invalidation to map view 2017-10-25 14:31:55 -07:00
Jason Wray
1c78d14a20 [build] Disable iOS and macOS builds on Bitrise 2017-10-25 12:48:25 -04:00
Jason Wray
00e44e9cb0 [ios] Fix iOS 8 incompatibility in iosapp hud label font 2017-10-20 17:05:41 -04:00
Jason Wray
2857090cf6 [ios] Fix iOS 8 incompatibility in scale bar RTL check 2017-10-20 17:05:41 -04:00
Jason Wray
817e5c109f [ios] Fix scale bar label alignment 2017-10-19 11:03:15 -04:00
Jason Wray
cabf5d2970 [ios] Avoid drawing view annotations across pixel boundaries 2017-10-19 11:03:15 -04:00
Jason Wray
6523b16c61 [ios] Slightly round the corners of the puck arrow 2017-10-19 11:03:14 -04:00
Jason Wray
efcb9ee231 [ios, build] Force Bitrise to install pip 2017-10-18 18:13:45 -04:00
Fabian Guerra Soto
aa617e32c2 [ios] Bump podspec to v3.7.0-beta.2 (#10230) 2017-10-18 17:24:33 -04:00
Fabian Guerra Soto
b7b8baef9d [ios, macos] Add selection support to MGLMultiPoint annotations. (#9984)
* [ios, macos] Add selection support to MGLMultiPoint annotations.

* [ios, macos] Update changelogs.
2017-10-18 15:18:54 -04:00
Jason Wray
5cefa51511 [ios] Rename SMCalloutView and stop using submodule 2017-10-11 12:21:27 -07:00
Jason Wray
b7879d5a37 [ios] Update MGLUserLocation.heading for showsUserHeadingIndicator 2017-10-11 10:06:30 -07:00
Jason Wray
50ee8daca1 [ios, build] Don't include docs for auto-installed jazzy 2017-10-10 11:45:12 -07:00
Jason Wray
16aa29f475 [ios, build] Remove unnecessary apt-get in Bitrise workflows 2017-10-10 11:28:24 -07:00
Jason Wray
20df5f3844 [ios, build] Use github-release to check if release has been published 2017-10-10 11:28:24 -07:00
Jason Wray
25be86281d [ios, build] Add tag-based Bitrise iOS deployment workflow 2017-10-10 11:28:24 -07:00
Asheem Mamoowala
24bd336b88 [android][ios][macOS] Implement bindings for Map::cameraForGeometry. On macOS, also added -[MGLMapView setCamera: withDuration: animationTimingFunction: edgePadding: completionHandler:] for parity with iOS 2017-10-09 13:58:11 -07:00
Fabian Guerra Soto
5e08ce062e [ios] Update changelog and bump pod spec. (#10122) 2017-10-04 17:35:06 -04:00
Fabian Guerra Soto
f01588cac7 [ios, macos] Improve snap shotter documentation. (#10020)
* [ios, macos] Improve snap shotter documentation.

* [macos] Save snapshots in correct format

* [macos] Renamed snapshot item to Export Image

* [ios, macos] Clarify Snapshotter documentation.

* [ios] Fix snapshot scale

* [macOS] Fix snapshotter 4x scaling.

* [ios] Fix snapshotter final image scale.

* [ios, macos] Update snapshotter size documentation.

* [ios, macos] Throw an exception when the snapshotter has already started.

* [ios, macos] Add snapshotter header example.

* [ios, macos] Use one of the predefined Foundation's exception names.
2017-10-04 10:03:03 -04:00
Jason Wray
076af14b90 [ios] Undocument deprecated style class methods 2017-10-02 12:38:25 -07:00
Jason Wray
1326a21ddd [ios] Expose -showAttribution: publicly as an IBAction 2017-10-02 12:38:00 -07:00
Minh Nguyễn
3d2e4e5b5a [ios] Updated Traditional Chinese localization 2017-09-29 14:16:49 -07:00
Jason Wray
201b7d4811 [ios] Don't disable user tracking when selecting an annotation 2017-09-29 12:14:05 -04:00
Minh Nguyễn
093d9da6ef [ios] Define user dot constants in implementation file 2017-09-28 19:10:06 -07:00
Konstantin Käfer
64c75b442c [build] split out DefaultFileSource and dependents to a separate target
We don't want to link it into the node bindings, so keep it in a separate target
2017-09-28 13:48:36 -04:00
Fabian Guerra
6d1fdf2ca3 Merge branch 'release-ios-v3.6.0-android-v5.1.0' into master.
# Conflicts:
#	circle.yml
#	platform/android/CHANGELOG.md
#	platform/android/MapboxGLAndroidSDK/gradle.properties
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/AnnotationManager.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
#	platform/android/dependencies.gradle
#	platform/default/mbgl/storage/offline_database.cpp
#	platform/ios/CHANGELOG.md
#	platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec
#	platform/ios/Mapbox-iOS-SDK-symbols.podspec
#	platform/ios/Mapbox-iOS-SDK.podspec
#	platform/ios/app/Main.storyboard
#	platform/ios/src/MGLMapView.mm
#	src/mbgl/programs/attributes.hpp
#	src/mbgl/renderer/painter_fill.cpp
#	src/mbgl/tile/geometry_tile.hpp
#	src/mbgl/tile/geometry_tile_worker.cpp
#	src/mbgl/tile/raster_tile.cpp
#	src/mbgl/tile/raster_tile.hpp
#	src/mbgl/tile/raster_tile_worker.cpp
#	test/tile/annotation_tile.test.cpp
#	test/tile/geojson_tile.test.cpp
#	test/tile/raster_tile.test.cpp
#	test/tile/vector_tile.test.cpp
2017-09-27 12:08:24 -04:00
Fredrik Karlsson
fafe092822 [ios] remove ios-sim 2017-09-27 13:07:56 +02:00
Fabian Guerra Soto
7f50c50967 [ios] Bump podspec to 3.6.4 (#10059) 2017-09-25 15:43:28 -04:00
Minh Nguyễn
453c13dee2 [android, ios, macos] Updated translations
Updated Catalan, Spanish, Swedish, Traditional Chinese, Ukrainian, and Vietnamese.
2017-09-22 10:05:40 -07:00
Lauren Budorick
a9ddf5b7fd Preserve depth buffer between 3D layers + optimize render order (#9931)
Port of https://github.com/mapbox/mapbox-gl-js/pull/5101: adds a new render pass `Pass3D` before any other rendering wherein we render layers with 3D passes (fill-extrusion layers) to offscreen framebuffers, sharing a depth renderbuffer between those layers in order to render 3D space correctly. Those framebuffers are saved on the RenderLayers and copied back to the map during the translucent pass. Rendering to offscreen framebuffers before we do any clear + draw means we can avoid expensive framebuffer restores.
2017-09-21 14:26:48 -07:00
Jason Wray
9613582417 [ios] Be sure to get a BOOL value for nullable dict keys
Otherwise it errors with, "cannot initialize a variable of type 'BOOL' (aka 'signed char') with an rvalue of type 'id _Nullable'."

This doesn't seem like it should be necessary.
2017-09-15 19:00:32 -04:00
Fabian Guerra Soto
95ae35239e iosv3.6.3 podspec bump (#10008)
* [ios] Update changelog missing entry

* [ios] Bump podspec to 3.6.3
2017-09-15 17:30:19 -04:00
Fabian Guerra Soto
b2e33a452d [ios, macos] Deprecate trafficDayStyleURL and trafficNightStyleURL (#9918)
* [ios, macos] Deprecate trafficDayStyleURL and trafficNightStyleURL

* [ios, macos] Update changelogs.

* [ios, macos] Update trafficDayStyleURL and trafficNightStyleURL tests in MGLStyleTests.
2017-09-15 17:00:54 -04:00
Jesse Bounds
a6224abc33 [ios] Use constraints to manage ornament view placement (again) (#9995)
This reverts the manual layout triggered by KVO approach in favor of a constraints based approach that the KVO method had previously replaced. Although the manual layout approach worked well in most cases and was cleaner in that it did not manipulate any containing views in the app space, using KVO on UIViewControllers has proven to be dangerous.

This also updates the gitshas for KIF and OHHTTPStubs to unbreak UI tests that verify these related changes are working.

This also adds an ornament constraint system for iOS 11+
2017-09-14 13:51:05 -07:00
Jordan Kiley
73c633e22b [ios] Ignore Smart Invert (#9876) 2017-09-13 11:09:49 -07:00
Minh Nguyễn
ef12dc0822 [android, ios, macos] Russian, Ukrainian, Hungarian and other localization updates (#9945)
* [android, ios, macos] Updated Russian localization

Added a Russian localization of the Android SDK. Updated the iOS and macOS Russian localizations.

* [android, ios, macos] Updated Ukrainian localization

Added a Ukrainian localization of the Android SDK. Updated the iOS and macOS Ukrainian localizations.

* [ios, macos] Updated Traditional Chinese localization

* [macos] Added Hungarian localization

* [android] corrected typos

* [ios, macos] Updated Ukrainian localization

* [android, ios, macos] Configured Foundation.stringsdict on Transifex

* [ios, macos] Pulled in Foundation.stringsdict from Transifex

Updated the German, Lithuanian, and Vietnamese localizations with Foundation.stringsdict files matching Transifex.
2017-09-12 23:53:28 -07:00
Jason Wray
366a69785a [ios] Update podspecs for v3.7.0-alpha.1 2017-09-12 13:56:51 -04:00
Jesse Bounds
b4a4af114b [ios] Updated changelog
This adds entries for work done on the master branch since v3.6.0 of the iOS Maps SDK that was not included in any of the 3.6.x patch releases.
2017-09-12 12:37:16 -04:00
Jason Wray
dfc5d51ae1 [ios] Fix slight mismerge in iosapp 2017-09-11 11:56:20 -04:00
Jason Wray
efe9928ad5 [ios] Update changelog for MGLMapView.showsUserHeadingIndicator 2017-09-07 19:47:53 -04:00
Jason Wray
59076c8300 [ios] Disable implicit animation of heading indicators
The update steps for the heading indicator are typically small, so animations tend to pile up and cause performance issues. Disabling actions is a slight regression when it comes to large steps (they're not animated now, where they previously were) and this should eventually be addressed.

Also consistently use provided API for disabling CATransaction actions.
2017-09-07 19:23:30 -04:00
Jason Wray
cb1309a253 [ios] Implicitly enable showsUserLocation when enabling the heading indicator 2017-09-07 19:23:30 -04:00
Jason Wray
63250baa4e [ios] Make user heading indicator property IBInspectable
Rename it to `showsHeading` to fit in the tiny label column of the utilities panel.
2017-09-07 19:23:29 -04:00
Jason Wray
e1ff826d20 [ios] Change user location heading filter to 1°
The default is 1.
2017-09-07 19:23:29 -04:00
Jason Wray
218c720e9e [ios] Add setShowsUserHeadingIndicator and validateUserHeadingUpdating 2017-09-07 19:23:29 -04:00
Jason Wray
99616e6627 [ios] Introduce MGLUserLocationHeadingIndicator protocol 2017-09-07 19:23:29 -04:00
Jason Wray
c35b1cd56b [ios] Set a heading indicator update threshold 2017-09-07 19:23:29 -04:00
Jason Wray
5db97ed96e [ios] Introduce MGLUserLocationHeadingArrowLayer class 2017-09-07 19:23:20 -04:00
Jason Wray
c6708442c9 [ios] Refactor user location heading indicator into its own class 2017-09-06 18:21:38 -04:00
Jason Wray
cb7eb5cafb [ios] Improve iosapp's zoom debug label 2017-09-06 17:11:09 -04:00