Commit Graph

5072 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
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
78f8fd88b4 [core] factor out RunLoop::wake() 2018-02-06 18:49:06 +01: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
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
Łukasz Paczos
7694c9c879 [android] - log lack of permissions only if enabling location 2018-01-31 10:31:05 +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
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
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
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
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
Tobrun
4ff9fe762d [android] - rename initRenderSurface to onSurfaceCreated 2018-01-24 15:13:17 +01:00
Minh Nguyễn
fb5b8d34f2 Reimplement style values atop NSExpression (#10726)
* [ios, macos] Import headers, not implementation files

* [core] Added accessors for various expression parameters

Added missing parameter accessors to various expression operator classes, as well as a method on InterpolatorBase and Step that enumerates the stops and their values.

* [ios, macos] Silenced warning in test of error condition

* [ios, macos] Made MGLSphericalPosition boxable

* [ios, macos] Implemented array enumeration during conversion

* [ios, macos] Temporarily ignore heatmap layer type

* [ios, macos] Migrated MGLSymbolStyleLayer.text to NSExpression

MGLSymbolStyleLayer.text is now of type NSExpression instead of MGLStyleValue, as a first step toward migrating the entire layer API from style values to expressions.

Implemented conversions from NSExpression to JSON arrays and vice versa. The most common NSExpression functions are now converted into style expressions, but not all of the most common style expression operators are supported yet.

* [ios, macos] Implemented string coercion

* [ios, macos] Color literals

* [ios, macos] Null constant expressions

* [ios, macos] Convert dictionary literals

* [ios, macos] Interpolation expressions

* [ios, macos] to-boolean, to-number, get from object

* [ios, macos] Variable expressions

Implemented custom expression functions for assigning and referring to variables within the context of an expression. Variables are assigned via a “context dictionary” and applied to an subexpression that is given as another argument to the same expression. Also implemented built-in variable expressions for zoom level and heatmap density.

* [ios, macos] Convert colors, offsets, padding in expressions to JSON objects

* [ios, macos] Expression-based style property getters

Implemented a conversion from mbgl::style::PropertyValues to Objective-C JSON objects, which are then converted to NSExpressions.

* [ios, macos] Consolidated property value–expression conversion in MGLStyleValueTransformer

* [ios, macos] Predicate and expression guide

Extracted documentation about predicates from a documentation comment in MGLVectorStyleLayer.h to a new jazzy guide. Added details about NSExpression support as well. Began updating the “For Style Authors” guide to reflect the transition from style values to expressions.

* [ios, macos] Updated style authoring guide

Updated the Information for Style Authors guide to discuss expressions instead of style functions. Included a table mapping style specification expression operators to NSExpression syntaxes.

* [ios, macos] Migrated codegen templates to expressions

* [ios, macos] Applied expression changes via codegen

Ran make darwin-style-code.

* [macos] Migrated macosapp to expressions

* [ios, macos] Updated style function guide

This guide needs to be thoroughly rewritten, but for now the example code has been migrated to expressions.

* [ios, macos] Eviscerated style function tests

* [ios, macos] Updated changelogs

* [ios] Migrated iosapp to expressions

* [ios, macos] Exposed JSON conversion methods publicly

* [ios, macos] Removed MGLStyleValue, MGLStyleFunction
2018-01-24 00:04:02 -08:00
Tobrun
14f3f86f63 [android] - release android v5.3.2, bump snapshot version 2018-01-23 20:26:53 +01:00
Molly Lloyd
f3294200c6 [core] add raster-dem source type and hillshade layer type (#10642) 2018-01-23 10:49:23 -08:00
Tobrun
80789ab2c8 [android] - rollback fragment flash changes for ViewPager support 2018-01-23 12:09:48 +01:00
Tobrun
938f087e38 [android] - update changelog for v5.3.2 2018-01-23 12:09:48 +01:00
Tobrun
dc8d4e8b0f [android] - handle null Call instances in HttpRequest 2018-01-23 12:09:48 +01:00
Tobrun
6e5ddfae95 [android] - allow setting an OkHttpClient 2018-01-23 12:09:48 +01:00
Łukasz Paczos
c3068ec397 Camera callbacks for velocity animated movements (#10925)
* [android] camera listeners double invocation fix

* [android] invoking camera change callbacks for velocity animated movements
2018-01-23 12:09:48 +01:00
Łukasz Paczos
06f3f8fddb [android] do not overwrite user-set focal point when tracking location (#10910) 2018-01-23 12:09:48 +01:00
Tobrun
82eabf18b1 [android] - retain configuration for user provided focal point and deselect markers on tap 2018-01-23 12:09:48 +01:00
Tobrun
4a2ced5651 [android] - add filesource activation/deactivation to OfflineRegion status and deletion 2018-01-23 12:09:48 +01:00
Tobrun
b03c226373 [android] - check if the render surface has been correctly created before destroying the map 2018-01-23 12:09:48 +01:00