summaryrefslogtreecommitdiff
path: root/src/mbgl/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] Get rid of user-specified refsJohn Firebaugh2017-01-0429-29/+427
|
* [core, ios] replace `altitude` with `fov`Ansis Brammanis2016-12-211-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 membersJohn Firebaugh2016-12-211-23/+7
|
* [core] Convert BucketParameters#layer to a separate parameterJohn Firebaugh2016-12-2119-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 sizeJohn Firebaugh2016-12-121-2/+2
| | | | Previously, for viewport sizes less than 512 pixels in either direction, the computed size was 0.
* [core] guard against duplicate layer idsIvo van Dongen2016-12-121-0/+9
|
* [core] Implement circle-stroke propertiesJohn Firebaugh2016-12-0910-4/+339
| | | | Also includes stubs for fill-extrusion layer, because most of the code was auto-generated.
* [core] Move CrossFadedPropertyEvaluator to its own fileJohn Firebaugh2016-12-064-39/+50
|
* [core] Move evaluation algorithm to FunctionJohn Firebaugh2016-12-063-79/+83
|
* Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.4-masterMinh Nguyễn2016-12-032-0/+30
|\
| * [core] guard against duplicate source id’sIvo van Dongen2016-12-021-0/+10
| |
| * [core, ios, macos] Added layers and sources properties to MGLStyleMinh Nguyễn2016-11-282-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 tilesKonstantin Käfer2016-11-221-1/+1
| |
| * [core] Return source and layer ownership (#7014)Jesse Bounds2016-11-134-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 changesIvo van Dongen2016-11-136-43/+51
| |
| * [core] Fix render tile ordering when querying sourcesBruno de Oliveira Abinader2016-11-131-2/+13
| |
| * [core] Separate pathway for notifying workers of new images/glyphsJohn Firebaugh2016-11-134-5/+25
| |
* | [core] Functions must have at least one stopJohn Firebaugh2016-12-011-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’sIvo van Dongen2016-11-301-0/+10
| |
* | [build] move logging to utilKonstantin Käfer2016-11-225-5/+5
| |
* | [core] Sort symbol render tiles prior to renderingBruno de Oliveira Abinader2016-11-182-5/+29
| |
* | [core] Convert style properties to a tuple-based approachJohn Firebaugh2016-11-1743-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 tilesKonstantin Käfer2016-11-171-1/+1
| |
* | [core] Return source and layer ownership (#7014)Jesse Bounds2016-11-114-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 changesIvo van Dongen2016-11-116-43/+51
| |
* | [core] Default camera position to that specified by the styleJohn Firebaugh2016-11-091-3/+3
| |
* | [core] don't assign clip IDs to tiles that aren't renderedKonstantin Käfer2016-11-083-3/+6
| |
* | [core] Separate pathway for notifying workers of new images/glyphsJohn Firebaugh2016-11-074-5/+22
| |
* | [core] Fix render tile ordering when querying sourcesBruno de Oliveira Abinader2016-11-041-2/+13
| |
* | [core] convert LineAtlas to use managed texture handlingKonstantin Käfer2016-11-011-1/+1
| |
* | [core] convert GlyphAtlas to use managed texture handlingKonstantin Käfer2016-11-011-1/+1
| |
* | [core] convert SpriteAtlas to use managed texture handlingKonstantin Käfer2016-11-011-1/+1
| |
* | [core] Modern C++ bindings for OpenGLJohn Firebaugh2016-10-283-1/+69
| |
* | [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-272-5/+5
| |
* | [core] remove tiles for disabled sourcesKonstantin Käfer2016-10-273-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 usedKonstantin Käfer2016-10-271-3/+6
|/
* [core] geojson source - cancel any pending request when setting geojson ↵Ivo van Dongen2016-10-252-3/+12
| | | | explicitly
* [core] geojson source - clear cache when json content is setIvo van Dongen2016-10-252-1/+3
|
* [core] geojson source - reset req on setURLIvo van Dongen2016-10-251-2/+2
|
* [core] fixup formattingIvo van Dongen2016-10-211-2/+2
|
* [core] reload geojson source on url changeIvo van Dongen2016-10-204-0/+18
|
* [core] Improve Source::Impl readabilityBruno de Oliveira Abinader2016-10-111-18/+11
|
* [core] Use TilePoint in Source::Impl::queryRenderedFeaturesBruno de Oliveira Abinader2016-10-111-18/+10
|
* [core] No need for feature querying to support multipolygonsJohn Firebaugh2016-10-117-10/+10
|
* [core] Pre-filter sources based on the layers they containThiago Marcos P. Santos2016-10-051-0/+14
|
* [core] Removed map attribution APIMinh Nguyễn2016-09-266-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 attributionMinh Nguyễn2016-09-265-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 visibilityBruno de Oliveira Abinader2016-09-261-1/+1
|
* Better handling for undefined icon|text-rotation-alignment (#6253)Young Hahn2016-09-214-14/+24
| | | | | | * [core, ios, android] Use `auto` value for properties with calculated defaults * Fix render tests
* [core] - mutable geojson sources. make tiles protected for ↵Tobrun2016-09-203-15/+24
| | | | geojson_source_impl (#6347)