summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Notify failures when loading the source JSONThiago Marcos P. Santos2015-05-221-0/+5
|
* Add callback for error notifications on renderStill()Thiago Marcos P. Santos2015-05-222-1/+3
| | | | | | | | | The callback will be called when any of the resources requested from the network failed to load. There is not recovery implemented yet, so the closest thing to reseting the Map object and reloading all the resources would be setting a new style.
* 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.
* | | only return locked FontStack objectsKonstantin Käfer2015-05-191-0/+30
| | |
* | | 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.
* | | Merge branch 'ios-b1'Justin R. Miller2015-05-151-1/+0
|\ \ \ | |_|/ |/| |
| * | 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
* | | Extensible GL extension supportJohn Firebaugh2015-05-131-123/+24
| | |
* | | Remove unused GL feature flagsJohn Firebaugh2015-05-131-8/+0
| | | | | | | | | | | | These were used only for prerendered textures, which were removed.
* | | Use uv::asyncJohn Firebaugh2015-05-131-2/+2
| | |
* | | Remove unusedJohn Firebaugh2015-05-133-6/+0
| |/ |/| | | | | | | There are no longer any requests made that don't have a run loop to dispatch back to.
* | 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.
| * | Merge pull request #1520 from mapbox/1516-opt-out-checkingBrad Leege2015-05-121-0/+1
| |\ \ | | | | | | | | Explicit Opt Out Checking
| | * | #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.
* | Merge pull request #1469 from mapbox/1435-android-gl-crashBrad Leege2015-05-113-8/+8
|\ \ | | | | | | Android GL Crash
| * | Ignore deactivate when no valid EGL display. Fixes #1435Leith Bade2015-05-093-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialise NativeMapView's EGL variables before Map Fix hang Add check for double pause Add test for double pause
* | | fix division by zero conditionsDane Springmeyer2015-05-081-1/+5
| |/ |/|
* | Fix Linux GCC Debug buildThiago Marcos P. Santos2015-05-081-1/+1
| | | | | | | | | | Compiler was complaining about shadowed variable after macro expansion.
* | change the window title to indicate the current styleKonstantin Käfer2015-05-071-0/+2
| |
* | Make all GLFWView attributes privateThiago Marcos P. Santos2015-05-071-5/+6
| |
* | Add style change functionality to the Linux test appThiago Marcos P. Santos2015-05-072-2/+9
| | | | | | | | | | | | | | Makes the life of people using Linux as development environment way easier. Just press 's' to cycle through 3 different styles.
* | 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-0426-523/+186
| |\
| * | #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