summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.mm
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Fixes a bug where the animated parameter of -[MGLMapView ↵Julian Rex2019-01-091-15/+20
| | | | selectAnnotation:animated:] was ignored. (#13689)
* [ios, macos] Added missing mapViewDidBecomeIdle for iOS. Fixed typo. (#13666)Julian Rex2019-01-041-0/+14
|
* [core] Remove error-prone setlatLng overloadBruno de Oliveira Abinader2018-11-271-1/+1
|
* [ios] Added teardown of core objects when receiving ↵Julian Rex2018-11-201-98/+231
| | | | 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-201-2/+2
|
* [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-141-28/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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-3/+3
|
* [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-261-3/+6
|
* [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] 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-021-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-041-6/+21
|
* Add enabled property to MGLShape (#12352)Jordan Kiley2018-08-201-1/+5
| | | | | | | | | | | | | | * [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.
* [ios] Add experimental frame rate measurements to MGLMapViewJason Wray2018-08-161-0/+32
| | | | Includes: average frame rate, average frame render duration, and instantaneous frame render duration.
* [ios] Standardize exception definitionsJason Wray2018-08-091-6/+11
|
* [ios] Add MGLMapViewDecelerationRate typed enumJason Wray2018-08-091-3/+3
| | | | Improves Swiftiness by allowing type-omission, à la `mapView.decelerationRate = .fast` and such.
* [ios] Fix location manager null reset.Fabian Guerra2018-08-011-12/+13
|
* [ios] Add preferred FPS setting; vary maximum FPS by device capabilityJason Wray2018-07-311-3/+52
| | | | - 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.
* [ios] Mapbox's Location Manager new API. (#12013)Fabian Guerra Soto2018-07-201-14/+34
| | | | | | * [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-021-3/+28
|
* [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] Use standard callout positioning for unanimated user location changesJason Wray2018-05-221-24/+8
| | | | Animated changes to the position of the user location annotation view still need to also handle updating its callout view, otherwise the two can become out of sync.
* [ios,macos] Fix for infinite loop crash when setting shape to nil in ↵Julian Rex2018-05-211-14/+20
| | | | MGLMapViewDelegate methods (#11614)
* Merge branch 'release-boba' into masterupstream/fabian-merge-release-4.0.1-masterFabian Guerra2018-05-171-10/+35
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # mapbox-gl-js # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/gradle/dependencies.gradle # platform/darwin/src/MGLVectorTileSource.mm # platform/darwin/src/MGLVectorTileSource_Private.h # platform/ios/CHANGELOG.md # src/mbgl/style/expression/compound_expression.cpp
| * [ios, macos] Make NSPredicate+MGLAdditions public. (#11810)android-v6.1.0Fabian Guerra Soto2018-05-041-1/+1
| |
| * [ios] Switched to use center property (instead of frame) when repositioning ↵Julian Rex2018-05-031-3/+5
| | | | | | | | annotation views (when adding back into queue). (#11817)
| * [ios, macos] Fix possible retain cycles in blocksJason Wray2018-04-271-3/+11
| | | | | | | | Prompted by enabling CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF.
| * [ios, macos] Fix for camera movement when selecting visible annotations (#11731)Julian Rex2018-04-241-3/+18
| |
* | [ios, macos] Update minimum deployment versions to iOS 9, macOS 10.11 (#11776)Jason Wray2018-04-271-64/+54
|/ | | | | | | | | | | | | | | | | | | * [ios] Remove iOS 8 conditionals * [ios, macos] Bump pod deployment targets * [ios, macos] Add changelog entries * [ios, macos] Update docs * Remove unnecessary selector-based version checks * Update SQLite note * [ios, macos] Replace lightweight generics macros with direct use Lightweight generics for Foundation collections are available everywhere with the bump to iOS 9 and macOS 10.11. * Update deprecated macOS method
* [ios] Remove more deprecated bits for release-bobaJason Wray2018-04-161-47/+2
|
* [ios, macos] Renamed MGLVectorSource to MGLVectorTileSourceMinh Nguyễn2018-04-021-1/+1
|
* [ios,macos] Selecting offscreen annotation pans map to fit annotation & ↵Julian Rex2018-03-211-19/+82
| | | | callout view (#3249, #9790)
* [ios] Fix pinch drift ignoring delegate camera change responseJason Wray2018-03-141-3/+7
|
* [ios, macos] Fix an issue where a wrong annotation may selected if ↵Lloyd Sheng2018-03-131-26/+23
| | | | | | | | | | | | annotations were set close together (#11438) * [ios] Fix an issue where wrong annotation may selected when annotations very close #10734 * [macos] Fix an issue where a wrong annotation may selected if annotations were set close together * update the iOS change log and the macOS change log * Fix an issue where the comment referenced to the wrong variable name
* [ios] Add MGLMapView.showsScale to control scale bar visibility (#11335)Jason Wray2018-03-021-6/+26
| | | | | | - Fixes scale bar not being visible until a camera change event. - Adds IBInspectable for scale bar visibility. - Add tests of the scale bar being added to the map view
* [ios] Provide haptic feedback when user rotates to due northJason Wray2018-02-271-0/+21
|
* [ios, macos] Unwrap coordinate boundsMinh Nguyễn2018-02-211-30/+18
| | | | Updated coordinate bounds conversion methods to use the beyond-±180 method to indicate that the bounds extends beyond the antimeridian. Also copyedited conversion documentation.
* [ios] Fix loop when first asking for location permission (#11229)Jason Wray2018-02-201-1/+2
|