Commit Graph

362 Commits

Author SHA1 Message Date
Jason Wray
28be82c1c1 [ios] remove CoreTelephony dependency
Cellular carrier name and connectivity level will now only be sent if
the developer independently chooses to link the CoreTelephony framework
in their app.
2015-10-19 13:52:28 -04:00
Justin R. Miller
fb9f241515 bump podspec for 2.2.0-pre.1 2015-10-15 12:24:51 -07:00
Justin R. Miller
6e1b1836f4 fixes #2611: iOS test app long press drops debug marker 2015-10-15 11:33:58 -07:00
Justin R. Miller
8cc3b12f1e [ios] fixes #2490: add annotation image enabled property 2015-10-02 11:50:53 -07:00
Konstantin Käfer
6a78a4763d [iOS] fix benchmarking app and update to style v8 2015-10-02 14:57:26 +02:00
Justin R. Miller
a0244601ca [ios] patch up iOS version-deducing scripts 2015-10-01 15:26:47 -07:00
Adam Hunter
fa2d7453a5 Fix up of some naming issues, etc. 2015-09-29 15:07:39 -07:00
Adam Hunter
3f9f259619 Added GL logging utility 2015-09-29 15:07:39 -07:00
Jason Wray
f833356321 [iOS] Fix links in generated docs
[skip ci]
2015-09-28 11:34:10 -04:00
Jason Wray
d89aa51e0f [iOS] Give iosapp the option to use always location permissions
Useful in testing metrics and background location. Default is still
`whenInUse`, user must switch in `Settings.app`.
2015-09-22 05:53:42 -04:00
Minh Nguyễn
79dc20808f Prefix user defaults in iosapp
We technically don’t need to, but the demo app should practice good hygiene since we expect developers to copy from it.
2015-09-16 13:22:16 -07:00
Justin R. Miller
765f884ac9 Merge branch 'release-ios-v2.1.2' 2015-09-15 16:04:31 -07:00
Justin R. Miller
bdd8c329bb bump podspec for 2.1.2 2015-09-15 16:00:52 -07:00
Justin R. Miller
8c177e8b2b move back to symbolicated iOS builds for dev 2015-09-15 12:04:57 -07:00
Justin R. Miller
5a06f27f27 update podspec for 2.1.1 2015-09-15 11:08:54 -07:00
Justin R. Miller
0fa2461371 update podspec for 2.1.0 final and no symbols 2015-09-14 18:20:47 -07:00
Justin R. Miller
b72acf5dc5 bump podspec to 2.1.0-pre.4 2015-09-11 15:33:17 -07:00
Jason Wray
7127cfebb5 Fix build, only ask for location permission on user's instigation
Previously in #2265 we would ask for location permission at app startup if `!settings->showsUserLocation`. #2193 0a172a21fd changed the way we used `NSUserDefaults` and mostly removed the `settings` object, which broke #2265.

Rather than fix our pestering location permissions ask at startup, this commit now only asks for location permissions when the user hits the locate-me button.

Once a user grants permission, the user dot appears because a `userTrackingMode` is set, `showsUserLocation` is permanently set to `YES` in `NSUserDefaults` and is restored at launch.
2015-09-11 15:29:24 -07:00
Justin R. Miller
71bfaec131 bump podspec for ios-v2.1.0-pre.3 2015-09-07 14:43:26 -07:00
Minh Nguyễn
0a172a21fd CameraOptions
Plumbed camera options all the way through to MGLMapView. Added a method that lets you specify a direction in addition to center point and zoom level.

Added Map::jumpTo() for parity with mapbox-gl-js. Replaced usage of Map::setLatLng() and Map::setLatLngZoom() with Map::jumpTo() or Map::easeTo() within MGLMapView. Replaced MGLMapView.pitch with MGLMapCamera for setting all supported degrees of freedom simultaneously. Simultaneously move and rotate with course.

Support customizable timing functions on iOS.

iosapp now persists an archived MGLMapCamera instead of separate viewpoint properties and also synchronizes user defaults on termination. This change implements persistence entirely in Objective-C, eliminating the use of the Objective-C++ implementation.

