John Firebaugh
67ee51360c
[core] Add Filter accessors
2016-06-02 14:51:39 -07:00
John Firebaugh
cadc617c76
[core] Introduce PropertyValue<T>
...
PropertyValue<T> represents the three possible types of style property value: undefined, constant, or function.
2016-06-02 14:51:39 -07:00
John Firebaugh
a43940afb2
[core] Runtime style layer API
2016-06-02 14:51:39 -07:00
John Firebaugh
1a030e7c33
[core] Normalize tile coordinates in VectorTile ( #4966 )
...
Previously, vector tile coordinates were being normalized to util::EXTENT in each place they were used, and for annotation and GeoJSON sources that don't require normalization.
2016-05-11 13:54:05 -07:00
Ansis Brammanis
61d14089e0
[core] implement queryRenderedFeatures
2016-04-29 12:00:24 -07:00
John Firebaugh
b2beeda50b
[core] Adopt a strict naming convention for style properties
...
This will allow code to be generated from the style specification.
2016-04-21 14:05:40 -07:00
Ansis Brammanis
4e0d1070f6
[core] support tiles with non-4096 extents
...
Convert all geometries to the maximum extent supported by our buffers
and then use that constant extent everywhere else.
2016-02-02 14:49:03 -08:00
Konstantin Käfer
95cef66e22
[core] change RapidJSON usage to use CrtAllocator and bump GeoJSON VT
2015-12-14 16:43:35 -08:00
John Firebaugh
0a0007e0ac
[core] More efficient layer cloning
2015-12-07 11:19:08 -08:00
Konstantin Käfer
d5fb535058
[core] add namespace comment to closing brace
2015-12-03 15:38:36 +01:00
John Firebaugh
54e08b1f83
[core] Eliminate use of ClassProperties for paint
2015-11-10 11:33:17 -08:00
John Firebaugh
a562567589
[core] Eliminate use of ClassProperties for layout
2015-11-10 11:33:17 -08:00
John Firebaugh
728a9858ea
[core] Push layouts and paints to subclasses
2015-11-10 11:33:17 -08:00
John Firebaugh
10858ab382
[core] Remove the ability to change cross-fade durations via transition
...
We shouldn't overload transition duration to mean the duration of the
cross-fade when moving between stops. If we want to allow styles to
override the default 300ms fade duration, it should be a dedicated
property like raster-fade-duration.
I don't think any styles use this functionality -- if they did, they
were broken for MapMode::Still rendering.
2015-11-06 10:39:06 -08:00
John Firebaugh
b81243daa9
[core] Merge PiecewiseConstantFunction into Function
2015-11-06 10:38:48 -08:00
John Firebaugh
ddc4251074
[core] Polymorphic bucket creation
2015-10-30 11:19:28 -07:00
John Firebaugh
7821dccae5
[core] Polymorphic layout and paint parsing
2015-10-29 16:46:49 -07:00
John Firebaugh
bb6241844a
[core] Extract PaintPropertiesMap
2015-10-26 12:00:11 -07:00
John Firebaugh
0665b64590
[core] Introduce StyleCalculationParameters
...
This makes subsequent changes to the the parameter list less intrusive.
2015-10-23 13:56:55 -07:00
John Firebaugh
3afc8b4a29
[core] Introduce StyleLayer subclasses
2015-10-22 09:34:40 -07:00