summaryrefslogtreecommitdiff
path: root/platform/ios/src
Commit message (Collapse)AuthorAgeFilesLines
...
* [ios] Fix links in documentationNadia Barbosa2019-01-233-6/+6
| | | | | | [ios] Update to docs.mapbox.com Update links
* [ios] Fix wrong coordinates bounds when setting direction. (#13761)Fabian Guerra Soto2019-01-221-5/+3
| | | | Fixes an issue calculating the view port when setting visible coordinates with a direction.
* [ios, macos] MGLMapView logging improvements. (#13776)Fabian Guerra Soto2019-01-221-0/+5
| | | | | 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-27/+74
| | | | on-screen (#13727)
* [ios] Prevent map view on external display from sleeping in backgroundMinh Nguyễn2019-01-141-1/+11
| | | | When the application enters background mode, only put the map view to sleep if it’s installed on the main screen or hasn’t been added to any window. Otherwise, if it’s targeting an external display, such as via AirPlay or CarPlay, allow the map view to continue rendering.
* [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-092-20/+38
| | | | selectAnnotation:animated:] was ignored. (#13689)
* [ios, macos] Added missing mapViewDidBecomeIdle for iOS. Fixed typo. (#13666)Julian Rex2019-01-041-0/+14
|
* [docs] EnterIdle -> BecomeIdleChris Loer2018-12-111-1/+1
|
* [core, darwin, android] Add onDidEnterIdle to MapObserver.Chris Loer2018-12-111-0/+13
| | | | didEnterIdle fires whenever render completes and no repaint is scheduled.
* [ios] Announce POI categories where availableMinh Nguyễn2018-12-081-2/+5
|
* [ios] Added CJK string transformsMinh Nguyễn2018-12-081-0/+6
|
* [core] Remove error-prone setlatLng overloadBruno de Oliveira Abinader2018-11-271-1/+1
|
* [ios] Added teardown of core objects when receiving ↵Julian Rex2018-11-203-101/+267
| | | | UIApplicationWillTerminateNotification (#13367)
* [ios] Remove deprecated -[MGLMapView setDebugActive:] implementationJason Wray2018-11-201-7/+0
|
* [darwin] Rename variables to avoid shadow declarationsJason Wray2018-11-201-18/+12
| | | | Per GCC_WARN_SHADOW.
* [darwin] Fix typos in pragma diagnostic declarationsJason Wray2018-11-201-1/+1
| | | | Per GCC_WARN_UNKNOWN_PRAGMAS.
* [darwin] Fix GCC_WARN_SIGN_COMPARE warningsJason Wray2018-11-202-3/+3
|
* [ios] Don't pause camera animations when zoom/pitch/rotate/scroll are disabledNadia Barbosa2018-11-191-0/+6
| | | | | | | | [ios] Move up code [ios] Changelog newline
* [ios, macos] Logging. (#13235)Fabian Guerra Soto2018-11-143-28/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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.
* [ios][documentation] link API documentation to ios-sdk/examplesJosh Erb2018-11-137-12/+185
|
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-132-4/+4
|
* [ios, macos] Removed extraneous radian-degree conversionsMinh Nguyễn2018-10-261-6/+6
|
* Add a custom logging for the Mapbox Maps SDK for iOS.Fabian Guerra2018-10-262-3/+7
|
* [ios][documentation] add two links for delegatesJosh Erb2018-10-242-0/+8
| | | | | | * MGLMapView <-> MGLMapViewDelegate * MGLCalloutView <-> MGLCalloutViewDelegate * MGLLocationManager <-> MGLLocationManagerDelegate
* [core] CameraOptions receives and outputs angle and pitch as degrees, not ↵Bruno de Oliveira Abinader2018-10-191-2/+2
| | | | radians
* [ios] Fix divide-by-zero when setting FPS on iOS <10Jason Wray2018-10-091-0/+4
|
* [ios] Add support for Simulator in UIDevice.mgl_isLegacyDeviceJason Wray2018-10-091-2/+4
|
* [ios] Ignore deprecation warnings for MGLMapView.userLocationVerticalAlignmentJason Wray2018-10-051-1/+12
|
* [ios] Add delegate method to specify the user location annotation’s positionNadia Barbosa2018-10-023-8/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update method name More API drafting Add deprecation flag Add Swift delegate integration test Update method name and documentation Update deprecation notices Update method name Offset anchor point relative to contentFrame Update docs Only run through switch statement if delegate is unimplemented Account for content inset + refactor logic Adjust edgePaddingForFollowing Fix Swift delegate integration test Set up integration test Set up test location manager . Remove unused file reference from test Return CGPoint value from delegate method within integration test setup Test anchor points Make updateUserLocationAnnotationView public Refactor test Update test location manager Changelog entry Doc fixes
* [ios, macos] Distinguish between viewing distance and altitudeMinh Nguyễn2018-10-011-3/+3
| | | | +[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] Enable 120fps on capable devicesJason Wray2018-09-261-1/+1
|
* [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.
* [ios] Fix for user location annotation jittering (and view annotations ↵Julian Rex2018-09-261-16/+25
| | | | lagging) (#12895)
* [ios, macos] Allow -convertCoordinateBounds to span antimeridianNadia Barbosa2018-09-042-8/+29
|
* Add enabled property to MGLShape (#12352)Jordan Kiley2018-08-202-1/+17
| | | | | | | | | | | | | | * [ios, macos] Add -[MGLMapViewDelegate mapView:canSelectAnnotation:] method. * [ios, macos] Update changelogs. * [ios, macos] Add mapView:canSelect: integration tests. * [ios, macos] Change semantics to shape annotations. * [ios, macos] Update changelogs. * [ios, macos] Update shapeAnnotationIsEnabled documentation, improve code readability.
* [darwin] arbitrary offline region geometriesIvo van Dongen2018-08-201-0/+1
|
* [ios] Add experimental frame rate measurements to MGLMapViewJason Wray2018-08-162-0/+64
| | | | Includes: average frame rate, average frame render duration, and instantaneous frame render duration.
* [ios] Standardize exception definitionsJason Wray2018-08-092-6/+15
|
* [ios] Add MGLMapViewDecelerationRate typed enumJason Wray2018-08-092-6/+9
| | | | Improves Swiftiness by allowing type-omission, à la `mapView.decelerationRate = .fast` and such.
* [ios] Fix location manager null reset.Fabian Guerra2018-08-012-15/+15
|
* [ios] Add preferred FPS setting; vary maximum FPS by device capabilityJason Wray2018-07-314-3/+140
| | | | - Add `MGLMapView.preferredFramesPerSecond`, which can be set with the provided `MGLMapViewPreferredFramesPerSecond` enum values or directly with an integer. - Adaptively set the preferred FPS based on the capabilities of the device: the oldest and least powerful devices are now capped at 30 FPS, which results in a more consistent/smoother experience.
* [darwin] Use FOUNDATION_EXTERN instead of plain externJason Wray2018-07-242-4/+4
| | | | FOUNDATION_EXTERN is an alias for extern in most cases, but also covers us in the event that a method could be mismangled by the compiler as C++ (when we want C-style mangling, for Obj-C compatibility).
* [ios] Mapbox's Location Manager new API. (#12013)Fabian Guerra Soto2018-07-203-15/+57
| | | | | | * [ios] The new location manager API provides two new protocols MGLLocationManager and MGLLocationManagerDelegate to handle the location cycle and updates respectively. This enables developers to chose the appropriate location provider according to their needs, or transition between outdoors/indoors location updates. It does provide a default implementation based on CLLocationManager.
* [iOS] Fix unbalanced change delimiter crash (#12148)Lloyd Sheng2018-07-181-1/+0
| | | Fixed a crash that occurred when the user started a gesture before the drift animation for a previous gesture was complete.
* [iOS] Update annotation view touch handling (with offsets) (#12234)Julian Rex2018-07-091-20/+13
|
* Add pitch argument to cameraThatFits functions (#12213)Bobby Sudekum2018-07-022-3/+59
|
* [ios] Add custom events library start-up delay (#12088)Randall Lee2018-06-081-13/+25
| | | | | | | | | | | | | | * [ios] Add custom delay Adds a custom delay to the events library initialization. This is only active when using certain profile configurations. * [ios] events library version update to v0.4.1 * Update Events Library to include missing MGL_EXPORT * Add MMEEventsService files to Events Lib Submodule * Change delayTime type to int64_t
* [ios] Use 'Recognized' state for tap gesture handlersJason Wray2018-06-011-58/+48
| | | | Tap gestures have no `Began`/`Ended` states — they can only be `Possible` or `Recognized`.
* [ios] Updated MGLScaleBar to use rendered UIImages instead of ↵Julian Rex2018-05-241-60/+131
| | | | MGLScaleBarLabel (#11921)