Commit Graph

12090 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
bb00f558fb [qt] Make MapboxGLMapRenderer a scheduler to receive messages when rendering 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
a062f3e17b [qt] Update map rendering via RendererObserver 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
e7e8cb4547 [qt] Render asynchronously 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
18cf796b52 [qt] Removed unused call 2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
fb65d25831 [core] Make RendererObserver a public interface
Needed by backends implementing asyncronous rendering
2018-02-09 20:28:54 +02:00
Minh Nguyễn
c3bf7c55a1 [ios, macos] Added option to restrict tile source to bounds 2018-02-08 12:03:27 -08:00
Osana Babayan
4498917a3b migrated to use mapbox-java3.0
migrated to use mapbox-java3.0
note that old 2.2.9 telementry is still used though
2018-02-08 08:44:24 -05:00
Minh Nguyễn
2ed069cb0a [ios, macos] Copyedited computed source wrapping options
Renamed MGLShapeSourceOptionWrapCoordinates to MGLShapeSourceOptionWrapsCoordinates and MGLShapeSourceOptionClipCoordinates to MGLShapeSourceOptionClipsCoordinates. Copyedited their documentation comments.
2018-02-07 12:42:21 -08:00
Asheem Mamoowala
6c5e457590 Add options for Custom Geometry Source types to enable clipping and wrapping geometry (#11041) 2018-02-07 12:07:31 -08:00
Molly Lloyd
e03f7a4d1f [core] align raster-dem tiles to pixel grid (#11119)
* align raster-dem tiles to pixel grid

* revert ignored hillshade tests
2018-02-06 10:56:42 -08:00
Konstantin Käfer
26a00f6a31 [core] prioritize Thread::pause() calls 2018-02-06 18:49:06 +01:00
Konstantin Käfer
93c4a23636 [core] change RunLoop processing to check queue on every iteration 2018-02-06 18:49:06 +01:00
Konstantin Käfer
78f8fd88b4 [core] factor out RunLoop::wake() 2018-02-06 18:49:06 +01:00
Konstantin Käfer
3ef7dab1a8 [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-06 18:49:06 +01:00
Chris Loer
d3deb6d71b [core] Don't crash on line labels with 0 glyphs.
Fixes issue #10956.
2018-02-06 09:12:21 -08:00
Chris Loer
f7cae4c3e4 [test] Ignore slightly-different collision circles on native. 2018-02-06 08:46:15 -08:00
Chris Loer
2a05a832b2 [test] Temporarily ignore hillshade tests pending PR #11119. 2018-02-06 08:46:15 -08:00
Chris Loer
14db958ae5 [core] Account for overscaling in debug collision circles.
Fixes issue #11116.
Port of GL JS issue $6041.
2018-02-06 08:46:15 -08:00
Asheem Mamoowala
671dfefc1e Reset tileset-based render sources when any tileset properties changed. (#11042) 2018-02-05 19:31:03 -05:00
Tobrun
90f29a9172 [android] - update changelog for 5.4.0 2018-02-05 11:22:16 +01:00
olheimer
6a7aa6de27 Wrong Typo for BUILDTYPE 2018-02-05 10:51:23 +01:00
Erol Baykal
23b413483d [Android] fix typo in custom layer example 2018-02-05 10:51:23 +01:00
Tobrun
9fbf5f4e74 [android] - blacklist flaky instrumentation tests 2018-02-05 10:51:04 +01:00
Martin Hellwig
528729dbec Implement new bearingTrackingMode GPS_NORTH_FACING 2018-02-05 10:49:57 +01:00
Tobrun
d0309a3137 [android] - don't invoke onLowMemory on map when the map isn't fully created yet 2018-02-05 09:59:24 +01:00
Tobrun
e2a4dffcb6 [android] - blacklist adreno 2xx for VAO support 2018-01-31 12:58:22 +01:00
Łukasz Paczos
7694c9c879 [android] - log lack of permissions only if enabling location 2018-01-31 10:31:05 +01:00
Tobrun
77f93996d5 [windows] - run AppVeyor for all branches 2018-01-29 15:05:26 +01:00
Tobrun
082df681c8 [android] - bump snapshot version on master to 7.0.0-SNAPSHOT 2018-01-26 17:41:45 +01:00
Tobrun
a005fb7375 [android] - update changelog for v6.0.0-beta.1 2018-01-26 17:41:20 +01:00
Konstantin Käfer
191c0124c7 [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-25 17:21:18 -08:00
Konstantin Käfer
c148a7a061 [core] align implementations of local and asset file source 2018-01-25 13:45:47 -08: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