Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Get rid of user-specified refs | John Firebaugh | 2017-01-04 | 29 | -29/+427 |
| | |||||
* | [core, ios] replace `altitude` with `fov` | Ansis Brammanis | 2016-12-21 | 1 | -1/+1 |
| | | | | | | | | | ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19 `altitude` was a terribly-named variable that was used to indirectly control the fov. This should eliminate some confusion. `altitude` was equivalent to `cameraToCenterDistance / height` | ||||
* | [core] Remove unused BucketParameter members | John Firebaugh | 2016-12-21 | 1 | -23/+7 |
| | |||||
* | [core] Convert BucketParameters#layer to a separate parameter | John Firebaugh | 2016-12-21 | 19 | -29/+27 |
| | | | | This parameter varies between Buckets, while the others are constant. It makes more sense as an individual parameter. | ||||
* | [core] Ensure a non-zero source tile cache size | John Firebaugh | 2016-12-12 | 1 | -2/+2 |
| | | | | Previously, for viewport sizes less than 512 pixels in either direction, the computed size was 0. | ||||
* | [core] guard against duplicate layer ids | Ivo van Dongen | 2016-12-12 | 1 | -0/+9 |
| | |||||
* | [core] Implement circle-stroke properties | John Firebaugh | 2016-12-09 | 10 | -4/+339 |
| | | | | Also includes stubs for fill-extrusion layer, because most of the code was auto-generated. | ||||
* | [core] Move CrossFadedPropertyEvaluator to its own file | John Firebaugh | 2016-12-06 | 4 | -39/+50 |
| | |||||
* | [core] Move evaluation algorithm to Function | John Firebaugh | 2016-12-06 | 3 | -79/+83 |
| | |||||
* | Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.4-master | Minh Nguyễn | 2016-12-03 | 2 | -0/+30 |
|\ | |||||
| * | [core] guard against duplicate source id’s | Ivo van Dongen | 2016-12-02 | 1 | -0/+10 |
| | | |||||
| * | [core, ios, macos] Added layers and sources properties to MGLStyle | Minh Nguyễn | 2016-11-28 | 2 | -0/+30 |
| | | | | | | | | | | | | | | | | Added new layers and sources properties to MGLStyle that contain all the style’s layers and sources, respectively. These properties are KVC-compliant with all the mutable to-many methods. Layers are ordered from topmost to bottommost, for consistency with Cocoa APIs where front/first means top and back/last means bottom. Also added storage for mbgl::style::Source in MGLSource proper for wrapping AnnotationSource. Until the style finishes loading, its name property is set to nil. Fixes #6003. | ||||
| * | [core] cache raster tiles | Konstantin Käfer | 2016-11-22 | 1 | -1/+1 |
| | | |||||
| * | [core] Return source and layer ownership (#7014) | Jesse Bounds | 2016-11-13 | 4 | -10/+33 |
| | | | | | | | | | | | | | | | | When a source or layer is removed transfer ownership back to the caller so it can (optionally) take it. Preserve the behavior that removing a CustomLayer triggers deinitialization. Deinitialize all custom layers when a style is destroyed in case those layers are not explicitly removed. | ||||
| * | [core] symbol layer - recalculate style on icon/text size changes | Ivo van Dongen | 2016-11-13 | 6 | -43/+51 |
| | | |||||
| * | [core] Fix render tile ordering when querying sources | Bruno de Oliveira Abinader | 2016-11-13 | 1 | -2/+13 |
| | | |||||
| * | [core] Separate pathway for notifying workers of new images/glyphs | John Firebaugh | 2016-11-13 | 4 | -5/+25 |
| | | |||||
* | | [core] Functions must have at least one stop | John Firebaugh | 2016-12-01 | 1 | -25/+2 |
| | | | | | | | | This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too. | ||||
* | | [core] guard against duplicate source id’s | Ivo van Dongen | 2016-11-30 | 1 | -0/+10 |
| | | |||||
* | | [build] move logging to util | Konstantin Käfer | 2016-11-22 | 5 | -5/+5 |
| | | |||||
* | | [core] Sort symbol render tiles prior to rendering | Bruno de Oliveira Abinader | 2016-11-18 | 2 | -5/+29 |
| | | |||||
* | | [core] Convert style properties to a tuple-based approach | John Firebaugh | 2016-11-17 | 43 | -824/+968 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | [core] cache raster tiles | Konstantin Käfer | 2016-11-17 | 1 | -1/+1 |
| | | |||||
* | | [core] Return source and layer ownership (#7014) | Jesse Bounds | 2016-11-11 | 4 | -10/+33 |
| | | | | | | | | | | | | | | | | When a source or layer is removed transfer ownership back to the caller so it can (optionally) take it. Preserve the behavior that removing a CustomLayer triggers deinitialization. Deinitialize all custom layers when a style is destroyed in case those layers are not explicitly removed. | ||||
* | | [core] symbol layer - recalculate style on icon/text size changes | Ivo van Dongen | 2016-11-11 | 6 | -43/+51 |
| | | |||||
* | | [core] Default camera position to that specified by the style | John Firebaugh | 2016-11-09 | 1 | -3/+3 |
| | | |||||
* | | [core] don't assign clip IDs to tiles that aren't rendered | Konstantin Käfer | 2016-11-08 | 3 | -3/+6 |
| | | |||||
* | | [core] Separate pathway for notifying workers of new images/glyphs | John Firebaugh | 2016-11-07 | 4 | -5/+22 |
| | | |||||
* | | [core] Fix render tile ordering when querying sources | Bruno de Oliveira Abinader | 2016-11-04 | 1 | -2/+13 |
| | | |||||
* | | [core] convert LineAtlas to use managed texture handling | Konstantin Käfer | 2016-11-01 | 1 | -1/+1 |
| | | |||||
* | | [core] convert GlyphAtlas to use managed texture handling | Konstantin Käfer | 2016-11-01 | 1 | -1/+1 |
| | | |||||
* | | [core] convert SpriteAtlas to use managed texture handling | Konstantin Käfer | 2016-11-01 | 1 | -1/+1 |
| | | |||||
* | | [core] Modern C++ bindings for OpenGL | John Firebaugh | 2016-10-28 | 3 | -1/+69 |
| | | |||||
* | | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 2 | -5/+5 |
| | | |||||
* | | [core] remove tiles for disabled sources | Konstantin Käfer | 2016-10-27 | 3 | -6/+31 |
| | | | | | | | | When no layer of a source is visible anymore, we are now evicting tiles that are still stored in that source and move them to the cache. | ||||
* | | [core] don't load tiles from sources that aren't used | Konstantin Käfer | 2016-10-27 | 1 | -3/+6 |
|/ | |||||
* | [core] geojson source - cancel any pending request when setting geojson ↵ | Ivo van Dongen | 2016-10-25 | 2 | -3/+12 |
| | | | | explicitly | ||||
* | [core] geojson source - clear cache when json content is set | Ivo van Dongen | 2016-10-25 | 2 | -1/+3 |
| | |||||
* | [core] geojson source - reset req on setURL | Ivo van Dongen | 2016-10-25 | 1 | -2/+2 |
| | |||||
* | [core] fixup formatting | Ivo van Dongen | 2016-10-21 | 1 | -2/+2 |
| | |||||
* | [core] reload geojson source on url change | Ivo van Dongen | 2016-10-20 | 4 | -0/+18 |
| | |||||
* | [core] Improve Source::Impl readability | Bruno de Oliveira Abinader | 2016-10-11 | 1 | -18/+11 |
| | |||||
* | [core] Use TilePoint in Source::Impl::queryRenderedFeatures | Bruno de Oliveira Abinader | 2016-10-11 | 1 | -18/+10 |
| | |||||
* | [core] No need for feature querying to support multipolygons | John Firebaugh | 2016-10-11 | 7 | -10/+10 |
| | |||||
* | [core] Pre-filter sources based on the layers they contain | Thiago Marcos P. Santos | 2016-10-05 | 1 | -0/+14 |
| | |||||
* | [core] Removed map attribution API | Minh Nguyễn | 2016-09-26 | 6 | -28/+13 |
| | | | | Since client code can readily access the individual sources, Map doesn’t need to expose a dedicated API for iterating over them. | ||||
* | [core] Source-driven attribution | Minh Nguyễn | 2016-09-26 | 5 | -2/+43 |
| | | | | | | Implemented observer callbacks so the style knows when the source’s attribution changes and the map knows when the style’s attribution changes. Also implemented a getter for a tile source’s attribution. Fixes #2723. | ||||
* | [core] Trigger Update::RecalculateStyle when toggling layer visibility | Bruno de Oliveira Abinader | 2016-09-26 | 1 | -1/+1 |
| | |||||
* | Better handling for undefined icon|text-rotation-alignment (#6253) | Young Hahn | 2016-09-21 | 4 | -14/+24 |
| | | | | | | * [core, ios, android] Use `auto` value for properties with calculated defaults * Fix render tests | ||||
* | [core] - mutable geojson sources. make tiles protected for ↵ | Tobrun | 2016-09-20 | 3 | -15/+24 |
| | | | | geojson_source_impl (#6347) |