Commit Graph

376 Commits

Author SHA1 Message Date
Minh Nguyễn
c4cbe648b1 [iOS] Replaced deprecated podspec flag
Per https://github.com/mapbox/mapbox-gl-native/issues/1870#issuecomment-132417161.

ref CocoaPods/CocoaPods#3573
2015-11-09 11:37:58 -08:00
Minh Nguyễn
28ec908a3f Updated references to old build docs
Fixes #2871.
2015-11-09 10:15:53 -08:00
Justin R. Miller
0e5063799a bump iOS version to 3.0.0-pre.5 2015-11-06 17:57:47 -08:00
Justin R. Miller
815516a6f7 fixes #2961: download payload over HTTPS 2015-11-06 17:04:11 -08:00
Mike Morris
dfb36d6231 [core] move mbgl.gyp to gyp directory
So npm won't clobber binding.gyp, refs
https://github.com/npm/npm/issues/10243
2015-11-04 11:34:35 -05:00
Justin R. Miller
9067fd43f3 bump iOS version to 3.0.0-pre.4 2015-11-02 16:12:52 -08:00
Justin R. Miller
2aa3ab0c14 bump iOS version in podspec/Fabric 2015-10-30 15:23:50 -07:00
Minh Nguyễn
557b8afb7c [core][iOS] Source iOS styles from default_styles
Moved mbgl::util::default_styles to a more appropriate location, where iOS platform code can also find it. Moved -[MGLMapView bundledStyleURLs] (which is now deprecated) and the style switcher in iosapp to default_styles.

Added a collection of convenience methods for getting style URLs. It makes little sense to layer an enum atop this, as MapKit does, because MGLMapView styles aren’t limited to this set. A good analogy is UIColor. This also makes for a good entry point for future runtime styling APIs.

Introduced independent constants for each default style, because it’s more common to need access to a particular style than to iterate over them. This fact is apparent in the MGLStyle class, which now uses macros and assertions to ensure that it’s kept up-to-date with changes in default_styles.

/ref #1462
2015-10-30 13:09:37 -07:00
Leith Bade
abf93c008b [core] Remove bundled styles.
Fixes #2239
2015-10-30 13:09:04 -07:00
Minh Nguyễn
d48c640b5c More natural style names in iosapp
ref #2740
2015-10-26 14:55:19 -07:00
Justin R. Miller
847cee0c89 re-bump for ios-v3.0.0-pre.2 2015-10-23 16:33:37 -07:00
Justin R. Miller
cf46b2f770 bump iOS version for 2.2.0-pre.2 2015-10-23 16:08:34 -07:00
Minh Nguyễn
c82991e74c Bumped podspec for 3.0.0-pre.1 2015-10-23 12:38:01 -07:00
Leith Bade
f71d61fa91 [android] Add missing satellite streets style to Android and iOS.
As well as default_styles.cpp
Fixes #2739
Fixes #2740
2015-10-23 14:09:24 +11:00
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