| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Manage Metrics TEST URL Via Info.plist
|
| | |
| | |
| | |
| | | |
Info.plist
|
|/ /
| |
| |
| | |
Replaced haphazard usage of pragmas and `(void)` expressions with the `__unused` keyword.
|
|/
|
|
| |
`-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.
|
|
|
|
| |
signal opt out in MBXAppDelegate.
|
|
|
|
| |
functionality
|
|
|
|
| |
The new keys fit the standard naming convention for Info.plist keys and more clearly communicate how they’re to be used.
|
|
|
|
| |
AccessToken
|
|\ |
|
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Find the managing view controller by traversing the responder chain.
|
| |
| |
| |
| | |
number to be different from build version.
|
| |
| |
| |
| | |
singleton code into MGLAccountManager.h and .m
|
|/
|
|
| |
AppDelegate and exposing MGLMapView.initWithFrame to support it
|
| |
|
| |
|
|
|
|
|
|
|
| |
Mapbox Streets has stock naming again; reverting. Easier
to ensure we name properly than build in logic.
This reverts commit 0b35a887085cebc4dac99aac6e870504ae24b8e5.
|
| |
|
|\
| |
| | |
Add simple tracking mode button to demo app
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Some styles have nonstandard file names that don’t end with “-v7”. This commit adds a special case for Mapbox Streets that can be extended in the future for other styles.
Ref #1228
|
|/ |
|
| |
|
| |
|
|
|
|
| |
entering background mode and no other location manager running. Added paused state checking to pauseMetricsCollection and resumeMetricsCollection
|
|
|
|
| |
This change removes most of the ways you used to be able to apply a style to the map. Building on #1163, `styleURL` (HTTP(S), mapbox:, asset:) is the canonical way to apply a style, and `mapID` is a convenient shorthand for Mapbox-hosted styles. A relative style URL is interpreted as a path relative to the app’s main bundle. We now construct asset: URLs in lieu of “bundled style names”.
|
|
|
|
|
|
|
|
| |
`Map` should be able to deal with having no access token or JSON even while it’s running. Most of `Map` accounts for this situation, but `reloadStyle()` incorrectly assumes that one or the other is set. This change corrects the assumption in `reloadStyle()`.
Also expose the access token and style name to clients as ordinary KVO-compliant properties. Actually, they’re not so ordinary because they’re inspectable!
Ref #1070, #1147
|
|
|
|
| |
Added footer text to explain the purpose of the Mapbox Metrics setting. Added strings from the plist to an existing unused .strings file and converted that .strings file to UTF-8 for diffability.
|
|\
| |
| | |
Enable modules in iOS demo app
|
| |
| |
| |
| | |
No longer need to explicitly link system frameworks like UIKit.
|
|/ |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
platform/ios/MGLMapView.mm
|
| |
| |
| |
| | |
squash of #1061
|
| | |
|
| |
| |
| |
| | |
functionality in Events tracking infrastructure
|
| |
| |
| |
| | |
at event push time.
|
|/
|
|
| |
into memory
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixes #838
instead of rendering ad libitum on the map thread, we are now driving rendering from the UI thread on iOS via the map.renderSync() function. There are still white bars during the rotation, but the general content of the view is kept visible.
- upgrades GLFW to 3.1
- removes swapped/needsSwap in favor of a more explicit scheme
- View#invalidate() now replaces View#swap() and is called whenever the View needs to trigger a rerender. GLFW and Android to this right away, while iOS goes back to the main thread and does the Map redrawing as part of the GLKView update
- sets all iOS deployment targets to 7.0
- disables SQLite3 version check, since the library version changed on iOS 8.2
|
|
|
|
|
|
| |
Looks terrible at the moment, but the API is closer to what developers would expect.
Fixes #935.
|
| |
|
| |
|