| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
mapbox-gl-native @ edd7948893fcd40a24d96b790e21d3dd028cecbe
|
|
|
|
|
|
|
|
| |
This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md.
The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily.
Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Add support for icon-text-fit
* Port unit tests for getIconQuads() from js => cpp
* Add support for padding in all 4 directions.
* Update all hashes post-merge
|
|
|
|
| |
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
|
|
|
|
| |
Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
|
|
|
|
| |
Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* First pass at port of https://github.com/mapbox/mapbox-gl-js/pull/2668
* RotationAlignmentType => AlignmentType
* Handle undefined default value for text-pitch-alignment and implement inheritance for this value from text-rotation-alignment
* Update dependencies
* Move handling fo undefined default value out of camelize functions
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also introduced GeometryCoordinates (vector of GeometryCoordinate
items), to better cope with GeometryCollection.
|
| |
|
| |
|
|
|
|
| |
https://github.com/mapbox/mapbox-gl-js/pull/1261
|
| |
|
|
Collision prevention is temporarily disabled.
|