summaryrefslogtreecommitdiff
path: root/platform/macos/src
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Update shouldRemoveStyle method documentation.upstream/fabian-eviction-14731Fabian Guerra2019-07-021-11/+14
|
* [ios] Add shoulRremoveStyleImage to MGLMapViewDelegate.Fabian Guerra2019-07-015-0/+26
|
* [ios, macos] Deprecate methods in favor of new completion handler versionsJason Wray2019-06-262-5/+4
|
* [ios, macos] Added completion handlers to animated MGLMapView methodsMinh Nguyễn2019-06-212-32/+137
|
* [macos]Added an `MGLMapView.prefetchesTiles` property to configure lo… ↵m-stephen2019-06-042-0/+18
| | | | | | | | (#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. (#14813)Fabian Guerra Soto2019-06-032-2/+4
| | | | | | | | | | | | * [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.
* [ios,macos] refactor MGLMapViewImplKonstantin Käfer2019-05-297-199/+316
|
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-6/+2
| | | | | | | | | | - 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`.
* [ios, macos] Premultiply color values for mgl_colorNadia Barbosa2019-04-121-3/+22
| | | | Fixes https://github.com/mapbox/mapbox-gl-native/issues/14329
* [ios] Deactivate MGLMapView IBDesignable (#14379)Fabian Guerra Soto2019-04-102-0/+21
| | | | | | | | | | | | 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.
* [ios, macos] Add Mapbox Maps SDK metrics manager. (#13997)Fabian Guerra Soto2019-04-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-051-4/+7
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-051-8/+30
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-051-1/+0
|
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-281-1/+2
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-281-1/+2
|
* [core] Add getter for Map optionsSudarsana Babu Nagineni2019-03-281-1/+1
| | | | | Instead of having individual getter for each Map option, add a common getter for all Map options.
* [core] Fix signature of fluent interface settersBruno de Oliveira Abinader2019-03-231-9/+9
|
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-201-7/+12
|
* [darwin] [MGLOfflineStorage mbglFileSource] is now a shared_ptrBruno de Oliveira Abinader2019-03-201-1/+1
|
* [ios, macos] Add text-color support to format expressions. (#14146)Fabian Guerra Soto2019-03-192-3/+4
| | | | | | | | 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.
* [ios, macos] Add format expression convenience methods support. (#14094)Fabian Guerra Soto2019-03-151-0/+1
| | | | | | | | | | | 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.
* [core] Group Map LatLngBounds, min and max zoom methodsAnder Conselvan de Oliveira2019-03-141-5/+5
| | | | | | | | 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.
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-1/+1
|
* [core] Don't use exceptions in MapObserver::onDidFailLoadingMapAnder Conselvan de Oliveira2019-03-131-16/+18
| | | | | | | 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.
* [darwin] Fix MGLMapView.direction wrappingJason Wray2019-03-121-1/+1
| | | 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.
* [core] Add MapOptions to define properties of MapSudarsana Babu Nagineni2019-03-081-1/+8
| | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map.
* [core] Remove map coordinate setters/gettersBruno de Oliveira Abinader2019-03-041-5/+6
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-7/+7
|
* [core] Remove map bearing setters/gettersBruno de Oliveira Abinader2019-03-041-8/+11
|
* [core] Remove map pitch setters/gettersBruno de Oliveira Abinader2019-03-041-3/+4
|
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-8/+15
|
* [ios, macos] Expose MGLMapView OpenGL context to OpenGL style layersMinh Nguyễn2019-02-252-0/+8
| | | | Added a property to MGLOpenGLStyleLayer that contains the map view’s underlying OpenGL rendering context.
* [ios, macos] Expose the url session configuration object. (#13886)Fabian Guerra Soto2019-02-181-0/+1
| | | | 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.
* [ios, macos] MGLMapView logging improvements. (#13776)Fabian Guerra Soto2019-01-221-1/+3
| | | | | Added NSEdgeInsets to NSString function to improve the debugging on macOS. Added debug logs to MGLMapView.
* [ios] Partially offscreen annotations (without callouts) are no longer moved ↵Julian Rex2019-01-221-25/+44
| | | | on-screen (#13727)
* [macos] Fixes MGLMapView.visibleAnnotations (#13745)Julian Rex2019-01-161-1/+1
|
* [ios, macos] Support getLeaves (and related) clustering methods (#12952) ↵Julian Rex2019-01-141-0/+1
| | | | following feature extension API (#13382)
* [ios, macos] Fixes a bug where the animated parameter of -[MGLMapView ↵Julian Rex2019-01-091-14/+14
| | | | selectAnnotation:animated:] was ignored. (#13689)
* [ios, macos] Added missing mapViewDidBecomeIdle for iOS. Fixed typo. (#13666)Julian Rex2019-01-041-1/+1
|
* [docs] EnterIdle -> BecomeIdleChris Loer2018-12-112-6/+6
|
* [core, darwin, android] Add onDidEnterIdle to MapObserver.Chris Loer2018-12-112-0/+27
| | | | didEnterIdle fires whenever render completes and no repaint is scheduled.
* [ios, macos] Harmonize bundle identifiersMinh Nguyễn2018-11-151-3/+2
| | | | 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] Logging. (#13235)Fabian Guerra Soto2018-11-141-3/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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.
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-131-4/+4
|
* [macos] Removed redundant sign flipMinh Nguyễn2018-10-301-1/+1
| | | | Fixed an issue where the mbgl::CameraOptions’ heading was misinterpreted as going counterclockwise instead of clockwise.
* [ios, macos] Removed extraneous radian-degree conversionsMinh Nguyễn2018-10-261-4/+4
|
* Add a custom logging for the Mapbox Maps SDK for iOS.Fabian Guerra2018-10-262-0/+4
|
* [ios, macos] Distinguish between viewing distance and altitudeMinh Nguyễn2018-10-011-1/+1
| | | | +[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. (#12941)Fabian Guerra Soto2018-09-261-1/+2
| | | | | | | | * [ios, macos] Add crossSourceCollissions property. * [ios, macos] Add perSourceCollisions property. * [ios, macos] Update changelogs.