| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(#14816)
* [macos]Added an `MGLMapView.prefetchesTiles` property to configure lower-resolution tile prefetching behavior
* [macos]Update changelog
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios] Fix content insets with custom edge padding.
* [ios, macos] Consolidated edge insets math
* [macos] Add content insets to edge padding when setting camera
* [ios, macos] Updated changelogs
* [ios, macos] Clarify setCamera:withDuration:animationTimingFunction:edgePadding method documentation.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Do not carry it over everywhere as parameter, it is a shared
instance anyway and the lifecycle is pretty much the app lifecycle
from the moment we instantiate a map.
- Rename to BackgroundScheduler because it is a Scheduler that will
do tasks in the background, we don't make assumptions if it is a
thread pool or a single thread.
- Most importantly, remove the dependency from `core` on `platform`.
|
|
|
|
| |
Fixes https://github.com/mapbox/mapbox-gl-native/issues/14329
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed MGLMapView's IBDesignable attribute. The map's view render attributes
uses GL, making changes through the inspectables were not reflected in the storyboard
and were causing IB crashes.
* [ios] Deactivate MGLMapView IBDesignable.
* [ios] Remove IBDesignable agent code.
* [ios, macos] Remove NSProcessInfo category from iOS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added MGLSDKMetricsManager to keep track of SDK related events such as tile download times.
* [ios, macos] Add tile download performance event.
* [ios, macos] Modify the performance event format.
* [ios, macos] Add Mapbox Maps SDK events manager.
* [ios, macos] Remove events delegate.
* [ios, macos] Remove deprecated macro.
* [ios, macos] Rename MGLEventsManager to MGLMetricsManager.
* [ios, macos] Make MGLMetricsDelegate follow delegate convention.
* [ios, macos] Remove mbgl-filesource target dependency on MGLMetricsManager.
* [ios, macos] Update metrics manager documentation.
* [ios, macos] Add device metadata.
* [ios, macos] Rename MGLMetricsManager to MGLSDKMetricsManager.
|
| |
|
| |
|
| |
|
|
|
|
| |
Move pixelRatio property from Map constructor to MapOptions.
|
| |
|
|
|
|
|
| |
Instead of having individual getter for each Map option,
add a common getter for all Map options.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Added the possibility of overriding paint properties inside the format expression.
Added an example of how to create an MGLAttributedExpression object and documented the attributes keys and value types.
Fixed a bug that ignored the font names.
|
|
|
|
|
|
|
|
|
|
|
| |
Added the ios/macos format expression bindings.
The equivalent is mgl_attributed: or mgl_attributed({}) when making an expression using the expressionForFormat selector.
A new constructor called mgl_expressionForAttributedExpressions:(NSArray<NSExpression*>*)attributedExpressions was added to NSExpression+MGLAdditions category.
Updated the symbol style layer text test to use the bindings.
Updated the Predicates and Expressions.md and For Style Authors.md.ejs template with the bindings.
|
|
|
|
|
|
|
|
| |
Group bounds, minimum and maximum zoom related methods together using
the new BoundOptions.
v2: Document that getBounds() initializes all optional fields.
- Add test for getBounds() on a map with default values.
|
| |
|
|
|
|
|
|
|
| |
Using different exception pointers to specify the loading failure makes
an awkward API. Most users rethrow the exception only to figure out what
type of error happened so it can be reported properly. So replace the
exception pointer with a enum an string description of the failure.
|
|
|
| |
Re-adds the 0-to-360° wrapping for MGLMapView.direction. Without this wrapping, we’d get ±180° from core, which results in invalid CLLocationDirection for the negative half of the rotational spectrum.
|
|
|
|
|
|
| |
To simplify the Map constructor, introduce MapOptions
interface to define the properties that can be set on
a Map.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Added a property to MGLOpenGLStyleLayer that contains the map view’s underlying OpenGL rendering context.
|
|
|
|
| |
The `MGLNetworkConfiguration` class was make public, and added `sessionConfiguration` property to let developers customize the `NSURLSessionConfiguration` object that is used to make HTTP requests in the SDK.
|
|
|
|
|
| |
Added NSEdgeInsets to NSString function to improve the debugging on macOS.
Added debug logs to MGLMapView.
|
|
|
|
| |
on-screen (#13727)
|
| |
|
|
|
|
| |
following feature extension API (#13382)
|
|
|
|
| |
selectAnnotation:animated:] was ignored. (#13689)
|
| |
|
| |
|
|
|
|
| |
didEnterIdle fires whenever render completes and no repaint is scheduled.
|
|
|
|
| |
For consistency with each other and with their product name and module name, the iOS and macOS map SDKs now have a bundle identifier of com.mapbox.Mapbox, whether in the form of a static or dynamic framework. The logging subsystem identifier has also been changed to match.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios, macos] Update the logging subsystem to platform agnostic.
* [ios, macos] Add coordinate to string function.
* [ios, macos] Add BOOL to string function.
* [ios, macos] Add tracing logs.
* [ios, macos] Add tracing logs to generated style classes.
* [ios, macos] Split logging categories accordingly to MGLLoggingLevel.
* [ios, macos] Log network requests.
* [ios, macos] Migrate NSAssert to MGLAssert.
* [ios, macos] Include MGLLoggingConfiguration to filesource-files.txt.
* [ios, macos] Fix logger string specifier for the line parameter.
* [ios, macos] Add logs to shapes classes.
* [ios, macos] Add logs to offline classes.
* [ios, macos] Add logs to annotation classes.
* [ios, macos] Add logs to foundation classes.
* [ios, macos] Fix snapshotter size logging.
* [macos] Add logs to map view.
* [ios, macos] Fix string from boolean prefix, add custom function for NSCAssert.
* Log size test
* [ios, macos] Add logging conditional compilation flag.
* [ios, macos] Rename function NSStringFromMGLTransition to MGLStringFromMGLTransition.
* [ios, macos] Remove verbose logging for release builds.
* [ios, macos] Rename NSStringFromCLLocationCoordinate2D to MGLStringFromCLLocationCoordinate2D.
* [ios, macos] Clean unnecesary blank lines in MGLLight.mm set methods.
* [ios, macos] Fix logging grammar, format, function names.
* [ios, macos] Remove compilation flag, rename flags.
|
| |
|
|
|
|
| |
Fixed an issue where the mbgl::CameraOptions’ heading was misinterpreted as going counterclockwise instead of clockwise.
|
| |
|
| |
|
|
|
|
| |
+[MGLMapCamera cameraLookingAtCenterCoordinate:fromDistance:pitch:heading:] incorrectly treated the distance as an altitude. Due to backwards compatibility concerns, this method can’t be fixed in place. Instead, separate +[MGLMapCamera cameraLookingAtCenterCoordinate:correctlyFromDistance:pitch:heading:] and +[MGLMapCamera cameraLookingAtCenterCoordinate:altitude:pitch:heading:] methods have been added.
|
|
|
|
|
|
|
|
| |
* [ios, macos] Add crossSourceCollissions property.
* [ios, macos] Add perSourceCollisions property.
* [ios, macos] Update changelogs.
|