summaryrefslogtreecommitdiff
path: root/include/mbgl/ios
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1561 from 1ec5-style-id-1500Minh Nguyễn2015-05-212-4/+5
|\ | | | | | | mapID → styleID
| * mapID → styleIDMinh Nguyễn2015-05-142-4/+5
| | | | | | | | | | | | Deprecated `-mapID` and `-setMapID:` to accurately reflect the APIs the ID is used for. Marked the property unavailable but reimplemented its getter and setter to assert with helpful messages. Fixes #1500.
* | Made accessToken uninspectableMinh Nguyễn2015-05-211-1/+0
| |
* | Merge branch '1ec5-plist-1535'Minh Nguyễn2015-05-202-17/+12
|\ \
| * | Removed accessToken from MGLMapView public APIMinh Nguyễn2015-05-201-16/+11
| | | | | | | | | | | | With helpful instructions for migrating to Info.plist or the `MGLAccountManager` API.
| * | Obsoleted +setMapboxMetricsEnabledSettingShownInApp:Minh Nguyễn2015-05-131-1/+1
| | | | | | | | | | | | 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.
| * | Grab access token and other app-wide data from Info.plistMinh Nguyễn2015-05-131-1/+1
| |/ | | | | | | | | | | That way there’s no ambiguity about when you should call things like `+[MGLAccountManager setMapboxMetricsEnabledSettingShownInApp:]`. In fact, that method is now deprecated because it’s so easy to call in the wrong place. Fixes #1535.
| * add header docs for new MGLAccountManager; reorgJustin R. Miller2015-05-121-4/+23
| |
| * fix spacing, ordering, importsJustin R. Miller2015-05-122-2/+4
| |
| * Merge branch 'master' into 1ec5-metrics-opt-way-outMinh Nguyễn2015-05-121-0/+2
| |\
| | * #1516 - Adding public setter method to MGLAccountManager.h. Fixing example ↵Brad Leege2015-05-121-0/+1
| | | | | | | | | | | | signal opt out in MBXAppDelegate.
| | * #1516 - Renaming setShowsOptOutInApp to ↵Brad Leege2015-05-121-1/+1
| | | | | | | | | | | | setMapboxMetricsEnabledSettingShownInApp for app consistency. Implementing wordsmith edits to NSAssert text. Removing technical debt.
| | * #1516 - Adding explicit checks for developer implementation of user Opt Out ↵Brad Leege2015-05-111-0/+1
| | | | | | | | | | | | functionality
| * | Consolidated logic for pausing/resuming MGLMapboxEventsMinh Nguyễn2015-05-121-0/+3
| | | | | | | | | | | | `MGLMapboxEvents` automatically recreates its location manager when the host app is reauthorized for Location Services. Added some redundancy to ensure that there is no location manager when either Location Services or Mapbox Metrics is off.
| * | Folded MGLMetricsLocationManager into MGLMapboxEventsMinh Nguyễn2015-05-121-4/+0
| | | | | | | | | | | | `MGLMetricsLocationManager` was nothing but overhead for `CLLocationManager`. Also removed an unused method.
| * | Refactored MGLMapboxEvents for better data managementMinh Nguyễn2015-05-122-13/+0
| |/ | | | | | | The shared `MGLMapboxEvents` now owns the only instance of `MGLMetricsLocationManager`. It also owns a `MGLMapboxEventsData` object, to which all user-specific data has been relegated. This object can be built up and torn down on the fly, whenever the opt-out preference is toggled. `MGLMapboxEvents` has also given up knowledge of the access token and now queries `MGLAccountManager` for that information, which `MGLMapView` keeps up-to-date.
* | Removed “private” headerMinh Nguyễn2015-05-181-14/+0
| | | | | | | | | | | | Instead of exposing these methods in a private header that winds up triggering warnings publicly, just redeclare the methods in a category. Since this is a test app, we’ll catch any issues that arise from refactoring simply by testing. Fixes #1579.
* | Privatized MGLMapboxEventsMinh Nguyễn2015-05-181-60/+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.
* | Merge pull request #1573 from mapbox/1ec5-designable-redux-1568Minh Nguyễn2015-05-161-0/+1
|\ \ | | | | | | Restore IB designable support
| * | Revert "refs #1568: remove IBDesignable support for now"Minh Nguyễn2015-05-161-0/+1
| | | | | | | | | | | | | | | | | | This reverts commit 5a918cbb2c97271b3144fb8aace06f6fbdf30cb9. The designable works fine because of #1469. Fixes #1568.
* | | Properly fail to load the mapMinh Nguyễn2015-05-161-0/+2
|/ / | | | | | | A typo in a selector literal meant that `-[MGLMapViewDelegate mapViewDidFailLoadingMap:withError:]` would never be sent to delegates even if `MGLMapView` had called it. Along for the ride, create a proper `NSError` to pass into that callback, and an error domain for that error.
* | refs #1568: remove IBDesignable support for nowJustin R. Miller2015-05-151-1/+0
| |
* | Merge pull request #1491 from mapbox/1ec5-metrics-opt-way-outJustin R. Miller2015-05-124-23/+30
| | | | | | | | refactor metrics system to immediately jettison data & tracking when users opt out
* | Merge pull request #1528 from mapbox/1516-getterMinh Nguyễn2015-05-121-0/+1
| | | | | | Adding Getter Method
* | Merge pull request #1520 from mapbox/1516-opt-out-checkingBrad Leege2015-05-121-0/+1
|/ | | Explicit Opt Out Checking
* don't doc or package private headersJustin R. Miller2015-05-051-0/+0
|
* Merge pull request #1329 from mapbox/1225-start-tokenBrad Leege2015-05-053-2/+12
|\ | | | | MapboxGL Startup Infrastructure
| * #1225 - Simplifying MGLAccountManager for initial setup and access to ↵Brad Leege2015-05-051-2/+2
| | | | | | | | AccessToken
| * Updating from masterBrad Leege2015-05-043-7/+8
| |\
| * | #1225 - Renaming getAccessToken method to sharedAccessToken to avoid any iOS ↵Brad Leege2015-05-041-1/+1
| | | | | | | | | | | | get naming conventions
| * | #1225 - Restoring MapboxGL.h as an Umbrella header file by splitting the ↵Brad Leege2015-05-042-7/+7
| | | | | | | | | | | | singleton code into MGLAccountManager.h and .m
| * | #1225 - Converting id to instancetypeBrad Leege2015-04-241-1/+1
| | |
| * | #1225 - Removing unavailable block on MGLMapView.initWithFrameBrad Leege2015-04-241-2/+0
| | |
| * | #1225 - Initial conversion of Mapbox GL app to set access token in ↵Brad Leege2015-04-232-1/+7
| | | | | | | | | | | | AppDelegate and exposing MGLMapView.initWithFrame to support it
| * | #1225 - Initial setup of MapboxGL as a singleton object with access tokenBrad Leege2015-04-221-0/+6
| | |
* | | add Map::isFullyLoaded()Konstantin Käfer2015-05-051-0/+3
| | | | | | | | | | | | returns whether the Map is still loading/parsing any assets or whether everything is there and a render will likely be complete
* | | [iOS] allow calling invalidate() on MGLMapViewKonstantin Käfer2015-05-051-0/+11
| | |
* | | missing docs tuneupsJustin R. Miller2015-05-041-3/+7
| |/ |/|
* | Turned class methods into instance methodsMinh Nguyễn2015-04-301-4/+4
| | | | | | | | Avoids unnecessary steps to access singletons. Now `MGLMapboxEvents` and `MGLMetricsLocationManager` instances can message themselves directly.
* | Merge pull request #1357 from mapbox/1ec5-view-controllerMinh Nguyễn2015-04-271-5/+0
|\ \ | | | | | | Automatically find view controller for layout guides
| * | Automatically find view controller for layout guidesMinh Nguyễn2015-04-271-5/+0
| | | | | | | | | | | | Find the managing view controller by traversing the responder chain.
* | | #1352 - Adding visit event with data attributesBrad Leege2015-04-271-0/+3
| | |
* | | #1352 - Adding start / stop visit monitoring infrastructure and integrating ↵Brad Leege2015-04-271-0/+2
|/ / | | | | | | it with pause / resume metrics api
* | #1345 - Adding app build number to user agent. Updating gl test app build ↵Brad Leege2015-04-271-0/+1
|/ | | | number to be different from build version.
* #1166 - Initial conversion from NSURLConnection to NSURLSessionBrad Leege2015-04-211-1/+1
|
* #1306 - Adding api_mapbox_com.der (public key) and nsurlconnection checking ↵Brad Leege2015-04-201-1/+1
| | | | infrastructure
* fixes #1157, #1255: cache parsed tiles in memoryJustin R. Miller2015-04-161-0/+3
|
* #1268 - Adding horizontalAccuracy to location eventBrad Leege2015-04-141-0/+1
|
* #1247 - Adding Altitude and Vertical Accuracy attributes to location eventsBrad Leege2015-04-091-0/+2
|
* #1216 - Adding start and stop location manager update to pause and resume ↵Brad Leege2015-04-061-1/+3
| | | | functions.