summaryrefslogtreecommitdiff
path: root/platform/android/src/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] layermanager folderMikhail Pozdnyakov2018-11-302-2/+2
| | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder.
* [core] Support fill-extrusion-vertical-gradientBruno de Oliveira Abinader2018-11-292-1/+9
|
* [core] LayerManager can disable annotationsMikhail Pozdnyakov2018-11-281-0/+2
| | | | | | | | | | | | | At the moment, the annotations implementation in the `mapbox-gl-native` core is creating concrete layer instances apart from `LayerManager/LayerFactory` code path. So, annotations must be disabled if the `LayerManager` implementation does not provide line, fill or symbol layers (those, used by the annotations). Note: in future, annotations implementation will be moved from the core to the platform SDK level(see https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation) and `LayerManager` won't need to disable it.
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-2714-62/+44
| | | | | | | | `LayerManager` is now responsible for `RenderLayer` instances creation, so that there is a single entry point for creating of objects, which correspond to a certain layer type. The `LayerType type` field is dropped from `Layer::Impl`.
* [android] removing plain text getter for "text-field"Łukasz Paczos2018-11-201-10/+17
|
* [core][android] Introduce mbgl::style::LayerTypeInfoMikhail Pozdnyakov2018-11-1512-41/+53
| | | | | | | | | The `LayerTypeInfo` contains static meta data about certain layer type. Each layer module should have a single immutable `LayerTypeInfo` instance for the represented layer type. Both `LayerImpl` and `LayerFactory` from the module always refer to the same `LayerTypeInfo` instance, so address of this instance can be used as a layer module Id during the process life time.
* noexcept specifier for layer factory methodsMikhail Pozdnyakov2018-11-072-5/+5
|
* [android] Remove UnknownLayerMikhail Pozdnyakov2018-11-072-76/+0
|
* [android] layers.cpp/hpp -> layer_manager.cpp/hppMikhail Pozdnyakov2018-11-072-1/+1
|
* [core][android] Implement LayerManager for AndroidMikhail Pozdnyakov2018-11-0728-188/+555
| | | | | The newly introduced `LayerManagerAndroid` is now responsible for creating both style layer objects and their java peers on Android.
* Remove style::Layer::is()/as()Mikhail Pozdnyakov2018-10-3112-234/+275
|
* Consolidate `style::Layer` properties APIMikhail Pozdnyakov2018-10-252-127/+42
| | | | | | | | The `style::Layer` class now exposes all the properties contained at `style::LayerImpl`. This allowed to drop `style::Layer::accept()` method usage, avoid the repeated generated code and thus save some binary size. This patch is a part of the layers modularization effort.
* [android] "format" expression supportŁukasz Paczos2018-10-245-1/+96
|
* Port symbol-z-order symbol layout style-spec property to Nativeupstream/sort-by-yryanhamley2018-09-072-0/+8
|
* [android] jni.hpp 4.0.0John Firebaugh2018-09-0762-1180/+890
|
* [android] Simplify Feature conversionJohn Firebaugh2018-09-073-6/+6
|
* [android] Upgrade to latest jni.hppJohn Firebaugh2018-09-0752-291/+187
|
* [android] Retain a shared thread pool referenceJohn Firebaugh2018-09-042-4/+7
| | | | Otherwise it may be prematurely deleted.
* [android] - add get source id to supported layer typestobrun2018-09-042-0/+24
|
* [android] synchronize and coalesce requests targeting the same TileID in the ↵Łukasz Paczos2018-08-232-2/+18
| | | | CustomGeometrySource
* [core] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-232-1/+10
| | | | | | | | Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303 See the link above for the description of the feature and its limitations). Based on patch from @lbud (Lauren Budorick).
* [android] Simplify enum conversionJohn Firebaugh2018-08-215-465/+0
|
* [android] Remove unusedJohn Firebaugh2018-08-211-24/+0
|
* [android] Move conversion code to .cpp filesJohn Firebaugh2018-08-2110-97/+124
|
* [android] - converting GeoJsonSource Java features to core ones on a worker ↵Łukasz Paczos2018-08-212-36/+122
| | | | thread
* [core] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-198-8/+8
|
* [core] Eliminate setProperty & co.John Firebaugh2018-08-131-2/+2
|
* [android] shutting down thread pool of the CustomGeometrySource when the ↵Łukasz Paczos2018-08-104-4/+53
| | | | source is destroyed
* [core] Replace unique_any with peer from mapbox-bindgenBruno de Oliveira Abinader2018-08-081-2/+2
|
* [core] Merge DataDrivenPropertyValue into PropertyValue (#12513)John Firebaugh2018-07-311-13/+0
|
* [android, ios, macos] Generate symbol-placement: line-center wrappersChris Loer2018-07-231-0/+3
|
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-203-62/+34
|
* Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue`Mikhail Pozdnyakov2018-07-051-5/+5
| | | | | | | | Based on patch from @lbud (Lauren Budorick). Give `HeatmapColorPropertyValue` a more generic name, since the same value type will be used for both `heatmap-color` and `line-gradient` properties.
* [core] add raster-resampling property (#12176)upstream/rcleeMolly Lloyd2018-06-214-0/+30
| | | | | | | | | | * update style-code for raster-resampling * implement user-defined raster-resampling * invert filter condition * raster-resampling -> raster-resampling-mode for darwin language conventions
* [core] Convert "legacy" filters directly into expressions (#11610)Lucas Wojciechowski2018-05-101-7/+5
| | | Ports the specialized filter-* expressions from GL JS, adding them to src/mbgl/style/expression/compound_expression.cpp
* Rework expression conversion (#11490)Tobrun2018-04-105-144/+20
| | | * [android] - rework expression conversion
* Use a host interface for CustomLayer instead of function pointers (#11553)Asheem Mamoowala2018-04-022-8/+4
| | | | | | Use a host interface for CustomLayer instead of function pointers Co-authored-by: Julian Rex <julian.rex@mapbox.com>
* Expression filters (#11429)Tobrun2018-03-192-1/+39
| | | * [android] - add expression filter integration
* [android] - add expression conversion, add getters (#11352)Tobrun2018-03-0813-405/+132
|
* [android] expose ImageSource coordinates setter (#11262)Łukasz Paczos2018-03-012-1/+9
| | | | (cherry picked from commit fcf5fa6)
* [android] - add default heatmap color to getterTobrun2018-03-012-1/+18
|
* [android] - add heatmap color propertyTobrun2018-03-013-0/+22
|
* [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-154-0/+189
| | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
* Add options for Custom Geometry Source types to enable clipping and wrapping ↵Asheem Mamoowala2018-02-071-1/+1
| | | | geometry (#11041)
* [android] - add binding integration for RasterDEMSource, add exampleTobrun2018-01-253-0/+98
|
* [core] update mapbox-gl-js submodule pinKonstantin Käfer2018-01-242-17/+0
| | | | | * disables transition render test (transitions are not supported with Still image rendering in Node.js) * removes support for hillshade-illumniation-direction-transition
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-236-0/+265
|
* [android] - fix code generation, remove lamda, fixup color conversion localetobrun2018-01-092-17/+0
|
* [android] Use inherited javaPeer in CustomGeometrySource C++ peerAsheem Mamoowala2017-11-222-18/+29
|
* [android] Reuse Java Source objects by holding on to a strong reference in ↵Asheem Mamoowala2017-11-2216-157/+166
| | | | the C++ peer.