Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Set sortKey for symbol segments during layout phase | Alexander Shalamov | 2019-04-17 | 1 | -0/+5 |
| | |||||
* | [build] Update to geometry v1.0.0 | Bruno de Oliveira Abinader | 2018-11-13 | 1 | -1/+1 |
| | |||||
* | [core] Initial implementation of 'format' expression | Chris Loer | 2018-10-15 | 1 | -1/+2 |
| | |||||
* | [core] Implement data-driven styling for ↵ | Anand Thakker | 2017-02-28 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | {text,icon}-{color,opacity,halo-color,halo-blur,halo-width} (#7939) * Add symbol dds attributes and adapt style code generation * Update to mapbox-gl-js/master * Refactor SymbolFeature as a subclass of GeometryTileFeature Prepares for enabling DDS on symbol paint properties by allowing the SymbolFeatures, which we keep around after constructing SymbolLayout, to be used in evaluating data-driven paint properties later in the layout process. * Draft approach for splitting icon/text paint properties The `Program` types are set up to bind GL attributes to each of the data-driven paint properties specified in the `PaintProperties` type provided. Since `SymbolPaintProperties` specifies both `Text*` and `Icon*` properties, the symbolIcon, symbolIconSDF, and symbolGlyph programs each attempt to bind roughly double the number of attributes that they actually need. This change addresses this by: - Adding the more specific `IconPaintProperties` and `TextPaintProperties` types, which are subsets of the full `SymbolPaintProperties`. - The symbol layer continues to use its `SymbolPaintProperties paint` member to track layer property state, but it provides helpers that construct objects of each the specific `{Icon,Text}PaintProperties::Evaluated` type, for use by the painter. - The three symbol programs instantiate `Program<>` using the appropriate `{Icon,Text}PaintProperties` type. * check in generated style code * Populate paint buffers for symbol DDS properties * Address first round of review comments * Refactor VectorTile{Layer,Feature} to explicitly share data * Update submodule | ||||
* | [core] Add support for data-driven styling | John Firebaugh | 2017-02-02 | 1 | -0/+3 |
| | |||||
* | [core] Fix symbol rendering for multipoints | John Firebaugh | 2016-12-20 | 1 | -0/+1 |
| | | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/3763 and https://github.com/mapbox/mapbox-gl-js/pull/3806. | ||||
* | [core] Full support for line breaking bidirectional text using ICU bidi ↵ | Chris Loer | 2016-11-30 | 1 | -2/+0 |
| | | | | | | | functionality. - Trim whitespace from labels before determining their max-width for alignment. - Fix crash on labels that contain lines with only a single character of whitespace. | ||||
* | [core] Add minimal line breaking support for RTL text. | Chris Loer | 2016-11-17 | 1 | -0/+2 |
| | |||||
* | [core] Use UTF-16 instead of UTF-32 for label features to avoid extra ↵ | Chris Loer | 2016-11-17 | 1 | -1/+1 |
| | | | | | | | conversions and reduce in-memory size. Continue to use uint32 as glyph ID to maintain Glyph PBF, even though we're only using 16 bits of that uint32. Use std::codecvt instead of boost::unicode_iterator for UTF8->UTF16 conversions. | ||||
* | [core] Use consistent terms: "text" and "icon" | John Firebaugh | 2016-09-16 | 1 | -2/+2 |
| | |||||
* | [core] Use optional to represent possible absence, not empty strings | John Firebaugh | 2016-09-16 | 1 | -2/+3 |
| | |||||
* | [core] Move SymbolInstance and SymbolFeature into their own files | John Firebaugh | 2016-09-16 | 1 | -0/+17 |