summaryrefslogtreecommitdiff
path: root/include/mbgl/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] added template instances for Source.is<>().Ivo van Dongen2016-08-183-0/+15
|
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-161-0/+8
|
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-272-17/+107
| | | | | | | | | | | | | | | | * add supercluster dependency * prepare GeoJSONTile for Supercluster * prepare GeoJSONSource for accepting options * try removing mbgl::GeoJSON * fix setGeoJSON types * add GeoJSONSource getURL * add geojson to include path * add Supercluster index in GeoJSONSource * fix GeoJSONSource getZoomRange * bring back mbgl::GeoJSON header * fix tidy warnings hopefully * try test-suite with enabled cluster test * fix formatting in clustering-related files
* [core] Add support for $id key to filtersJohn Firebaugh2016-07-182-6/+28
| | | | https://github.com/mapbox/mapbox-gl-style-spec/issues/391
* [core] Report conversion errors using std::stringThiago Marcos P. Santos2016-07-121-1/+3
| | | | | char* increases the risk of pointing to a invalid reference. Qt had to use a static variable as retainer to workaround.
* [core] Added missing pragmas to style conversion headersBruno de Oliveira Abinader2016-07-113-0/+6
|
* [core] Add support for circle-pitch-scaleJohn Firebaugh2016-07-073-0/+9
|
* [core] geometry@0.8.0 / geojsonvt@6.0.0 (#5514)Young Hahn2016-07-061-0/+11
| | | | | | | | | | | | | | | | | | | | | | * [core] geometry.hpp 0.8.0 * geojsonvt @ 6.0.0 * Update platform deps, build scripts * Perf optimizations/cleanup * Rebase in geometry@080 * D.R.Y. etc * Ensure fill annotation geometries have closed rings. * Optimizations * Update to geojsonvt @ 6.1.0 for clean handoff between geojson parsing and geojsonvt * Apply close multi/poly geoms for line annotations as well
* [core, node] Implement bindings for addSourceJohn Firebaugh2016-06-245-12/+213
|
* [core, node] Implement bindings for addLayerJohn Firebaugh2016-06-2413-49/+497
|
* [core] Adjust layer source properties to better reflect realityJohn Firebaugh2016-06-247-29/+17
| | | | | | | | * Layer source ID is immutable; must be provided to the constructor * Layer source layer is mutable * Layers with GeoJSON sources do not have a source layer While here, make Layer::copy impl-private.
* [core] Split up and clean up conversion.hppJohn Firebaugh2016-06-245-341/+463
|
* [core, node] Node bindings for setFilterJohn Firebaugh2016-06-211-1/+131
|
* [core] Rewrite style parsing logic for reuse in node bindingsJohn Firebaugh2016-06-211-0/+263
|
* [core] Cleaned up TransitionOptionsBruno de Oliveira Abinader2016-06-201-7/+3
|
* [core] Avoid redundant 'inline' usageBruno de Oliveira Abinader2016-06-181-1/+1
|
* [core] Runtime source API: private implsJohn Firebaugh2016-06-164-0/+130
|
* [core] Prepare Filter and FilterEvaluator for extraction (#5366)John Firebaugh2016-06-152-16/+207
|
* Support for icon-text-fit, icon-text-fit-padding (#5334)Young Hahn2016-06-152-0/+13
| | | | | | | | | | * 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
* [core] Extract code templates to individual .ejs filesJohn Firebaugh2016-06-131-0/+76
|
* [core] Make enum ↔ string conversion more generic-friendlyJohn Firebaugh2016-06-131-9/+1
| | | | | | Rewrite enum.hpp in such a way that parseConstant can be defined generically for all enumerated types. While there, properly validated enumerated property values.
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-132-4/+4
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-131-1/+1
|
* text-pitch-alignment (#5288)Young Hahn2016-06-102-5/+9
| | | | | | | | | | | | * 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
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-0213-44/+659
|
* [core] Add {min,max}Zoom accessorsJohn Firebaugh2016-06-021-0/+6
|
* [core] Add Filter accessorsJohn Firebaugh2016-06-021-0/+103
|
* [core] Introduce PropertyValue<T>John Firebaugh2016-06-021-3/+0
| | | | PropertyValue<T> represents the three possible types of style property value: undefined, constant, or function.
* [core] Generalize Map::{add,remove}CustomLayerJohn Firebaugh2016-06-021-39/+0
|
* [core] Runtime style layer APIJohn Firebaugh2016-06-022-0/+99
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-252-8/+2
|
* [core] Move enum type classes to implementation (#4831)John Firebaugh2016-04-251-81/+0
|
* [core] Extract Function::evaluation to a separate class (#4811)John Firebaugh2016-04-251-12/+0
| | | This allows the Function<Faded<T>> partial specialization to be eliminated, giving all property functions a consistent storage type.
* [core] Use the proper type for font stacksJohn Firebaugh2016-04-221-1/+10
|
* [core] PlacementType ⇢ SymbolPlacementTypeJohn Firebaugh2016-04-211-4/+4
|
* [core] JoinType ⇢ LineJoinTypeJohn Firebaugh2016-04-211-7/+7
|
* [core] CapType ⇢ LineCapTypeJohn Firebaugh2016-04-211-5/+5
|
* [core] Added user-defined transition properties when modifying classesBruno de Oliveira Abinader2016-03-181-0/+20
|
* [core] explicitly initialize a few fields to nullKonstantin Käfer2016-03-041-3/+3
|
* [core] Reduce custom layer API to lowest common denominatorJohn Firebaugh2015-12-111-0/+39
|
* [core] Replace StyleLayerType with RTTIJohn Firebaugh2015-12-071-23/+0
|
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-031-1/+1
|
* [core] Eliminate use of ClassProperties for paintJohn Firebaugh2015-11-102-116/+3
|
* [core] Eliminate use of ClassProperties for layoutJohn Firebaugh2015-11-101-64/+0
|
* [core] Introduce StyleLayer subclassesJohn Firebaugh2015-10-221-14/+4
|
* [core] Rationalize style property classes: <type>{Paint,Layout}PropertiesJohn Firebaugh2015-10-221-32/+92
|
* mason variant@1.0Mike Morris2015-09-301-1/+2
|
* Add circle render typeBruno de Oliveira Abinader2015-08-202-0/+17
| | | | | | | As specified in: https://github.com/mapbox/mapbox-gl-style-spec/blob/v8-circle/reference/v8.json Part of #1740.
* improve round line joins for semi-transparent linesAnsis Brammanis2015-07-081-0/+3
| | | | | | | | | | | | | | | | | | https://github.com/mapbox/mapbox-gl-js/pull/1359 Round line joins used to be drawn by adding a semicircle cap to the end of each segment. This looked fine for opaque lines not for semi-transparent lines. This changes the triangulation so that round line joins don't overlap with segments. The gap between segments is filled with small triangles that look like pie slices. The edge of the round linejoin is made up of many short straight lines that look round at the sizes we draw lines. Since sharp angles are infrequent, this does not significantly affect the total number of triangles created. Joins for angles that are really sharp are still drawn with overlap.
* squash of #1655: shape annotations support for core & iOSJustin R. Miller2015-06-152-0/+324
|