summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [android] - add expression conversion, add gettersupstream/tvn-expressions-continuedTobrun2018-03-0554-13863/+2455
|
* Update mapbox-gl-jsJohn Firebaugh2018-03-011-0/+0
|
* Relax type checking for "length"John Firebaugh2018-03-015-7/+102
|
* Infer type assertions for objectJohn Firebaugh2018-03-011-1/+1
| | | | Cross-ports https://github.com/mapbox/mapbox-gl-js/pull/6243.
* [android] add support for mapzen terrarium raster-dem encoding (#11339)Molly Lloyd2018-03-011-0/+20
|
* [android] rotated map VisibleRegion returns incorrect bounds when going over ↵Osana Babayan2018-03-011-8/+46
| | | | date line
* [android] - don't disable zoom button controller zooming whem zooming ↵Tobrun2018-03-011-4/+3
| | | | gestures are disabled
* [android] - decouple map padding from overlain viewsTobrun2018-03-011-5/+0
|
* [android] - check if hosting Activity isn't finishing before showing an dialogTobrun2018-03-011-1/+12
|
* [android] custom layer example - remove dependencies on mbgl logging and ↵Ivo van Dongen2018-03-011-22/+24
| | | | string headers
* [android] custom layer example - add error checking to debug issues more easilyIvo van Dongen2018-03-011-28/+142
|
* [android] custom layer example - fix fragment shader source for opengl es 2 ↵Ivo van Dongen2018-03-011-1/+1
| | | | phones
* [core] blacklist vao usage on mali t720 (sapphire 650)Ivo van Dongen2018-03-011-2/+9
| | | | Avoids problems on (amongst others) Samsung Galaxy J3
* [core] check opengl error state after custom layer invocationsIvo van Dongen2018-03-011-3/+4
|
* [android] expose ImageSource coordinates setter (#11262)Łukasz Paczos2018-03-013-1/+20
| | | | (cherry picked from commit fcf5fa6)
* [android] - add default heatmap color to getterTobrun2018-03-012-1/+18
|
* [android] - add heatmap color propertyTobrun2018-03-018-6/+95
|
* [android] new gesture library - bumped snaphost versionŁukasz Paczos2018-03-011-1/+1
|
* [test] Native ignore for GL JS issue #6160Chris Loer2018-02-281-0/+1
|
* [test] Native expression test support for:Chris Loer2018-02-282-24/+36
| | | | | - Round-tripping expressions through serialization and checking that outputs don't change - Checking expression serialization against expected value from fixture
* [core] Implement Expression::serialize()Chris Loer2018-02-2830-40/+262
| | | | | | | | Issue #10714 - Each expression stores its operator as a string, and default serialization is [operator, serialize(child1), ...] - Custom implementations of `serialize` for Expression types that don't follow the pattern - expression::Value -> mbgl::Value converter - node_expression bindings to expose `serialize`
* [android] LatLngBounds.union() should take date line into accountOsana Babayan2018-02-283-4/+54
|
* [ios] Restore iosapp's HUD visibility, adjust placementJason Wray2018-02-272-29/+40
|
* [ios] Provide haptic feedback when user rotates to due northJason Wray2018-02-273-0/+35
|
* [ios] Add "clear tile cache on entering background" to changelog.Chris Loer2018-02-271-0/+1
|
* [ios, macos] cherry-pick darwin changes to tileset encoding param onto boba ↵Molly Lloyd2018-02-277-1/+69
| | | | | | | | | | | | | | | | (#11324) * [ios, macos] add tileset encoding option to darwin sources (#11274) * add tileset encoding option to darwin sources * correct style guide * link out to dem encoding docs * markdownify comments * correct changelog
* [android ] - new gestures library (cp #11221) (#11332)Łukasz Paczos2018-02-2717-1597/+980
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [android] new gesture library - added SNAPSHOT dependency * [android] new gesture library - cleaned up redundant classes * [android] new gesture library - limiting scale when rotating * [android] new gesture library - shove gesture filtering * [android] new gesture library - increase rotation threshold when scaling * [android] new gesture library - minimum angular velocity * [android] new gesture library - exposed gestures execution listeners * [android] new gesture library - notifying new listeners tests * [android] new gesture library - removed tracking setting * [android] new gesture library - resetting focal point with every scale/rotate callback * [android] new gesture library - fixed camera change dispatcher callbacks * [android] new gesture library - cancel velocity animations in maps onStop() * [android] new gesture library - extracted telemetry pushes to a method * [android] new gesture library - deprecated onScrollListener * [android] new gesture library - unified shove listener name (cherry picked from commit 7905bd6)
* [android] LatLngBounds: latNorth should be greater or equal than latSouth Osana Babayan2018-02-272-0/+13
|
* [android] LatLngBounds can go over the antimeridian / date line. Osana Babayan2018-02-273-21/+236
|
* [core,node] Pin 'nan' to ~2.8 to avoid Callback::Call deprecation.Chris Loer2018-02-261-1/+1
| | | | Alternative fix to #11288, until we figure out a proper async_hooks implementation.
* [android] - remove generics from expression apiTobrun2018-02-261-421/+416
|
* Fixed DDS polygon example (#11286)Jordan Kiley2018-02-231-1/+1
| | | | | | * [ios] Updated expression * [ios] Removed centering code
* [core, node] Hold on to map handle during NodeMap::request.Chris Loer2018-02-231-0/+4
| | | | | Avoids a potential crash if garbage collection happens in the middle of a call to NodeMap::request from a map that's eligible for GC. Fixes issue #11281
* [core] continue loading style even if we mutate itKonstantin Käfer2018-02-232-10/+16
| | | | When we load a stale style from cache, and the user immediately starts mutating it, we should continue loading the style so that we'll get a fresh copy of the data into our cache and avoid perpetually showing the stale style.
* [core] Don't reuse heatmap render texture on viewport resize.Chris Loer2018-02-221-1/+1
| | | | Fixes issue #11228.
* [android] - fix javadoc utf8 encoding issues, add missing package-info.java ↵Tobrun2018-02-2216-20/+53
| | | | items
* [android] jni clean up - missing a couple DeleteLocalRefosana2018-02-224-3/+11
|
* Correctly parse constant expressions in dds style properties (#11282)Anand Thakker2018-02-212-3/+22
| | | | | | | | * Correctly parse constant expressions in dds style properties Closes #10849 * Clarify
* [ios, macos] Unwrap coordinate boundsMinh Nguyễn2018-02-216-76/+75
| | | | 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] Podspec bump 4.0.0-beta.2 (#11263)ios-v4.0.0-beta.2Julian Rex2018-02-204-3/+6
| | | | | | * [ios] Podspec bump 4.0.0-beta.2 * [ios] Improved change log messaging.
* [core] Support a range of zooms in TileRange. Accounts for TilePyramid ↵Asheem Mamoowala2018-02-203-23/+57
| | | | requesting parent tiles of ideal zoom tiles.
* [ios] Bump podspecs for 3.7.5Jason Wray2018-02-201-1/+1
|
* [ios] Fix loop when first asking for location permission (#11229)Jason Wray2018-02-202-1/+6
|
* [ios] Disable -[MGLExpressionTests testConditionalExpressionObject] on iOS 8Jason Wray2018-02-201-17/+21
| | | | Temporarily disable this test until iOS 8 compatibility is added.
* [ios] Bump testMGLMapSnapshotter timeout to 5sJason Wray2018-02-201-1/+1
| | | | | | | | Timing based tests are inherently flakey and prone to failure on slow CI: > Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone X' (3.375 seconds) > Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone 8' (3.413 seconds) > Test case 'MGLDocumentationExampleTests.testMGLMapSnapshotter()' failed on 'iPhone 7' (2.944 seconds)
* [ios] Fix iOS 8's broken pluralization in MGLCoordinateFormatterTestsJason Wray2018-02-201-3/+18
|
* [ios] Fix type conversion warnings in MGLFeatureTestsJason Wray2018-02-201-10/+17
| | | | Fixes: object of type 'MGLPointAnnotation/MGLPolyline *' is not compatible with array element type 'MGLShape<MGLFeature> *' [-Wobjc-literal-conversion]
* [ios] Fix safeAreaInsets availability warning in MGLMapViewLayoutTestsJason Wray2018-02-201-1/+1
| | | | Fixes: 'safeAreaInsets' is only available on iOS 11.0 or newer [-Wunguarded-availability-new]
* [android] - remove camera api from MapboxMap, refactor test app code to ↵Tobrun2018-02-205-256/+37
| | | | CameraUpdateFactory api
* Replace embedded telem implementation with mapbox-mobile-events library (#10698)Jesse Bounds2018-02-2018-1262/+490
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] Introduce mobile events dependency This adds the mobile events dependency including the events library's namespaced header file so that the related compiled symbols are prefixed to make them specific to the maps SDK. A pre-compiled header file is added so that the namespaced header file is added in all places where it is needed (most importantly every events library file). * [ios] Use new events library for telemetry events This makes the following significant changes: Refactors the MGLMapboxEvents singleton to delegate internally to an instance of MMEEventsManager that it keeps for itself. The MGLMapboxEvents public API is refactored to reflect this. Note: MGLMapboxEvents continues to handle checking for opt out Uses that new events API in MGLMapboxEvents to send all telem events (and turnstile) All embedded certs are removed since the new telem library uses public key info pinning Legacy telemetry utility classes for location and networking are removed since those are implemented in the telem library * [ios] Update submodules initialized by cmake We no longer bring in SMCalloutView as a submodule so it is removed. We now vendor the telemetry events library as a submodule so it is added. * Update mapbox-mobile-events * Update mobile events lib * Set events options with MGL user defaults values For options that historically could be set with user defaults in the Maps SDK, collect them and set the appropriate property values in the new events library. Also, check the existence of two new optional configuration values MGLTelemetryAccessToken and MGLTelemetryBaseURL so that the events endpoint and access token can be configured and the access token can easily be set dynamically and apart from the access token for the maps API. MGLTelemetryBaseURL replaces the legacy MGLTelemetryTestServerURL. This is ok because this value was never intended to be used by client applications. The new name better reflects the fact that the URL can be changed to any backend stack, not just a test server. Because it is possible for the configuration values to be read from user defaults before the events manager is fully set up, this also adds a local cache for the baseURL and accessToken values so that they can be stored and applied once it is time to setup the the events manager. * Update mapbox-mobile-events mapbox-mobile-events was forced pushed to include https://github.com/mapbox/mapbox-events-ios/pull/28 * Rename MGLMapboxEvents singleton access method Manager is not in the name of the class. Just call it an instance. * Update mapbox-mobile-events * Add comments about config value loading * Guard against creating events for IB * Refactor user defaults update handler This updates the handling logic for user defaults to break apart config changes that require a check for pausing or resuming the events lib’s telemetry collection from config changes that can happen with no update to the pause/resume state. It also ports the optimization from https://github.com/mapbox/mapbox-gl-native/pull/10803 so that the call to pause and resume is not performed unless the user defaults store has new values that have not yet been applied to the events library. * Update mapbox-mobile-events * Rename events submodule folder * Fix incorrect events library refs * Update mapbox-mobile-events * Update user user agent id value This value aligns with our schme of {source-sdk-platform} and will be used by the events library in the user agent and vendorid. * Update mapbox-mobile-events Pin to v3.0.0 (d522b18) * Improve code comments * [ios] Fixed a broken file reference to MGLTelemetryConfig.