Jason Wray
9a55e97029
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-08 11:43:55 -04: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
Justin R. Miller
683556b655
bump podspec to 0.4.5
2015-07-07 21:07:49 -07:00
Justin R. Miller
28fa8952fc
bump podspec to 0.4.4
2015-07-02 01:58:24 -04:00
Justin R. Miller
c7f90e4004
bump podspec to 0.4.3
2015-06-30 23:45:17 -04:00
John Firebaugh
6532438fe4
Rationalize *RenderingMap notifications
2015-06-30 10:13:24 -07:00
Justin R. Miller
4afab3c187
bump podspec to 0.4.2
2015-06-30 10:10:32 -04:00
Justin R. Miller
52514542d1
bump podspec & move back to symbols version
2015-06-26 21:21:41 -07:00
Minh Nguyễn
555e1f141e
Substitute lightweight generics macros in docset
...
Followup to 91641ffb01 for #1711 : also preprocess the generics macros when generating a docset.
2015-06-22 10:41:05 -07:00
Justin R. Miller
1779dd870d
Screenshot III: The Reducening
2015-06-19 15:59:26 -07:00
Justin R. Miller
cfa0890d82
Screenshot II: The Return of Screenshot
2015-06-19 15:53:58 -07:00
Justin R. Miller
18d8d4475e
avoid release candidates in determining version
2015-06-19 12:57:42 -07:00
Justin R. Miller
7ad3b1cedc
update podspec (0.4.0 final, no symbols)
2015-06-19 11:17:41 -07:00
Justin R. Miller
54f766cd68
remove problematic screenshot URL from HTML docs
2015-06-18 17:20:36 -07:00
Justin R. Miller
a2fa372678
fix appledoc version parsing
2015-06-18 15:39:24 -07:00
Justin R. Miller
7bef7b3107
update podspec to use debug symbols build during testing
2015-06-17 22:20:52 -07:00
Justin R. Miller
a619b519bc
bump podspec
2015-06-17 21:48:36 -07:00
Justin R. Miller
d9f09596fb
bump podspec version
2015-06-15 22:20:16 -07:00
Justin R. Miller
bd0bf294bf
squash of #1655 : shape annotations support for core & iOS
2015-06-15 18:30:39 -07:00
Justin R. Miller
d0c77aa73c
bump podspec to 0.3.4
2015-06-04 13:44:42 -07:00