summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.mm
Commit message (Collapse)AuthorAgeFilesLines
* [ios] run glFlush when reducing memory and don't reduce memory while in ↵upstream/ios-backgroundKonstantin Käfer2019-04-101-1/+4
| | | | background
* [core] remove Renderer::flushKonstantin Käfer2019-04-051-2/+0
|
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-051-5/+6
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-051-10/+31
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-051-1/+0
|
* [ios] Add iOS bindings and example for missing icons event. (#14302)Jordan Kiley2019-04-031-0/+14
| | | | | | Added a new mapView delegate method that allows reload a style icon in case it couldn't load it from the style. Added an iosapp test example.
* [ios] Enable/disable presentsWithTransaction to address #14232 (#14307)Julian Rex2019-04-031-12/+140
|
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-281-1/+2
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-281-1/+2
|
* [core] Add getter for Map optionsSudarsana Babu Nagineni2019-03-281-1/+1
| | | | | Instead of having individual getter for each Map option, add a common getter for all Map options.
* [ios, core] Updates project for iOS SDK 12.2 / Always use vendored optional ↵Julian Rex2019-03-271-4/+9
| | | | (#14241)
* [core] Fix signature of fluent interface settersBruno de Oliveira Abinader2019-03-231-9/+9
|
* [ios] Nitpicky style edits of recent changesJason Wray2019-03-211-2/+4
|
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-201-7/+11
|
* [darwin] [MGLOfflineStorage mbglFileSource] is now a shared_ptrBruno de Oliveira Abinader2019-03-201-1/+1
|
* [core] Group Map LatLngBounds, min and max zoom methodsAnder Conselvan de Oliveira2019-03-141-8/+8
| | | | | | | | Group bounds, minimum and maximum zoom related methods together using the new BoundOptions. v2: Document that getBounds() initializes all optional fields. - Add test for getBounds() on a map with default values.
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-1/+1
|
* [core] Don't use exceptions in MapObserver::onDidFailLoadingMapAnder Conselvan de Oliveira2019-03-131-16/+18
| | | | | | | Using different exception pointers to specify the loading failure makes an awkward API. Most users rethrow the exception only to figure out what type of error happened so it can be reported properly. So replace the exception pointer with a enum an string description of the failure.
* [darwin] Fix MGLMapView.direction wrappingJason Wray2019-03-121-1/+1
| | | Re-adds the 0-to-360° wrapping for MGLMapView.direction. Without this wrapping, we’d get ±180° from core, which results in invalid CLLocationDirection for the negative half of the rotational spectrum.
* [iOS] Enable developers to change position of ornaments (#13911)Lloyd Sheng2019-03-111-210/+137
| | | | | | | * APIs for change position of ornaments * Use anchors APIs and emove iOS8 layout code * Add ornaments layout tests
* [core] Add MapOptions to define properties of MapSudarsana Babu Nagineni2019-03-081-2/+9
| | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map.
* Add option to prefetch low-resolution tiles (#14031)m-stephen2019-03-061-0/+8
| | | * Add option to prefetch low-resolution tiles
* [core] Remove map coordinate setters/gettersBruno de Oliveira Abinader2019-03-041-4/+6
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-11/+11
|
* [core] Remove map bearing setters/gettersBruno de Oliveira Abinader2019-03-041-11/+19
|
* [core] Remove map pitch setters/gettersBruno de Oliveira Abinader2019-03-041-3/+6
|
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-14/+17
|
* [ios] CADisplayLink method now takes a parameter as required. (#14018)Julian Rex2019-03-011-3/+7
|
* [ios, macos] Expose MGLMapView OpenGL context to OpenGL style layersMinh Nguyễn2019-02-251-1/+1
| | | | Added a property to MGLOpenGLStyleLayer that contains the map view’s underlying OpenGL rendering context.
* [ios] Check supported interface orientations when rotating device/view ↵Julian Rex2019-02-111-1/+100
| | | | layout (#13900)
* [ios] Improve tilt gesture performance (#13902)Felix Wehnert2019-02-111-4/+5
|
* [ios] Reverts "Enable customize positions of mapview ornaments (#13556)" ↵Julian Rex2019-02-051-137/+210
| | | | | (#13870) This reverts commit e22d28c285c1543ebbf75d205f0129e74b0fbb8a.
* [ios] Fix the user location not getting displayed when setting tracking mode ↵Fabian Guerra Soto2019-02-011-6/+0
| | | | | | to followWithCourse and followWithHeading (#13849) Removed legacy code that was causing the mapView to ignore setting the user location to tracking modes follingWithCourse and followWithHeading.
* [ios] Enable customize positions of mapview ornaments (#13556)Lloyd Sheng2019-01-301-210/+137
| | | | | | | | | * APIs for customize positions of ornaments * Adopt anchors layout * Remove iOS8 layout code
* [ios] Fix links in documentationNadia Barbosa2019-01-231-1/+1
| | | | | | [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] 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
|