Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1561 from 1ec5-style-id-1500 | Minh Nguyễn | 2015-05-21 | 2 | -4/+5 |
|\ | | | | | | | mapID → styleID | ||||
| * | mapID → styleID | Minh Nguyễn | 2015-05-14 | 2 | -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 uninspectable | Minh Nguyễn | 2015-05-21 | 1 | -1/+0 |
| | | |||||
* | | Merge branch '1ec5-plist-1535' | Minh Nguyễn | 2015-05-20 | 2 | -17/+12 |
|\ \ | |||||
| * | | Removed accessToken from MGLMapView public API | Minh Nguyễn | 2015-05-20 | 1 | -16/+11 |
| | | | | | | | | | | | | With helpful instructions for migrating to Info.plist or the `MGLAccountManager` API. | ||||
| * | | Obsoleted +setMapboxMetricsEnabledSettingShownInApp: | Minh Nguyễn | 2015-05-13 | 1 | -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.plist | Minh Nguyễn | 2015-05-13 | 1 | -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; reorg | Justin R. Miller | 2015-05-12 | 1 | -4/+23 |
| | | |||||
| * | fix spacing, ordering, imports | Justin R. Miller | 2015-05-12 | 2 | -2/+4 |
| | | |||||
| * | Merge branch 'master' into 1ec5-metrics-opt-way-out | Minh Nguyễn | 2015-05-12 | 1 | -0/+2 |
| |\ | |||||
| | * | #1516 - Adding public setter method to MGLAccountManager.h. Fixing example ↵ | Brad Leege | 2015-05-12 | 1 | -0/+1 |
| | | | | | | | | | | | | signal opt out in MBXAppDelegate. | ||||
| | * | #1516 - Renaming setShowsOptOutInApp to ↵ | Brad Leege | 2015-05-12 | 1 | -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 Leege | 2015-05-11 | 1 | -0/+1 |
| | | | | | | | | | | | | functionality | ||||
| * | | Consolidated logic for pausing/resuming MGLMapboxEvents | Minh Nguyễn | 2015-05-12 | 1 | -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 MGLMapboxEvents | Minh Nguyễn | 2015-05-12 | 1 | -4/+0 |
| | | | | | | | | | | | | `MGLMetricsLocationManager` was nothing but overhead for `CLLocationManager`. Also removed an unused method. | ||||
| * | | Refactored MGLMapboxEvents for better data management | Minh Nguyễn | 2015-05-12 | 2 | -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” header | Minh Nguyễn | 2015-05-18 | 1 | -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 MGLMapboxEvents | Minh Nguyễn | 2015-05-18 | 1 | -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-1568 | Minh Nguyễn | 2015-05-16 | 1 | -0/+1 |
|\ \ | | | | | | | Restore IB designable support | ||||
| * | | Revert "refs #1568: remove IBDesignable support for now" | Minh Nguyễn | 2015-05-16 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | This reverts commit 5a918cbb2c97271b3144fb8aace06f6fbdf30cb9. The designable works fine because of #1469. Fixes #1568. | ||||
* | | | Properly fail to load the map | Minh Nguyễn | 2015-05-16 | 1 | -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 now | Justin R. Miller | 2015-05-15 | 1 | -1/+0 |
| | | |||||
* | | Merge pull request #1491 from mapbox/1ec5-metrics-opt-way-out | Justin R. Miller | 2015-05-12 | 4 | -23/+30 |
| | | | | | | | | refactor metrics system to immediately jettison data & tracking when users opt out | ||||
* | | Merge pull request #1528 from mapbox/1516-getter | Minh Nguyễn | 2015-05-12 | 1 | -0/+1 |
| | | | | | | Adding Getter Method | ||||
* | | Merge pull request #1520 from mapbox/1516-opt-out-checking | Brad Leege | 2015-05-12 | 1 | -0/+1 |
|/ | | | Explicit Opt Out Checking | ||||
* | don't doc or package private headers | Justin R. Miller | 2015-05-05 | 1 | -0/+0 |
| | |||||
* | Merge pull request #1329 from mapbox/1225-start-token | Brad Leege | 2015-05-05 | 3 | -2/+12 |
|\ | | | | | MapboxGL Startup Infrastructure | ||||
| * | #1225 - Simplifying MGLAccountManager for initial setup and access to ↵ | Brad Leege | 2015-05-05 | 1 | -2/+2 |
| | | | | | | | | AccessToken | ||||
| * | Updating from master | Brad Leege | 2015-05-04 | 3 | -7/+8 |
| |\ | |||||
| * | | #1225 - Renaming getAccessToken method to sharedAccessToken to avoid any iOS ↵ | Brad Leege | 2015-05-04 | 1 | -1/+1 |
| | | | | | | | | | | | | get naming conventions | ||||
| * | | #1225 - Restoring MapboxGL.h as an Umbrella header file by splitting the ↵ | Brad Leege | 2015-05-04 | 2 | -7/+7 |
| | | | | | | | | | | | | singleton code into MGLAccountManager.h and .m | ||||
| * | | #1225 - Converting id to instancetype | Brad Leege | 2015-04-24 | 1 | -1/+1 |
| | | | |||||
| * | | #1225 - Removing unavailable block on MGLMapView.initWithFrame | Brad Leege | 2015-04-24 | 1 | -2/+0 |
| | | | |||||
| * | | #1225 - Initial conversion of Mapbox GL app to set access token in ↵ | Brad Leege | 2015-04-23 | 2 | -1/+7 |
| | | | | | | | | | | | | AppDelegate and exposing MGLMapView.initWithFrame to support it | ||||
| * | | #1225 - Initial setup of MapboxGL as a singleton object with access token | Brad Leege | 2015-04-22 | 1 | -0/+6 |
| | | | |||||
* | | | add Map::isFullyLoaded() | Konstantin Käfer | 2015-05-05 | 1 | -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 MGLMapView | Konstantin Käfer | 2015-05-05 | 1 | -0/+11 |
| | | | |||||
* | | | missing docs tuneups | Justin R. Miller | 2015-05-04 | 1 | -3/+7 |
| |/ |/| | |||||
* | | Turned class methods into instance methods | Minh Nguyễn | 2015-04-30 | 1 | -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-controller | Minh Nguyễn | 2015-04-27 | 1 | -5/+0 |
|\ \ | | | | | | | Automatically find view controller for layout guides | ||||
| * | | Automatically find view controller for layout guides | Minh Nguyễn | 2015-04-27 | 1 | -5/+0 |
| | | | | | | | | | | | | Find the managing view controller by traversing the responder chain. | ||||
* | | | #1352 - Adding visit event with data attributes | Brad Leege | 2015-04-27 | 1 | -0/+3 |
| | | | |||||
* | | | #1352 - Adding start / stop visit monitoring infrastructure and integrating ↵ | Brad Leege | 2015-04-27 | 1 | -0/+2 |
|/ / | | | | | | | it with pause / resume metrics api | ||||
* | | #1345 - Adding app build number to user agent. Updating gl test app build ↵ | Brad Leege | 2015-04-27 | 1 | -0/+1 |
|/ | | | | number to be different from build version. | ||||
* | #1166 - Initial conversion from NSURLConnection to NSURLSession | Brad Leege | 2015-04-21 | 1 | -1/+1 |
| | |||||
* | #1306 - Adding api_mapbox_com.der (public key) and nsurlconnection checking ↵ | Brad Leege | 2015-04-20 | 1 | -1/+1 |
| | | | | infrastructure | ||||
* | fixes #1157, #1255: cache parsed tiles in memory | Justin R. Miller | 2015-04-16 | 1 | -0/+3 |
| | |||||
* | #1268 - Adding horizontalAccuracy to location event | Brad Leege | 2015-04-14 | 1 | -0/+1 |
| | |||||
* | #1247 - Adding Altitude and Vertical Accuracy attributes to location events | Brad Leege | 2015-04-09 | 1 | -0/+2 |
| | |||||
* | #1216 - Adding start and stop location manager update to pause and resume ↵ | Brad Leege | 2015-04-06 | 1 | -1/+3 |
| | | | | functions. |