Konstantin Käfer
f4cb3b8a4f
[core] make forcing cache/network only more explicit
...
Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving).
This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme.
2017-10-12 10:41:49 +02:00
Jason Wray
5cefa51511
[ios] Rename SMCalloutView and stop using submodule
2017-10-11 12:21:27 -07:00
Jason Wray
b7879d5a37
[ios] Update MGLUserLocation.heading for showsUserHeadingIndicator
2017-10-11 10:06:30 -07:00
Antonio Zugaldia
6d673799f8
[android] Revert native loading behavior ( #10180 )
2017-10-11 09:06:58 -04:00
Jason Wray
50ee8daca1
[ios, build] Don't include docs for auto-installed jazzy
2017-10-10 11:45:12 -07:00
Jason Wray
16aa29f475
[ios, build] Remove unnecessary apt-get in Bitrise workflows
2017-10-10 11:28:24 -07:00
Jason Wray
20df5f3844
[ios, build] Use github-release to check if release has been published
2017-10-10 11:28:24 -07:00
Jason Wray
25be86281d
[ios, build] Add tag-based Bitrise iOS deployment workflow
2017-10-10 11:28:24 -07:00
Tobrun Van Nuland
ff03a75da4
[android] - hold off handling hover events untill map has been created
2017-10-10 15:28:33 +02:00
Asheem Mamoowala
98a47884f0
[ios, macos] Use CLLocationDirection for direction parameter in -[MGLMapView cameraThatFitsShape:shape direction: edgePadding:]
2017-10-09 17:12:27 -07:00
Asheem Mamoowala
24bd336b88
[android][ios][macOS] Implement bindings for Map::cameraForGeometry. On macOS, also added -[MGLMapView setCamera: withDuration: animationTimingFunction: edgePadding: completionHandler:] for parity with iOS
2017-10-09 13:58:11 -07:00
Asheem Mamoowala
df20b0cbec
[core] Add cameraForLatLngs() method with modified bearing
2017-10-09 13:58:11 -07:00
Asheem Mamoowala
9e79659007
[android][ios][macOS] Implement bindings for Map::cameraForGeometry. On macOS, also added -[MGLMapView setCamera: withDuration: animationTimingFunction: edgePadding: completionHandler:] for parity with iOS
2017-10-09 11:42:37 -07:00
Asheem Mamoowala
2366487275
[core] Add cameraForLatLngs() method with modified bearing
2017-10-09 11:42:37 -07:00
Bruno de Oliveira Abinader
6cf153a6de
[node] Release v3.5.7 ( #10164 )
2017-10-09 19:43:57 +03:00
Tobrun Van Nuland
9048d6cfd0
[android] - fine tune gesture zoom & rotation
2017-10-09 16:51:17 +02:00
Antonio Zugaldia
a1aed6f095
Provide a fallback method to load the native library ( #10154 )
...
* provide a fallback method to load the native library
* move context call inside loader to avoid changing method signature
2017-10-09 10:07:09 -04:00
Pablo Guardiola
503a96c6b1
[android] release v5.2.0-beta.1 ( #10144 )
2017-10-09 13:57:50 +02:00
Bruno de Oliveira Abinader
c9e9cd2aff
[test] Added GlyphManager.ImmediateFileSource
2017-10-09 13:33:30 +03:00
Bruno de Oliveira Abinader
b1239464c1
[core] Update glyph requestors _before_ requesting from file source
2017-10-09 13:33:30 +03:00
Rinigus
1cf8ef0437
[qt] use const for setting ResourceTransform
2017-10-09 13:22:58 +03:00
Rinigus
965bfcfaac
[qt] add ResourceTransform API
2017-10-09 13:22:58 +03:00
Jordan Kiley
a5a495a900
[ios, macos] Added layer to the code snippet ( #10149 )
2017-10-06 11:40:22 -07:00
Vladimir Agafonkin
6e7781862e
Add ignores for heatmap render tests ( #10147 )
2017-10-06 19:49:17 +03:00
Tobrun Van Nuland
94312acd8b
[android] - allow multiple listeners for camera events, deprecate old api
2017-10-06 15:43:51 +02:00
Tobrun Van Nuland
2a9752d11c
[android] - build nightly builds from release-agua
2017-10-06 15:07:52 +02:00
Fabian Guerra Soto
5e08ce062e
[ios] Update changelog and bump pod spec. ( #10122 )
2017-10-04 17:35:06 -04:00
Fredrik Karlsson
4bb25e8bc1
[macos] Scale down snapshot images ( #10105 )
2017-10-04 14:15:30 -04:00
Fabian Guerra Soto
f01588cac7
[ios, macos] Improve snap shotter documentation. ( #10020 )
...
* [ios, macos] Improve snap shotter documentation.
* [macos] Save snapshots in correct format
* [macos] Renamed snapshot item to Export Image
* [ios, macos] Clarify Snapshotter documentation.
* [ios] Fix snapshot scale
* [macOS] Fix snapshotter 4x scaling.
* [ios] Fix snapshotter final image scale.
* [ios, macos] Update snapshotter size documentation.
* [ios, macos] Throw an exception when the snapshotter has already started.
* [ios, macos] Add snapshotter header example.
* [ios, macos] Use one of the predefined Foundation's exception names.
2017-10-04 10:03:03 -04:00
Tobrun Van Nuland
6a846ce5a8
[android] - update symbol layer example with changing symbol location
2017-10-04 15:20:46 +02:00
Fredrik Karlsson
42b4818f16
[ios] check at compile time
2017-10-03 13:28:22 +02:00
Minh Nguyễn
d4992ab0b0
[ios] Title case based on current orthography
2017-10-03 13:28:22 +02:00
Jesse Bounds
c07e779bac
[ios] Work around Swift -> ObjC dictionary bridge issues
2017-10-03 13:28:22 +02:00
Fredrik Karlsson
1d714e1f35
[ios] Various Xcode 9 fixes
2017-10-03 13:28:22 +02:00
Jason Wray
076af14b90
[ios] Undocument deprecated style class methods
2017-10-02 12:38:25 -07:00
Jason Wray
1326a21ddd
[ios] Expose -showAttribution: publicly as an IBAction
2017-10-02 12:38:00 -07:00
Minh Nguyễn
3d2e4e5b5a
[ios] Updated Traditional Chinese localization
2017-09-29 14:16:49 -07:00
Bruno de Oliveira Abinader
ae3eead2b6
[build] Use the 'arch' cache template key
2017-09-29 14:55:59 -04:00
Bobby Sudekum
b296f54769
Release node v3.5.6 ( #9610 )
2017-09-29 10:35:37 -07:00
Jason Wray
201b7d4811
[ios] Don't disable user tracking when selecting an annotation
2017-09-29 12:14:05 -04:00
Tobrun Van Nuland
cef386ca47
[android] - make OfflineTilePyramidRegionDefinition parceable
2017-09-29 11:22:46 +02:00
Minh Nguyễn
093d9da6ef
[ios] Define user dot constants in implementation file
2017-09-28 19:10:06 -07:00
Asheem Mamoowala
a323b0dcec
[core] Split GeoJSONTileData and related classes into a separate header
2017-09-28 15:47:21 -07:00
Asheem Mamoowala
068ed9496c
[core] Use geojsonvt 6.3.0
2017-09-28 15:47:21 -07:00
Konstantin Käfer
8fae8a1645
[core] Add minzoom to GeoJSONOptions
2017-09-28 15:47:21 -07:00
Konstantin Käfer
64c75b442c
[build] split out DefaultFileSource and dependents to a separate target
...
We don't want to link it into the node bindings, so keep it in a separate target
2017-09-28 13:48:36 -04:00
Pablo Guardiola
d73e33eb62
[android] fix snapshot builds ( #10079 )
2017-09-28 09:34:58 +02:00
Fabian Guerra
6d1fdf2ca3
Merge branch 'release-ios-v3.6.0-android-v5.1.0' into master.
...
# Conflicts:
# circle.yml
# platform/android/CHANGELOG.md
# platform/android/MapboxGLAndroidSDK/gradle.properties
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/AnnotationManager.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
# platform/android/dependencies.gradle
# platform/default/mbgl/storage/offline_database.cpp
# 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/ios/app/Main.storyboard
# platform/ios/src/MGLMapView.mm
# src/mbgl/programs/attributes.hpp
# src/mbgl/renderer/painter_fill.cpp
# src/mbgl/tile/geometry_tile.hpp
# src/mbgl/tile/geometry_tile_worker.cpp
# src/mbgl/tile/raster_tile.cpp
# src/mbgl/tile/raster_tile.hpp
# src/mbgl/tile/raster_tile_worker.cpp
# test/tile/annotation_tile.test.cpp
# test/tile/geojson_tile.test.cpp
# test/tile/raster_tile.test.cpp
# test/tile/vector_tile.test.cpp
2017-09-27 12:08:24 -04:00
Fredrik Karlsson
fafe092822
[ios] remove ios-sim
2017-09-27 13:07:56 +02:00
Tobrun Van Nuland
79c9a7ffe7
[android] - deprecate MarkerView
2017-09-27 12:58:16 +02:00