Commit Graph

12089 Commits

Author SHA1 Message Date
tobrun
0eb62576ce [android] - introduce mapview weak reference in global layout listener 2018-02-12 11:14:58 +01:00
tobrun
89dab8a01e [android] - add optional location provider lost to proguard configuration 2018-02-12 11:14:58 +01:00
tobrun
ff8d1e4b50 [android] - programmatically create GlSurfaceView 2018-02-12 11:14:58 +01:00
tobrun
f581adde16 [android] - don't recreate surface as part of view resize 2018-02-12 11:14:58 +01:00
Pablo Guardiola
6afff00ed4 [android] remove unnecessary @jar and @aar dependencies suffixes (#11161)
* [android] remove unnecessary @jar and @aar dependencies suffixes

* [android] remove lint baseline file from mapbox gl android sdk module and fix lint errors
2018-02-09 16:46:41 +01:00
Osana Babayan
7a0a4c44f4 migrated to use mapbox-java3.0
migrated to use mapbox-java3.0 
old 2.2.9 telementry is still used though
2018-02-08 10:33:12 -05:00
Chris Loer
62ae0738e8 [core] Don't crash on line labels with 0 glyphs.
Fixes issue #10956.
2018-02-07 11:28:10 -08:00
Konstantin Käfer
9cb4ffd248 [core] prioritize Thread::pause() calls 2018-02-07 18:21:58 +01:00
Konstantin Käfer
1eb628327d [core] change RunLoop processing to check queue on every iteration 2018-02-07 18:21:58 +01:00
Konstantin Käfer
9b961fb6f9 [core] factor out RunLoop::wake() 2018-02-07 18:21:58 +01:00
Konstantin Käfer
97005ccdfa [core] use the RunLoop's schedule call directly
RunLoop already has a queue, and has the ability to schedule weak mailboxes, so we can remove the duplicate code.
2018-02-07 18:21:58 +01:00
Minh Nguyễn
e6d6a231e8 [ios, macos] Added Danish localization 2018-02-07 02:34:29 -08:00
Minh Nguyễn
6e7b839fe0 [macos] Updated Hungarian translations 2018-02-07 02:34:29 -08:00
Minh Nguyễn
bffc834ff1 [ios] Updated Swedish translations 2018-02-07 02:34:29 -08:00
Minh Nguyễn
6757456e16 [android, ios, macos] Updated Russian translations 2018-02-07 02:34:29 -08:00
Minh Nguyễn
1d48a7d2ff [ios] Removed byte order mark 2018-02-07 02:34:29 -08:00
Tobrun
afdb291653 [android] - blacklist flaky instrumentation tests 2018-02-05 12:19:41 +01:00
Tobrun
c9ef84316a [android] - update changelog for 5.4.0 2018-02-05 12:19:41 +01:00
Martin Hellwig
cdf65020c1 Implement new bearingTrackingMode GPS_NORTH_FACING 2018-02-05 12:19:41 +01:00
Łukasz Paczos
3714aa94e7 [android] - log lack of permissions only if enabling location 2018-02-05 12:19:41 +01:00
Tobrun
954c20b8c1 [android] - blacklist adreno 2xx for VAO support 2018-02-05 12:19:41 +01:00
Tobrun
2d6fcd3178 [android] - update javadoc with links to style specification 2018-02-05 10:50:22 +01:00
Minh Nguyễn
02e6265c83 [ios] Made NSExpression+MGLAdditions.h public 2018-01-29 21:34:41 -08:00
Tobrun
828847101b [android] - release android v6.0.0-beta.1 2018-01-29 11:36:04 +01:00
Tobrun
ff891054a2 [android] - update changelog for v6.0.0-beta.1 2018-01-29 11:36:04 +01:00
Konstantin Käfer
ce429dcc1f [core] don't force downloading of Open Sans fonts
When a SymbolLayer doesn't have a text-font defined, we automatically add Open Sans/Arial Unicode MS. However, when the SymbolLayer is only used for rendering icons, it doesn't have text-field defined either. In those cases, we still force downloading Open Sans/Arial Unicode MS during offline pack creation. If the user doesn't use this font, this change should save ~15MB and a few seconds in download time.
2018-01-26 14:36:51 -08:00
Fabian Guerra Soto
306898d77b [ios] Update changelog and bump pod spec to 4.0.0-beta.1 (#11069)
* [ios] Update changelog and bump pod spec to 4.0.0-beta.1

* [ios, macos] Reorganized changelog entries

* [ios] Add missing changelog entries.

* [ios, macos] Rolled up core changes into changelogs
2018-01-26 15:56:03 -05:00
Minh Nguyễn
045392938b [ios] Fixed syntax error in style author guide 2018-01-26 10:42:23 -08:00
Minh Nguyễn
65bab30384 [ios, macos] Documented ranges of style properties 2018-01-26 10:42:23 -08:00
Tobrun
b38618b450 [windows] - run AppVeyor for all branches 2018-01-26 10:08:23 -08:00
Fabian Guerra
91521fa106 [ios] Fix image property of MGLAnnotationImage does not update. 2018-01-26 10:20:30 -05:00
Fabian Guerra
da7759a273 Merge branch 'release-agua' into master
# Conflicts:
#	include/mbgl/style/conversion/layer.hpp
#	platform/android/MapboxGLAndroidSDK/build.gradle
#	platform/android/MapboxGLAndroidSDK/gradle.properties
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Transform.java
#	platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/offline/OfflineRegion.java
2018-01-25 14:39:18 -05:00
Minh Nguyễn
b6747a84f4 [ios, macos] Hook up hillshade style layers, raster DEM sources to iOS/macOS (#11036)
* [ios, macos] Finished implementing MGLHillshadeStyleLayer

* [macos] Added icon for hillshade layer

Also set the background layer icon to mirror in right-to-left locales.

* [ios, macos] Implemented raster DEM source

* [macos] Added Enhance Terrain debugging command

* [ios, macos] Simplified raster DEM source example
2018-01-25 10:46:27 -08:00
Fabian Guerra
0ebc2ee91f [ios, macos] Fix MGLMapSnapshotter pointForCoordinate returns an scaled point. 2018-01-25 10:06:54 -05:00
Tobrun
a4546a84de [android] - add binding integration for RasterDEMSource, add example 2018-01-25 12:54:10 +01:00
Tobrun
0d453a688b [android] - correct marker location when using Snapshot#pixelForLatLng 2018-01-25 11:07:48 +01:00
Tobrun
5dbc20dc75 [android] - add toString to Expression to print out object array notation 2018-01-25 10:21:14 +01:00
Minh Nguyễn
37e47e2f10 [ios, macos] Raster style layers are used with image sources too 2018-01-24 17:46:34 -08:00
Konstantin Käfer
fcc3808c83 [core] align raster imagery rendering to pixel rid to avoid blurriness 2018-01-24 17:02:18 -08:00
Konstantin Käfer
d511f74ce4 [node] add setLight support 2018-01-24 16:35:47 -08:00
Konstantin Käfer
2502a3ab2b [core] update mapbox-gl-js submodule pin
* disables transition render test (transitions are not supported with Still image rendering in Node.js)
* removes support for hillshade-illumniation-direction-transition
2018-01-24 15:41:22 -08:00
Tobrun
7159a14b35 [android] - add SafeVarargs to Expression methods 2018-01-24 21:53:03 +01:00
Minh Nguyễn
703c73fda8 [ios, macos] Removed heatmap layer suppression from Darwin code generator 2018-01-24 10:21:01 -08:00
Konstantin Käfer
25b85e43bd [build] Add build that verifies that the code generator was run 2018-01-24 08:35:31 -08:00
Konstantin Käfer
7ffde741b7 [build] Add build that verifies the submodule pin is up-to-date 2018-01-24 08:35:31 -08:00
Konstantin Käfer
ecfb77c637 [build] Write out a list of files generated by our code generator scripts
This will help us tracking deleted/modified/added files
2018-01-24 08:35:31 -08:00
Konstantin Käfer
e7e6cffcf3 [build] convert CMake file list generation code to JavaScript
Bash sorting is weird...
2018-01-24 08:35:31 -08:00
Konstantin Käfer
13d27c700e [build] Always use style-code's writeIfModified to unify file updates 2018-01-24 08:35:31 -08:00
Konstantin Käfer
9d1fa508a3 [build] Add temporary modifications to style spec + shaders
This ensures that the generated code matches what is checked in. Remove those temporary modifications once we add the features to master.
2018-01-24 08:35:31 -08:00
Tobrun
1a2c316f95 [android] - create Handler using the main thread looper 2018-01-24 15:46:19 +01:00