summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core, node] Hold on to map handle during NodeMap::request.upstream/node-request-gcChris 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.
* method name typo fix (#11245)Langston Smith2018-02-202-2/+2
|
* [android] missing DeleteLocalRef Osana Babayan2018-02-204-21/+33
|
* [android] incorrect latlngBounds in the VisibleRegion with map is rotatedOsana Babayan2018-02-191-5/+6
| | | | | smallest bounding box for 4 points cannot (#11226) be created using LatLngBounds.fromLatLngs() as the order matters in that method and that does not work for rotated map
* [ios, macos] Mark deprecated methods as unavailable (#11205)Jordan Kiley2018-02-1616-278/+36
| | | Fixes #10735
* [android] initialize events when creating mapbox instance (#11211)Pablo Guardiola2018-02-162-1/+7
|
* [ios, macos] Remove the duplicated entries in changelogs.upstream/fabian-master-release-bobaFabian Guerra2018-02-162-3/+1
|
* [android] Reverted master changes that doesn't apply to boba.Fabian Guerra2018-02-163-4/+3
|
* [ios, macos] Added missing filesFabian Guerra2018-02-151-8/+8
|
* Merge branch 'master' into release-bobaFabian Guerra2018-02-15191-781/+6332
|\ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/Mapbox.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/CompassView.java # platform/android/scripts/exclude-activity-gen.json # platform/ios/CHANGELOG.md # platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec # platform/ios/Mapbox-iOS-SDK-symbols.podspec # platform/ios/Mapbox-iOS-SDK.podspec # platform/macos/CHANGELOG.md
| * [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-1590-60/+4569
| | | | | | | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
| * [core] fix opacity of duplicate labels with -allow-overlap: trueAnsis Brammanis2018-02-151-3/+8
| |
| * [core] add support for mapzen terrarium (#11154)Molly Lloyd2018-02-1414-29/+71
| | | | | | | | | | | | | | | | | | | | | | | | * add support for mapzen terrarium * Encoding --> DEMEncoding, avoid if statement when unpacking elevation values * add Terrarium test * update submodule * remove redundant checks
| * [core] add maxzoom uniform for raster-dem tilesets (#11134)Molly Lloyd2018-02-147-7/+21
| | | | | | | | | | | | | | | | | | | | * add maxzoom uniform to support external tilesets * update git sha for gl-js * try and fix android crash * name default maxzoom constant
| * [ios] Release cached tiles on entering background.Chris Loer2018-02-141-0/+7
| | | | | | | | | | Retain current render tiles for fast restart. Waiting for a memory warning doesn't work because we can't make GL release calls once we're in the background.
| * [core] Rename "onLowMemory" to "reduceMemoryUse".Chris Loer2018-02-1425-36/+36
| | | | | | | | | | Android still calls "reduceMemoryUse" only while handling a low memory event. iOS, on the other hand, calls "reduceMemoryUse" every time it enters the background.
| * [core] fix onLowMemory to release GL buffersChris Loer2018-02-141-1/+1
| | | | | | | | Context cleanup must be called _after_ render sources release tiles.
| * Merge branch 'fabian-merge-3.7.4-master'Fabian Guerra2018-02-1422-278/+628
| |\
| | * [ios] Remove unused reference to reachabilityupstream/fabian-merge-3.7.4-masterJesse Bounds2018-02-131-10/+0
| | | | | | | | | | | | This removes a reference to reachability that has been used and incorrect since the file does not exist at the referenced location.
| | * [android] Add Timber library import.Fabian Guerra2018-02-131-0/+2
| | |
| | * Merge tag 'ios-v3.7.4' into masterFabian Guerra2018-02-1322-280/+638
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # include/mbgl/style/conversion/tileset.hpp # include/mbgl/util/tileset.hpp # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/ios/CHANGELOG.md # platform/ios/ios.xcodeproj/project.pbxproj # platform/macos/CHANGELOG.md # src/mbgl/layout/symbol_projection.cpp # src/mbgl/renderer/tile_pyramid.cpp # src/mbgl/style/conversion/tileset.cpp
| | | * [ios] Bump podspec to 3.7.4 (#11179)ios-v3.7.4Fabian Guerra Soto2018-02-125-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | * [ios] Bump podspec to 3.7.4 * [ios, macos] Update changelogs.
| | | * [ios, macos] Fix memory leaks in MGLMapSnapshotter. (#11133)Fabian Guerra Soto2018-02-122-165/+177
| | | |
| | | * [ios] Adds camera change delegate methods with reason parameter. (#11151)Julian Rex2018-02-127-73/+325
| | | | | | | | | | | | | | | | Added missing notification handler for UIApplicationWillResignActiveNotification.
| | | * Cherry pick #11176 for Agua patchAsheem Mamoowala2018-02-122-1/+11
| | | |
| | | * [android] - update SNAPSHOT version to v5.4.2Tobrun2018-02-121-1/+1
| | | |
| | | * [android] - update changelog for 5.4.1Tobrun2018-02-121-0/+7
| | | |
| | | * [android] - don't invoke onLowMemory on map when the map isn't fully created yetTobrun2018-02-121-1/+3
| | | |
| | | * [android] - don't recreate surface as part of view resizeandroid-v5.4.1tobrun2018-02-091-8/+6
| | | |
| | | * [android] - add optional location provider lost to proguard configurationtobrun2018-02-091-1/+4
| | | |
| | | * [ios, macos] Added option to restrict tile source to boundsMinh Nguyễn2018-02-088-1/+55
| | | | | | | | | | | | | | | | Cherry-picked from c3bf7c55a1f648e57c3853d555ff5f63c989f8c4.
| | | * Reset tileset-based render sources when any tileset properties changed. (#11042)Asheem Mamoowala2018-02-084-16/+18
| | | |
| | | * Support TileJSON bounds property (#10701)Asheem Mamoowala2018-02-0818-17/+436
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Parse TileJSON bounds property * [core] Add TileRange and LatLngBounds::contains(CanonicalTileID) Move LatLngBounds::contains impl to cpp file * [core] Skip tile creation outside of tileset bounds * [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.