summaryrefslogtreecommitdiff
path: root/platform/ios/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Update MapObserver::onDidFinishRenderingFrame() APIMikhail Pozdnyakov2019-09-122-3/+3
|
* [ios] Refactor way location permissions are requestedJason Wray2019-09-091-27/+21
|
* [ios] Remove feature flag for rotation threshold (#15562)Jordan Kiley2019-09-041-102/+4
|
* [ios, macos] Fix content inset documentation. (#15552)Fabian Guerra Soto2019-09-041-2/+2
|
* [ios] Fix compass font weight being too light on iOS 13m-stephen2019-09-041-1/+8
|
* [ios] Allow MGLScaleBar to support dark mode on iOS 13Nadia Barbosa2019-08-301-2/+1
| | | | Add changelog PR link
* [core] Remove programCacheDir parameter from ProgramParametersAnder Conselvan de Oliveira2019-08-271-1/+1
| | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore.
* [ios] Added pending completion blocks (#15122)Julian Rex2019-08-251-30/+111
|
* [ios] Improve tilt gesture recognizer detection. (#15349)Fabian Guerra Soto2019-08-231-32/+61
| | | | | | | | | | | | | | | | | | * [ios] Improve tilt gesture recognizer detection. * [ios] Update tilt gesture detection angles. * [ios] Fix a delay at the beginning of the drag gesture. * [ios] Update tilt gesture recognizer tests. * [ios] Update changelog. * [ios] Add horizontal tilt gesture test. * [ios] Addresses review feedback. * [ios] Add comments to clarify the tilt gesture initialization.
* [core] Export symbol placement update status from MapObserverMikhail Pozdnyakov2019-08-232-2/+2
|
* [ios, macos] Clarify current best practices with animated camera changesNadia Barbosa2019-08-221-8/+16
|
* [ios] Refactor NSUserDefaults key variable namesJason Wray2019-08-213-35/+40
|
* [ios] Add threshold for triggering the rotate gesture recognizer (#14929)Jordan Kiley2019-08-201-12/+135
|
* [ios] Fix bug where scale bar shows 0 mm instead of 0 (#15381)Jordan Kiley2019-08-201-2/+13
|
* [ios] Removes mismatched function declaration. (#15423)Julian Rex2019-08-201-1/+0
|
* [ios] Adds annotation selection tests with rotation & scaling of the map ↵Julian Rex2019-08-201-1/+0
| | | | (#15123)
* [ios] Document how scale bar visibility is determined (#15304)Jordan Kiley2019-08-051-3/+10
| | | | | | * [ios] document scale bar visibility * [ios] finished trailing sentence
* [ios, macos] Change "map ID" to "tileset ID" (#15116)upstream/15022_memory_consumptionHeather Stenson2019-07-161-3/+3
| | | | | | | | * map id --> tileset id * styles map id -> style url * update changelog
* [ios][macos] Fix center coordinate incorrect after pinch gestureAleksandar Stojiljkovic2019-07-141-8/+4
| | | | | | | | | | | | | | | | | | | | To changelog: Fixed incorrect center coordinate after pinch regression caused by edge insets fix (#14664). While working on #14664, missed to understand the logic used in ``` CLLocationCoordinate2D centerCoordinate = _previousPinchCenterCoordinate; mbgl::EdgeInsets padding { centerPoint.y, centerPoint.x, self.size.height - centerPoint.y, self.size.width - centerPoint.x }; self.mbglMap.jumpTo(mbgl::CameraOptions() .withCenter(MGLLatLngFromLocationCoordinate2D(centerCoordinate)) .withPadding(padding)); ``` Replacing this code by moveBy achieves the required translation. Fixes: #14977, #15082
* [ios] Add MGLCompassButton and MGLOrnamentVisibilityJason Wray2019-07-119-100/+211
|
* [ios] Add removeStyleImage to MGLMapView (#14769)Fabian Guerra Soto2019-07-025-0/+29
| | | | | | | | * [ios] Add shoulRremoveStyleImage to MGLMapViewDelegate. * [ios] Changelog update. * [ios, macos] Update shouldRemoveStyle method documentation.
* [ios] Remove previously deprecated unavailable methods and propertiesJason Wray2019-06-261-18/+0
|
* [ios, macos] Deprecate methods in favor of new completion handler versionsJason Wray2019-06-262-34/+27
|
* [ios, macos] Added completion handlers to animated MGLMapView methodsMinh Nguyễn2019-06-212-89/+274
|
* [ios] Require two fingers for duration of tilt gestureJason Wray2019-06-201-0/+6
|
* [ios] Integrate Mapbox Mobile Events 0.9.4 (#14868)Alf Watt2019-06-061-1/+1
| | | | | | | | | | * [ios] Mapbox Events 0.9.4 * Run `scripts/generate-file-lists.js` * Explicitly use the shared manager instead of init * There can be only one `Scripts`
* [ios] Update libmbxaccounts for navigation SDK override (#14802)Jason Wray2019-06-051-1/+1
| | | | | * Use a stringy selector... yerg. * Bump to libmbxaccounts 1.0.0
* [ios] Add integtation test that verifies MGLMapViewImpl sizeAlexander Shalamov2019-06-052-0/+9
|
* [ios] Calculate size of a MGLMapViewOpenGLImpl renderable from MGLMapView boundsAlexander Shalamov2019-06-054-4/+23
| | | | Fixes: #14807
* [ios] Fix undeclared selector warning in MGLAnnotationViewJason Wray2019-06-031-0/+1
| | | | `setCoordinate:` isn't available to regular MGLAnnotation, only MGLPointAnnotation.
* [ios] Fix content insets with custom edge padding. (#14813)Fabian Guerra Soto2019-06-032-2/+5
| | | | | | | | | | | | * [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] Content insets border case fix and comment.Aleksandar Stojiljkovic2019-06-031-2/+5
| | | | | | | | Allows changing camera when user duplicates content insets. Related to previous patch and comment: https://github.com/mapbox/mapbox-gl-native/pull/14664#pullrequestreview-243004376 Thanks @1ec5
* [ios,macos] refactor MGLMapViewImplKonstantin Käfer2019-05-297-358/+591
|
* Asymmetric viewport changelog entryAleksandar Stojiljkovic2019-05-281-9/+9
| | | | Check edge insets difference, in addition to isEqualToMapCamera in all the places in MGLMapView before map.easeTo/map.flyTo.
* [core] Offset viewport center when edge insets are specifiedAleksandar Stojiljkovic2019-05-281-14/+5
| | | | | | | | | | | | | | | | | | | | | The change is implemented in TransformState::getProjMatrix, the rest of the code is making sure that existing API contracts stay and there are tests verifyingrendering and render query processing only items within screen and given tolerance around screen edges. MapView: don't bake edge insets into relalculated camera center. Keep edge insets as property of camera in TransformState (similar to pitch, zoom, bearing) independent from specified camera center. Interpolate edge insets in animation. iOS Demo app: "Turn On/Off Content Insets" pitch the camera and navigate to convenient location in Denver, where streets are parallel to cardinal directions, to illustrate viewport center offset when edge insets are set. Tests: ViewFrustumCulling: although Annotations are deprecated, queryRenderedFeatures related tests in Annotations would need to get ported and decided to add the edge insets related query tests next to them. Verify frustum culling (render+queryRenderedFeatures) With different camera and edge insets setups. TODO: port Annotations tests. Transform.Padding: Verify that coordinates take proper place on screen after applying edge insets. LocalGlyphRasterizer: verify text rendering when applying padding. Related to #11882: both use projection matrix elements [8] and [9]. Alternative approach to this was to increase and offset map origin so that the screen would be a sub-rectangle in larger map viewport. This approach has a drawback of unecessary processing the items that are outside screen area. Fixes #12107, #12728, navigation-sdks/issues/120
* [ios] Enable SKU tokens for all requestsJason Wray2019-05-201-3/+1
| | | Removes conditional code that relied on a plist flag. Other small cleanups.
* [ios] Update to libmbxaccounts 0.0.5 (#14683)Jason Wray2019-05-161-1/+1
|
* [ios, macos] clarified documentation for newCamera param of the ↵Sam Fader2019-05-151-2/+2
| | | | | | | | shouldChangeFromCamera delegate (#14680) * [ios, macos] clarified documentation for newCamera in shouldChangeFromCamera * [ios, macos] clarified documentation for newCamera param of the shouldChangeFromCamera delegate part 2
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-8/+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] Remove obsolete telemetry gesture eventsJason Wray2019-05-091-40/+0
|
* [ios] Interpret negative direction as unchanged when setting visible ↵Minh Nguyễn2019-05-032-4/+5
| | | | | | | | coordinates (#14575) * [ios] Fixed negative direction when setting visible coordinates * [ios] Document behavior of negative direction
* [ios] Static analysis fix tweaks - part 2 (#14572)Julian Rex2019-05-022-11/+11
|
* [ios, macos] Fixes for static analyzer warnings (#14453)Julian Rex2019-04-303-6/+6
|
* [ios] Check for valid superview to avoid crash on iOS 9 (#14529)Julian Rex2019-04-301-1/+4
|
* [ios] Enable/Disable sku token handling (#14467)Julian Rex2019-04-241-1/+4
|
* [ios] Add SKU tokens to all Mapbox requests (#14421)Jason Wray2019-04-171-0/+3
|
* [ios] Consider anchored UIView callouts when deciding whether to enable ↵Julian Rex2019-04-171-11/+28
| | | | presentsWithTransaction (#14445)
* [ios] Ensure glFinish is called when going into the background, and block ↵Julian Rex2019-04-161-8/+72
| | | | rendering in the background (#14439)
* [ios, macos] Premultiply color values for mgl_colorNadia Barbosa2019-04-121-2/+16
| | | | Fixes https://github.com/mapbox/mapbox-gl-native/issues/14329
* [ios] run glFlush when reducing memory and don't reduce memory while in ↵Konstantin Käfer2019-04-111-1/+4
| | | | background (#14383)