Konstantin Käfer
112bbc7ab2
[core] make style/conversion.hpp implementation private
2018-08-19 13:09:16 +02:00
John Firebaugh
9a1bb1ad14
[core] Tweak conversions to reduce binary size
...
* return {} → return nullopt
* error = { "..." } → error.message = "..."
2018-07-30 17:17:38 -07:00
John Firebaugh
af89318b1d
[core] Convert token strings to expressions
2018-07-20 12:35:00 -07:00
John Firebaugh
c8edbb0500
[core] Replace {Source,Camera,Composite}Function with PropertyExpression
2018-07-20 11:56:30 -07:00
John Firebaugh
a6727921fc
[core] Convert legacy functions directly to expressions
2018-07-13 13:37:27 -07:00
John Firebaugh
25ac89e018
[core] Remove stops-based *Function constructors
2018-06-29 15:38:11 -07:00
John Firebaugh
4b2e1cddb4
Replace compile-time polymorphism with runtime polymorphism in the conversion system
2017-10-23 09:56:43 -07:00
Bruno de Oliveira Abinader
f1ac757bd2
[core] GCC 4.9 does not fully support custom variable templates
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
37046938da
[tidy] modernize-raw-string-literal
2017-05-12 18:07:36 +03:00
John Firebaugh
d7227e13a7
[all] Replace Result<T> with optional<T> plus out Error parameter
2017-03-23 13:31:13 -07:00
Anand Thakker
685f237d02
Refactor: use conversion system to convert MGLStyleFunction to mbgl core types ( #8026 )
...
This leverages the work already happening in `mbgl::style::conversion` to convert style functions from style-spec definitions into `mbgl::style::{Camera,Source,Composite}Function`s. In particular, this allows the conversions system to handle the differing typing requirements based on whether the output type of the style function is interpolatable or non-interpolatable.
2017-02-15 17:16:54 -05:00
John Firebaugh
f35ca0d9df
[core, ios, macos] Refactor composite stop types and conversions
2017-02-09 11:16:26 -06:00
Ivo van Dongen
8a5bff8ee6
[core] default value support in categorical function conversion
2017-02-02 09:44:42 -08:00
John Firebaugh
141e995806
[core] Add support for data-driven styling
2017-02-02 09:44:42 -08:00
John Firebaugh
7d16824fda
[core] Functions must have at least one stop
...
This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too.
2016-12-01 09:00:06 -08:00
John Firebaugh
089c4e413f
[core] Split up and clean up conversion.hpp
2016-06-24 09:39:15 -07:00