summaryrefslogtreecommitdiff
path: root/platform/ios/src
Commit message (Collapse)AuthorAgeFilesLines
* [ios] Fix heading update loopupstream/fb-fewer-heading-updates-thxJason Wray2017-08-241-4/+13
| | | | Updating CLLocationManager.headingOrientation triggers a new heading update, even if there was no actual change in its value.
* [ios] Document annotations-as-features limitations w/feature queryingJason Wray2017-08-211-10/+15
| | | | Also move visibleAnnotations next to visibleAnnotationsInRect:.
* [ios] Fix user location horizontal accuracy ring inaccuracyupstream/fb-inaccurate-accuracyJason Wray2017-08-071-5/+2
| | | | Accuracy was off by +25%, depending on latitude.
* [ios] expose setCamera with edge paddingFredrik Karlsson2017-08-032-1/+22
|
* [ios] tilt gesture type fix (#9642)Fabian Guerra Soto2017-07-281-5/+5
| | | | | | * [ios] Change function:angleBetweenPoints return type * [ios] Update changelog
* [ios] Make tilt gesture recognizer recognizable only with two horizontal ↵Fabian Guerra Soto2017-07-271-33/+48
| | | | | | | | fingers (#9571) * [ios] Make tilt gesture recognizer recognizable only with two horizontal fingers * [ios] Make tilt gesture recognizer tolerance degree less restrictive
* [ios] Proper limiting behavior when trying to zoom out fullydanielamitaysc2017-07-271-9/+7
| | | | | - Bail from quick zoom if new zoom is same as old zoom - Allow pinch gesture at minZoom to still move the map
* [ios] Don't force the attribution button tint color to updateupstream/fb-attribution-tint-unforceningJason Wray2017-07-241-2/+4
|
* [build] enable -fvisibility=hidden for iOSKonstantin Käfer2017-07-135-4/+15
|
* [ios] Minimize tilt gesture delayJason Wray2017-06-281-9/+10
|
* [ios] Fixed infinite loop zooming in past z23Minh Nguyễn2017-06-241-1/+1
| | | | At zoom levels where the minimum 1 meter or 4 feet would be wider than the scale bar’s maximum width, the local variable holding the preferred row was left undefined. A loop that later iterated based on this row would effectively iterate infinitely until memory pressure forces the system to quit the application.
* [ios] Allow delegate to keep wandering pinch from panning mapMinh Nguyễn2017-06-221-10/+10
| | | | | | MGLMapView consults MGLMapViewDelegate about whether to zoom the map in response to a pinch gesture, but it should also account for the delegate’s response when panning the map due to the pinch’s center point wandering. Fixes #9168.
* 7910: cancel tracking if ongoing animation is stopped manually (#7916)Romain Quidet2017-06-221-2/+20
| | | | | | | | | | * 7910: cancel tracking if ongoing animation is stopped manually * 7910 updating change log * [ios] Fix map camera animation when a significant change occurs * [ios] Update cancel tracking documentation.
* [ios] Update telemetry cert pinning (#9292)Jesse Bounds2017-06-191-65/+49
|
* [ios, macos] Revised descriptions for abstract classes (#9095)Jordan Kiley2017-06-141-1/+1
| | | Addresses https://github.com/mapbox/mapbox-gl-native/issues/8635
* [ios] Make annotation view rotation alignment configurable (#9147)Jesse Bounds2017-06-012-0/+37
| | | | | | | This commit adds `rotatesWithMap` property on `MGLAnnotationView`. This property, when set to `YES` fixes the annotation to a map such that view follows map's rotation angle. This is useful when user wants to display rotation-dependent annotations (e.g. sector lights).
* Migrate to GL JS–powered feedback form (#9078)Minh Nguyễn2017-05-301-3/+7
| | | | | | | | | | * [ios, macos] Updated feedback URL * [ios, macos] Add referrer, heading, pitch to feedback URL * [ios, macos] Updated changelogs for feedback changes * [ios] Vary referrer by platform
* [ios] remove layout guide observersFredrik Karlsson2017-05-301-56/+44
|
* [ios] Remove filter of single metric eventJesse Bounds2017-05-301-7/+0
|
* [ios] Fix annotation initializers for subclasses of MGLAnnotationView (#9104)Jesse Bounds2017-05-241-8/+15
| | | | Use a common init function in both of the provided initializers so that subclasses of `MGLAnnotationView` written in Swift don't need to override `init(annotation, reuseIdentifier)`
* [ios] Move image resources to an asset catalog & switch to PDFsJason Wray2017-05-231-13/+13
|
* [ios] Fallback to Mapbox.bundle as the framework bundle (#9074)Jason Wray2017-05-232-3/+2
| | | | | Fixes an issue where localizations could not be found when using static builds. Throws exception if our bundle can't be found.
* [ios, macos] Light property implementation in MGLStyle (#9043)Fabian Guerra Soto2017-05-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Add MGLLight to MGLStyle * [ios, macos] Implement Objc bindings for Light object * [ios, macos] Remove rawLight from MGLLight and re-implement it as value class * [ios, macos] Fix build on macos * [ios, macos] Add MGLLight documentation, Move MGLLightPosition to MGLLight * [ios, macos] Add MGLLight tests. * [ios, macos] Update changelogs * [ios, macos] Fix misspelling * [ios, macos] Fix MGLLightAnchor enum property names * [ios, macos] Update documentation. Improve varialble naming. * [ios, macos] Rename MGLLightPosition to MGLSphericalPosition * [ios, macos] Update data types of MGLSphericalPosition
* [ios] Remove annotation view from container view when annotation removed (#9025)Jesse Bounds2017-05-191-0/+1
| | | | The annotation container view keeps an array of annotation views that is separate from the array of subviews that is a property of the UIView parent class. This removes an annotation view from that container view array when the associated annotation is removed. This avoids issue related to previously removed annotation views continuing to be involved in map view logic around annotation view selection due to taps.
* [ios] Add annotation view initializer with annotation and reuse id (#9029)Jesse Bounds2017-05-192-7/+41
|
* Observe layout guides (#7716)Fredrik Karlsson2017-05-192-114/+110
| | | | | | * [ios] observe layout guides * [ios] update changelog
* [ios] Telemetry button in modal view controllers (#9027)Jordan Kiley2017-05-171-3/+4
| | | | Fixes #8980.
* [ios] Use map view frame to calculate annotation view reuse adjustments (#8926)Jesse Bounds2017-05-091-8/+6
| | | | | | * [ios] Use map view frame to calculate annotation view reuse adjustments The value for determining the visible viewport buffer and also the distance to move offscreen an annotation view outside of that buffer was based on the annotation view width and height. This changes that to use the map viewport width and height as constants and avoids a class of bugs where the annotation view would become detached from the tracking system when it did not have a size or was animating from a small to large size.
* [ios] Check for NaN when calculating scale bar widthJason Wray2017-05-081-1/+2
|
* [ios] properly show attribution in modal hierarchies (#8837)Justin R. Miller2017-05-023-7/+38
| | | fixes #8782
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-271-0/+1
|
* [all] Rationalize style::ImageJohn Firebaugh2017-04-243-14/+13
| | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr
* [ios, macos] Update MGLMapView logo view (#8771)Minh Nguyễn2017-04-241-1/+1
| | | | | | * [ios, macos] Updated logo view to new Mapbox logo * [default] Updated attribution logo SVG
* [ios] fixes #8522: don't alter tint color on annotation views (#8789)Justin R. Miller2017-04-211-0/+3
|
* [core] Remove non-Map-dependent projection methods from MapJohn Firebaugh2017-04-181-1/+2
|
* [ios] Scale bar (#7631)Fredrik Karlsson2017-04-164-2/+423
| | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] added a scale bar * [ios] update design * [ios] show/hide scale bar * [ios] Remove the need to localize 0 * [ios] Support for imperial units * [ios] Round to nearest foot * [ios] Make scale bar private * [ios] Update design and clean up * [ios] Rename and various optimizations * [ios] RTL support * [ios] added max scale and removed animations * [ios] animate scale bar
* [core] Tighten geo.hpp ctorsBruno de Oliveira Abinader2017-04-141-2/+2
|
* [all] Remove redundant scale-related camera methodsJohn Firebaugh2017-04-131-13/+7
| | | | We don't need to have two different measurement systems for map zoom.
* [ios] added check for annotation view animation (#8565)Jordan Kiley2017-04-121-0/+3
| | | Addressed #8489
* Merge branch 'release-ios-v3.5.0-android-v5.0.0' into ↵Fabian Guerra2017-04-112-111/+149
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boundsj-merge-release-branch # Conflicts: # cmake/core-files.cmake # mapbox-gl-js # platform/android/CHANGELOG.md # platform/ios/CHANGELOG.md # platform/macos/CHANGELOG.md # platform/qt/bitrise-qt5.yml # src/mbgl/gl/attribute.hpp # src/mbgl/gl/context.cpp # src/mbgl/gl/program.hpp # src/mbgl/map/map.cpp # src/mbgl/programs/program.hpp # src/mbgl/renderer/painter.cpp
| * [ios, macos] Guard against looking up annotation contexts ↵Jesse Bounds2017-04-071-33/+41
| | | | | | | | MGLAnnotationTagNotFound (#8686)
| * [ios, macos] Hardened std::map usage in MGLMapVIewMinh Nguyễn2017-04-051-5/+7
| | | | | | | | Replaced std::map::operator[] usage with std::map::at(). Backed up an assertion on iOS with a guard when -annotationTagsInRect: returns the tag of a nonexistent annotation, for consistency with macOS. Removed an unnecessary and risky subscript into _annotationContextsByAnnotationTag in -positioningRectForCalloutForAnnotationWithTag: on iOS.
| * [ios] assertion to check if an annotationTag > 0 (#8588)Fabian Guerra Soto2017-04-051-0/+2
| | | | | | | | | | | | * [ios] assertion to check if an annotationTag > 0 * [ios,macos] assertion and guard added to check annotations in visibleAnnotationsInRect
| * [ios] Silence incompatible type warning for callout view (#8608)Jesse Bounds2017-04-041-1/+8
| | | | | | | | | | | | | | This silences a compatibility warning that was introduced in a previous refactor that changed the return type of the callout view for annotation delegate method. This also adds checks to ensure that the callout view provided by the delegate to the map view is of the correct type and conforms to the correct protocol.
| * [ios] Replaced UIActionSheet, UIAlertView with UIAlertControllerJason Wray2017-04-011-72/+88
| |
| * [ios] Modify return type so callout bridges with protocol in SwiftJesse Bounds2017-03-291-1/+1
| | | | | | | | | | | | | | | | `- (nullable UIView <MGLCalloutView> *)mapView:(MGLMapView *)mapView calloutViewForAnnotation:(id <MGLAnnotation>)annotation;` bridges with a `UIView?` return type in Swift. This changes replaces the `UIView` type in the method signature so that, when bridged to Swift, the returned object is defined as `MGLCalloutView?`.
| * [ios] nil check in visibleAnnotationsInRect to avoid crash (#8513)Fabian Guerra Soto2017-03-281-1/+4
| |
* | [ios] Match gesture recognizer with map view user interaction stateDavid Chiles2017-04-111-11/+40
| |
* | [ios, macos] MGLMapView size check for OpenGL 2.0 ES minimum texture sizeBruno de Oliveira Abinader2017-04-101-2/+5
| |
* | [ios, macos] Fail gracefully on invalid coordinatesMinh Nguyễn2017-04-061-0/+8
| | | | | | | | Invalid coordinates no longer cause an exception to be raised immediately when used in conversion methods and model objects. Instead, the appropriate invalid values are used, consistent with MapKit. Exceptions are still raised when invalid model objects are used with the map.