summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.mm
Commit message (Collapse)AuthorAgeFilesLines
* pairing debug codeupstream/9096-debugJustin R. Miller2017-05-251-43/+63
|
* [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-231-2/+1
| | | | | Fixes an issue where localizations could not be found when using static builds. Throws exception if our bundle can't be found.
* [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.
* Observe layout guides (#7716)Fredrik Karlsson2017-05-191-114/+104
| | | | | | * [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] properly show attribution in modal hierarchies (#8837)Justin R. Miller2017-05-021-7/+5
| | | fixes #8782
* [all] Rationalize style::ImageJohn Firebaugh2017-04-241-4/+3
| | | | | | | 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-161-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | * [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-111-110/+148
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] 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.
* | [ios] Localized map view proxy accessibility hintMinh Nguyễn2017-03-301-1/+1
| |
* | [core] Privatize OpenGL/Context headersKonstantin Käfer2017-03-281-14/+6
| |
* | [core] Move OpenGL extension initialization to BackendKonstantin Käfer2017-03-231-16/+14
| |
* | [core] Ensure that a BackendScope exists when doing GL callsKonstantin Käfer2017-03-231-0/+4
| |
* | Merge branch 'release-ios-v3.5.0-android-v5.0.0'John Firebaugh2017-03-211-35/+36
|\ \ | |/
| * [ios] Enable one-finger quickzoom gesture on iPadJason Wray2017-03-131-8/+5
| |
| * [ios, macos] Corrected polyline equalityMinh Nguyễn2017-03-101-2/+2
| | | | | | | | | | | | | | | | Now that annotation classes override -isEqual:, it’s no longer appropriate to rely on -isEqual: or -containsObject: to check for the preexistence of an annotation. Those methods become deep equality tests, which have worse performance. Checking for identity allows the developer to add a polyline and polygon with identical coordinates, title, etc. to the map. Implemented a missing -[MGLPolyline isEqual:]. Removed outdated comments about -annotationTagForAnnotation: being expensive.
| * Raise exception when MGLAnnotationView.annotation property is nil (#8339)Fabian Guerra Soto2017-03-101-2/+6
| | | | | | | | | | | | * [ios] MGLAnnotationView annotation property made writable * [ios] standarized exception name for annotations
| * Merge master into release-ios-v3.5.0-android-v5.0.0John Firebaugh2017-03-081-3/+23
| |\
| * | [ios] Add SDK version update checking/notificationJason Wray2017-03-071-0/+9
| | |
| * | [ios, macos] Update callout when relocating annotationMinh Nguyễn2017-03-031-11/+2
| | | | | | | | | | | | When relocating a selected point annotation, update the associated callout (popover) rather than deselecting the annotation.
| * | [ios] Fixed conversion between Duration and NSTimeInerval (#8276)Fabian Guerra Soto2017-03-031-12/+12
| | |
* | | [ios, macos] Fix map load error descriptions (#8466)Minh Nguyễn2017-03-181-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Corrected map load error descriptions Ensured the uniqueness of localizable string IDs. Ran make genstrings to add the -[MGLMapViewDelegate mapViewDidFailToLoad:withError:] error description strings to the base localization. * [ios, macos] Moved failure error changelog entry to new release
* | | [ios] Update changes in MapObserver::onDidFailLoadingMapBruno de Oliveira Abinader2017-03-171-18/+38
| | |
* | | [ios] Support mbgl::MapObserverBruno de Oliveira Abinader2017-03-151-145/+200
| |/ |/|
* | [ios, macos] Add support for queryRenderedFeatures filterIvo van Dongen2017-03-041-3/+22
| |
* | [core] Add support for queryRenderedFeatures filterAsheem Mamoowala2017-03-041-2/+2
| |
* | [ios] MGLAnnotationView annotation property made writable (#8139)Fabian Guerra Soto2017-03-021-0/+1
|/
* Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.2Minh Nguyễn2017-02-211-22/+55
|\
| * [ios, macos] Short-circuit redundant camera changesMinh Nguyễn2017-02-181-19/+55
| | | | | | | | | | | | | | | | Avoid canceling transitions (and triggering preexisting completion handlers) until we get a chance to ensure that a new transition really does have to begin. Consistently avoid mbgl transitions for redundant camera changes. Upon bailing, schedule the completion handler to run asynchronously on a delay equivalent to the requested animation duration. Added a “functional” equality method to MGLMapCamera that avoids trivial differences. Fixed invocations of XCTAssertEqualWithAccuracy() that incorrectly expressed the accuracy as a number of digits rather than a scalar tolerance.
| * [ios] persistent user tracking modeFredrik Karlsson2017-02-061-3/+0
| |
* | [ios] Clean-up conditionals for iOS <8Jason Wray2017-02-211-3/+1
| |
* | [ios,macos,android,qt] use shared threadpoolKonstantin Käfer2017-02-201-8/+3
| |
* | [darwin] move RunLoop initialization to static variableKonstantin Käfer2017-02-201-7/+1
| |