Thiago Marcos P. Santos
f880baaeb7
[windows][qt] Remove std:: namespace of some functions
...
Not available on Windows.
2018-01-08 22:58:20 +02:00
Bruno de Oliveira Abinader
af183f3952
[ios] Ignore Boost's 'implicit conversion loses integer precision' warning
2018-01-08 22:58:20 +02:00
Thiago Marcos P. Santos
6a6b451ac0
[core] Bump Boost version to 1.65.1
...
Fixes a build error when building for Windows with clang.
2018-01-08 22:58:20 +02:00
Thiago Marcos P. Santos
39decb822d
[qt] Removed unused headers
2018-01-08 22:58:20 +02:00
Thiago Marcos P. Santos
417909e93d
[qt] Use add_definitions instead of resetting CXXFLAGS
2018-01-08 22:58:20 +02:00
Ansis Brammanis
feab36a9fb
[core] port minor collision changes from -js ( #10764 )
2018-01-08 12:57:03 -05:00
Bruno de Oliveira Abinader
f86c1b7d0f
[test] Only use our SQLite3 wrapper in tests
2018-01-08 19:13:47 +02:00
Pablo Guardiola
7f2f40fb8d
[android] fix sending more than once double tap event on a single double tap gesture ( #10854 ) ( #10855 )
2018-01-08 12:12:46 +01:00
Pablo Guardiola
cc25d6911b
[android] fix sending more than once double tap event on a single double tap gesture ( #10854 )
2018-01-08 10:32:57 +01:00
Minh Nguyễn
dcd7019e7d
[ios, macos] Updated changelogs
2018-01-05 18:57:06 +00:00
Minh Nguyễn
4731e0c7f1
[ios, macos] Updated changelogs
2018-01-05 18:54:27 +00:00
Asheem Mamoowala
10a44050f4
Support TileJSON bounds property ( #10701 )
...
* [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.
2018-01-05 06:35:31 -08:00
Tobrun
bfa4cea24c
[android] - detect genymotion virtual machines when determening attributes for eglConfig
2018-01-05 14:54:07 +01:00
Osana Babayan
ad28542e77
added parameter validation LatLngBounds.from() ( #10831 )
...
closes #10730
2018-01-05 12:09:29 +01:00
Tobrun
5f8b61351f
[android] - RTL support
2018-01-05 11:16:44 +01:00
Ansis Brammanis
aa158bb20c
[core] fix #10833 loading overscaled tiles
...
This reverts a regression in ed5438fc21
which set `tileZoom = idealZoom` for all types of tiles.
The second change makes it so that panTiles get loaded only if they have
a lower *data zoom* (only if they cover a larger area).
2018-01-05 10:51:38 +02:00
Minh Nguyễn
4f194ab15c
[macos] Fixed macosapp deployment
2018-01-05 06:39:26 +00:00
Fabian Guerra
6fa57b7d48
Merge branch 'release-agua' back to master.
2018-01-04 17:13:55 -06:00
Chris Loer
5bfa20d71d
Fix distant collision perspective ratios ( #10794 ).
...
Analog of GL JS issue #5911 .
Add native ignore for tilejson-bounds.
2018-01-04 14:24:37 -08:00
Fabian Guerra
187b6dc31c
Merge branch 'release-agua' into master
...
# Conflicts:
# circle.yml
# cmake/core-files.cmake
# platform/android/CHANGELOG.md
# platform/android/MapboxGLAndroidSDK/build.gradle
# platform/android/MapboxGLAndroidSDK/gradle.properties
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/CameraChangeDispatcher.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMapOptions.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/text/LocalGlyphRasterizer.java
# platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/utils/BitmapUtils.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml
# platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/DebugModeActivity.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/LocalGlyphActivity.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/userlocation/MyLocationTintActivity.java
# platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml
# platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml
# platform/darwin/src/MGLMapSnapshotter.mm
# platform/darwin/src/MGLRendererConfiguration.h
# platform/ios/CHANGELOG.md
# platform/ios/DEVELOPING.md
# platform/ios/INSTALL.md
# platform/ios/README.md
# platform/ios/resources/bg.lproj/Localizable.strings
# platform/ios/resources/es.lproj/Localizable.strings
# platform/ios/resources/vi.lproj/Localizable.strings
# platform/ios/src/MGLMapView.mm
# platform/macos/macos.xcodeproj/project.pbxproj
# src/mbgl/text/glyph_manager.cpp
2018-01-04 12:55:19 -06:00
Jesse Bounds
9c9ad538f8
[ios] Dispatch location auth status check to background
...
This attempts to work around reports of repeated calls to [CLLocationManager authorizationStatus] blocking the main thread by dispatching it to the background, serial queue that is already available in MGLMapboxEvents.
This also adds a guard to the handler for the user defaults change event so that the call to pause or resume if required is done only if a user defaults value changes that would require an update to the pause / resume state.
The guard works by utilizing two new state variables that keep track of the previous values for account type and metrics enabled configuration variables. The call to pause/resume is only done if the latest relevant values in the user defaults dictionary are actually different than the previous ones.
The default values for the new state variables assume an account value of 0 and metrics enabled == true so there can be a small inefficiency if a user prevously opted out of telemetry, kills the app, and restarts it. In that case, the pause/resume method would get invoked one time when it would not technically need to. This should not be an issue in practice though.
2018-01-04 10:38:52 -08:00
tobrun
c62b0af24f
[android] - replace low level json parsing
2018-01-04 14:26:59 +01:00
Tobrun
dadd90e4e9
[all] - update licenses to 2018
2018-01-03 18:41:25 +01:00
Andrew Kitchen
760ef23ac3
[ios, macos] Updates documentation with default CJK font recommendations
...
Also updates the font to use for rendering CJK ideographs in our sample
apps to `PingFang TC`, as simply specifying `PingFang` was always
triggering iOS's font fallback behavior.
[Fixes #10675 ]
2018-01-03 11:37:53 -06:00
Fabian Guerra
cbb9002d4f
[ios, macos] Update mode.hpp file path
2018-01-03 11:37:53 -06:00
Chris Loer
e8abb8c81a
[ios,macos] Revert ideographic->ideograph name change.
...
Original GL JS name was meant to represent "font family to use for locally generating ideographs", but "ideographic font family" communicates a similar intent more concisely.
2018-01-03 11:37:53 -06:00
Chris Loer
b94929ca08
[ios,macos] Update docs to use Apple-friendly "PingFang" font example.
2018-01-03 11:37:53 -06:00
Chris Loer
45e59e4da8
[ios,macos] Remove dead/non-functioning font-weight and glyph metric code.
...
Add local font family to default iosapp configuration.
2018-01-03 11:37:53 -06:00
Andrew Kitchen
3fd2eb2557
[macos, ios] Adds documentation for the MGLIdeographFontFamilyName key
2018-01-03 11:37:53 -06:00
Andrew Kitchen
38bffda85a
[darwin, macos] Rename Info.plist key for consistency
...
Also removes related dead code in macos MGLMapView.mm
2018-01-03 11:37:53 -06:00
Andrew Kitchen
314c51611c
[darwin, ios, macos] Introduces an MGLRendererConfiguration class
...
Instructions for enabling client-side rendering of CJK glyphs live in
this header, and this class provides the rest of the values needed for
instantiating the renderer on iOS and macOS.
2018-01-03 11:37:53 -06:00
Andrew Kitchen
c1705f37fb
[ios, macos] Adds support for specifying an ideographic font family name
...
Adding a MGLIdeographicFontFamilyName to the containing app's Info.plist
will result in CJK glyphs being rasterized on demand (#10522 )
2018-01-03 11:37:53 -06:00
Chris Loer
0dc00ad877
[ios,macos] Darwin implementation of a CoreText-based LocalGlyphRasterizer.
...
- Changing font weight does not currently appear to be working.
- Glyph metric extraction code not working; currently unused.
2018-01-03 11:37:53 -06:00
Benjamin Jaeger
c2809744d2
Support custom LibraryLoader
2018-01-03 18:09:04 +01:00
Bruno de Oliveira Abinader
ed5438fc21
[core] Allow prefetching tiles for all source types
2018-01-03 16:58:54 +02:00
Jason Wray
637892cd6f
[ios, macos] Move private categories into explicitly private headers
...
Instead of creating `MGLAdditions` categories/files for our own classes, this standardizes on the `Private` convention that we had been using elsewhere.
This also fixes build errors where the `MGLAdditions` categories weren't importing their parents.
2018-01-02 19:36:31 -05:00
Konstantin Käfer
1dd5e405c1
[build] Remove unused files, and cleanup directories
2018-01-03 01:07:41 +01:00
Andrew Kitchen
54c4b83312
[ios, macos] Updates documentation with default CJK font recommendations
...
Also updates the font to use for rendering CJK ideographs in our sample
apps to `PingFang TC`, as simply specifying `PingFang` was always
triggering iOS's font fallback behavior.
[Fixes #10675 ]
2018-01-02 18:46:40 -05:00
Konstantin Käfer
498dbf27b9
[core] don't tie Annotation geometries to Map maxzoom
...
Instead, geometry generation via GeoJSONVT is now bound to the hardcoded limit of the annotation tile source.
2018-01-02 20:17:15 +01:00
Konstantin Käfer
ac32b41493
[core] don't tie Annotation geometries to Map maxzoom
...
Instead, geometry generation via GeoJSONVT is now bound to the hardcoded limit of the annotation tile source.
2018-01-02 19:41:07 +01:00
Osana Babayan
814c87fbab
add max & min latitude and longitude constants to maps sdk
...
add max & min latitude and longitude constants to maps sdk that are independent of Mercator projection
closes #10780
2018-01-02 12:43:27 -05:00
tobrun
6ce38ccc6f
[android] - add orientation change regression test
2018-01-02 17:14:11 +01:00
tobrun
65203dca77
[android] - refactor surface destruction NPE fix
2018-01-02 12:31:44 +01:00
hashfunction
580605e132
[android] Fixes #10563 NPE addAnnotationIcon
2018-01-02 12:31:44 +01:00
tobrun
0f7f4b38af
[android] - use US local when converting between int color and RGBA String.
2018-01-02 12:31:25 +01:00
Jason Wray
4709bf0529
[ios] Update custom install docs for Xcode 9.1
2017-12-22 11:12:18 -08:00
Minh Nguyễn
33faa3811e
[macos] Renamed Mapbox macOS SDK to Mapbox Maps SDK for macOS
2017-12-22 09:12:57 -08:00
Minh Nguyễn
41022dab07
macos-v0.6.0
2017-12-22 08:42:48 -08:00
Fabian Guerra
3feeb7bdf8
[macos] Update changelog entries.
2017-12-22 08:42:48 -08:00
Minh Nguyễn
c1831229ac
[ios, macos] Copyedited changelogs
...
macOS map SDK v0.6.0 has yet to be released.
2017-12-22 08:42:48 -08:00