Fixes #1643, fixes #1834. Ref #1581.
2015-09-07 09:22:52 -07:00
Jason Wray
584c36f348 Update NSLocationWhenInUseUsageDescription string
Fixes #1930
2015-09-04 17:54:46 -04:00
Jason Wray
a07770450c Fix location permissions ask, add delay for map to load 2015-09-04 17:54:46 -04:00
Justin R. Miller
2d6913da6d fix README path 2015-09-04 09:16:26 -07:00
Jason Wray
42dc5336db iOS perspective gesture support
Drag two fingers upward to tilt the map.

Implements #2116
2015-08-26 11:23:03 -07:00
Justin R. Miller
15a5532d76 updates for "iOS SDK" series releases 2015-08-24 21:05:02 -07:00
Justin R. Miller
a2ee2bcdae remove Bright, Basic, and Outdoors from iOS testing 2015-08-24 11:56:24 -07:00
Justin R. Miller
92dd26c8be iOS app/framework fixes for v8
- Mapbox Streets -> Streets
 - style version from string to integer
 - 7 -> 8
2015-08-24 11:34:03 -07:00
John Firebaugh
0451aca37e Merge branch 'v8' 2015-08-24 10:47:30 -07:00
Justin R. Miller
e42e3ea3a0 fix podspec URLs 2015-08-21 22:37:24 -07:00
Justin R. Miller
ebc2b785e0 fix w/ symbols version of podspec 2015-08-21 22:21:18 -07:00
Justin R. Miller
7e5e0962d5 update CocoaPods build download URL 2015-08-21 17:07:10 -07:00
Justin R. Miller
af92e59fc7 move to 2.0.0-style versioning 2015-08-21 11:05:26 -07:00
Justin R. Miller
3f99f5e712 GL is the library, SDK is the product 2015-08-21 11:01:07 -07:00
John Firebaugh
8d7d770bbc Update styles 2015-08-20 11:59:07 -07:00
Minh Nguyễn
20ad0d51f6 Added UI for course tracking 2015-08-14 10:09:44 -07:00
Minh Nguyễn
dfeb479011 MGLUserTrackingModeFollowWithCourse
Added course-tracking. However, rotation has to happen atomically without animation until #1834 is fixed.

Fixes #1605.
2015-08-14 10:09:43 -07:00
Justin R. Miller
df0fca3642 bump podspec for 0.5.4 2015-07-30 09:48:51 -07:00
Jason Wray
c1cd961093 Include app-info.plist in demo app project
[skip ci]
2015-07-28 10:18:30 -04:00
Minh Nguyễn
0178c94f6d Exempt Metrics staging server from PFS requirement
This server should not used in actual production code anyways.

Fixes #1937.
2015-07-27 15:52:17 -07:00
Justin R. Miller
f79a35a5ef bump podspec to 0.5.3 2015-07-22 18:03:05 -07:00
Minh Nguyễn
38d8d1820d Bumped podspec to 0.5.2 with symbols 2015-07-14 10:55:36 -07:00
Minh Nguyễn
970ad1fe1b Updated podspec for 0.5.1 2015-07-13 10:50:51 -07:00
Minh Nguyễn
97b7307f35 Force -ObjC in Mapbox GL pod
Fixes #1849.
2015-07-10 16:01:58 -07:00
Justin R. Miller
91b2912c2d bump podspec to 0.5.0 final (no symbols) 2015-07-09 22:27:41 -07:00
Justin R. Miller
5f31697556 bump podspec to 0.5.0rc2 2015-07-09 13:58:28 -07:00
Justin R. Miller
9e5dd29afe bump podspec to 0.5.0-rc.1 w/ symbols 2015-07-08 15:41:27 -07:00
Justin R. Miller
c7011345c9 remove logging 2015-07-08 19:46:04 +02:00
Justin R. Miller
a1c2529e33 runtime imagery based on annotation title 2015-07-08 19:46:04 +02:00
Justin R. Miller
e0da13dbfd fixes for runtime Cocoa imagery 2015-07-08 19:46:04 +02:00
Justin R. Miller
5ab58deb44 Cocoa custom marker imagery API 2015-07-08 19:46:03 +02:00