summaryrefslogtreecommitdiff
path: root/ios/app
Commit message (Collapse)AuthorAgeFilesLines
* [core] move mbgl.gyp to gyp directoryMike Morris2015-11-041-5/+5
| | | | | So npm won't clobber binding.gyp, refs https://github.com/npm/npm/issues/10243
* [core][iOS] Source iOS styles from default_stylesMinh Nguyễn2015-10-301-21/+5
| | | | | | | | | | 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
* [core] Remove bundled styles.Leith Bade2015-10-302-2/+1
| | | | Fixes #2239
* More natural style names in iosappMinh Nguyễn2015-10-261-23/+18
| | | | ref #2740
* [android] Add missing satellite streets style to Android and iOS.Leith Bade2015-10-231-4/+5
| | | | | | As well as default_styles.cpp Fixes #2739 Fixes #2740
* fixes #2611: iOS test app long press drops debug markerJustin R. Miller2015-10-151-0/+18
|
* [ios] fixes #2490: add annotation image enabled propertyJustin R. Miller2015-10-021-1/+13
|
* Fix up of some naming issues, etc.Adam Hunter2015-09-291-2/+0
|
* Added GL logging utilityAdam Hunter2015-09-291-0/+2
|
* [iOS] Give iosapp the option to use `always` location permissionsJason Wray2015-09-221-0/+2
| | | | | Useful in testing metrics and background location. Default is still `whenInUse`, user must switch in `Settings.app`.
* Prefix user defaults in iosappMinh Nguyễn2015-09-161-11/+11
| | | | We technically don’t need to, but the demo app should practice good hygiene since we expect developers to copy from it.
* Fix build, only ask for location permission on user's instigationJason Wray2015-09-081-7/+0
| | | | | | | | Previously in #2265 we would ask for location permission at app startup if `!settings->showsUserLocation`. #2193 0a172a21fdc2a87473560fd7d45f4d495d95de91 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.
* CameraOptionsMinh Nguyễn2015-09-072-30/+39
| | | | | | | | | | | | 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.
* Update NSLocationWhenInUseUsageDescription stringJason Wray2015-09-041-1/+1
| | | | Fixes #1930
* Fix location permissions ask, add delay for map to loadJason Wray2015-09-041-1/+7
|
* iOS perspective gesture supportJason Wray2015-08-261-0/+2
| | | | | | Drag two fingers upward to tilt the map. Implements #2116
* remove Bright, Basic, and Outdoors from iOS testingJustin R. Miller2015-08-241-3/+0
|
* iOS app/framework fixes for v8Justin R. Miller2015-08-241-5/+5
| | | | | | - Mapbox Streets -> Streets - style version from string to integer - 7 -> 8
* GL is the library, SDK is the productJustin R. Miller2015-08-213-5/+2
|
* Added UI for course trackingMinh Nguyễn2015-08-141-1/+8
|
* MGLUserTrackingModeFollowWithCourseMinh Nguyễn2015-08-141-11/+14
| | | | | | Added course-tracking. However, rotation has to happen atomically without animation until #1834 is fixed. Fixes #1605.
* Include app-info.plist in demo app projectJason Wray2015-07-281-1/+2
| | | | [skip ci]
* Exempt Metrics staging server from PFS requirementMinh Nguyễn2015-07-271-2/+13
| | | | | This server should not used in actual production code anyways. Fixes #1937.
* remove loggingJustin R. Miller2015-07-081-6/+0
|
* runtime imagery based on annotation titleJustin R. Miller2015-07-081-14/+26
|
* fixes for runtime Cocoa imageryJustin R. Miller2015-07-081-1/+1
|
* Cocoa custom marker imagery APIJustin R. Miller2015-07-081-0/+33
|
* squash of #1655: shape annotations support for core & iOSJustin R. Miller2015-06-157-52/+15890
|
* Merge branch '1ec5-plist-1535'Minh Nguyễn2015-05-201-17/+15
|\
| * Obsoleted +setMapboxMetricsEnabledSettingShownInApp:Minh Nguyễn2015-05-131-17/+15
| | | | | | | | Made `+[MGLAccountManager setMapboxMetricsEnabledSettingShownInApp:]` unavailable, with a message explaining what to do instead. Removed a commented-out call to that method. Only the environment for an access token if one hasn’t already been set in Info.plist.
* | Merge pull request #1589 from mapbox/1396-info-plist-onlyBrad Leege2015-05-181-0/+2
|\ \ | | | | | | Manage Metrics TEST URL Via Info.plist
| * | #1396 - Refactoring Metrics Test Server URL configuration to be drive via ↵Brad Leege2015-05-181-0/+2
| | | | | | | | | | | | Info.plist
* | | Marked unused parameters with __unusedMinh Nguyễn2015-05-181-14/+4
|/ / | | | | | | Replaced haphazard usage of pragmas and `(void)` expressions with the `__unused` keyword.
* | Privatized MGLMapboxEventsMinh Nguyễn2015-05-181-24/+0
|/ | | | `-pauseMetricsCollection` and `-resumeMetricsCollection` were originally introduced to mitigate concerns around battery usage, but `MGLMapboxEvents` has since evolved to tread much lighter on the battery. There’s no longer any need for the client to call these methods directly. The iOS test project now includes MGLMapboxEvents.h explicitly to avoid having to package a header that will go unused.
* #1516 - Adding public setter method to MGLAccountManager.h. Fixing example ↵Brad Leege2015-05-121-1/+1
| | | | signal opt out in MBXAppDelegate.
* #1516 - Adding explicit checks for developer implementation of user Opt Out ↵Brad Leege2015-05-111-0/+3
| | | | functionality
* Renamed settings keysMinh Nguyễn2015-05-081-2/+2
| | | | The new keys fit the standard naming convention for Info.plist keys and more clearly communicate how they’re to be used.
* #1225 - Simplifying MGLAccountManager for initial setup and access to ↵Brad Leege2015-05-051-1/+2
| | | | AccessToken
* Updating from masterBrad Leege2015-05-043-10/+9
|\
| * make meta-target for all iOS targets too and split up project.gypKonstantin Käfer2015-04-281-8/+8
| | | | | | | | this will make it easier to add more targets to iOS builds in the future. It'll also help by having Xcode files named after the platform they're for, so it's easier to distinguish windows
| * Automatically find view controller for layout guidesMinh Nguyễn2015-04-271-1/+0
| | | | | | | | Find the managing view controller by traversing the responder chain.
| * #1345 - Adding app build number to user agent. Updating gl test app build ↵Brad Leege2015-04-271-1/+1
| | | | | | | | number to be different from build version.
* | #1225 - Restoring MapboxGL.h as an Umbrella header file by splitting the ↵Brad Leege2015-05-041-1/+2
| | | | | | | | singleton code into MGLAccountManager.h and .m
* | #1225 - Initial conversion of Mapbox GL app to set access token in ↵Brad Leege2015-04-232-14/+17
|/ | | | AppDelegate and exposing MGLMapView.initWithFrame to support it
* fixes #1157, #1255: cache parsed tiles in memoryJustin R. Miller2015-04-161-3/+8
|
* change default style to StreetsJustin R. Miller2015-04-101-1/+1
|
* Revert "Override file name for Mapbox Streets style JSON"Justin R. Miller2015-04-101-12/+3
| | | | | | | Mapbox Streets has stock naming again; reverting. Easier to ensure we name properly than build in logic. This reverts commit 0b35a887085cebc4dac99aac6e870504ae24b8e5.
* show Dark style in demo appios-v0.2.10Justin R. Miller2015-04-091-0/+1
|
* Merge pull request #1239 from friedbunny/locate-buttonMinh Nguyễn2015-04-0913-1/+24
|\ | | | | Add simple tracking mode button to demo app
| * Animate the thing, I'm not an animalJason Wray2015-04-091-1/+3
| |