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
a1a639120d
[core] Introduce dedicated filter types for $type and $id special cases ( #7971 )
...
* [core] Introduce dedicated filter types for $type and $id special cases
* [ios, macos] Special-case $id, $type in predicates
Also support $id ≟ nil.
2017-02-09 14:18:57 -08:00
John Firebaugh
b6e5edc268
[core] Restore support for *-transition properties
2017-02-09 15:08:51 -06: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
3b2a4216a2
[core] Implement circle-stroke properties
...
Also includes stubs for fill-extrusion layer, because most of the code was auto-generated.
2016-12-09 09:35:21 -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
Ivo van Dongen
df3b44531e
[core] #6071 - extract GeoJSONOptions conversion from GeoJSONSource conversion
...
* [core] geojson_options - retain original error message
* [core] tests - initial style conversion stub methods
* [core] geojsonoptions conversion - initial unit tests
* [core] tests - fix forward reference issue
* [core] geojsonoptions conversion - unit tests
* [core] geojsonoptions conversion - renamed Holder to Value
2016-08-23 14:57:55 +02:00
Konstantin Käfer
18176605f6
[core] support "scheme": "tms" in TileJSON files
2016-08-16 11:04:30 +02:00
Vladimir Agafonkin
9ecc0d9597
GeoJSON point clustering ( #5724 )
...
* add supercluster dependency
* prepare GeoJSONTile for Supercluster
* prepare GeoJSONSource for accepting options
* try removing mbgl::GeoJSON
* fix setGeoJSON types
* add GeoJSONSource getURL
* add geojson to include path
* add Supercluster index in GeoJSONSource
* fix GeoJSONSource getZoomRange
* bring back mbgl::GeoJSON header
* fix tidy warnings hopefully
* try test-suite with enabled cluster test
* fix formatting in clustering-related files
2016-07-27 20:18:41 +03:00
Bruno de Oliveira Abinader
0878e09def
[core] Added missing pragmas to style conversion headers
2016-07-11 17:01:31 +03:00
John Firebaugh
c09fb0f519
[core] Add support for circle-pitch-scale
2016-07-07 14:32:27 -07:00
John Firebaugh
021d4199cb
[core, node] Implement bindings for addSource
2016-06-24 09:39:51 -07:00
John Firebaugh
16c435b151
[core, node] Implement bindings for addLayer
2016-06-24 09:39:51 -07:00
John Firebaugh
089c4e413f
[core] Split up and clean up conversion.hpp
2016-06-24 09:39:15 -07:00