Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | [core] Inline friend equality operators | John Firebaugh | 2016-12-06 | 2 | -23/+15 | |
| | | ||||||
* | | [core] Functions must have at least one stop | John Firebaugh | 2016-12-01 | 2 | -2/+8 | |
| | | | | | | | | This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too. | |||||
* | | [core] Convert style properties to a tuple-based approach | John Firebaugh | 2016-11-17 | 2 | -4/+16 | |
|/ | | | | | | | | 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] Removed map attribution API | Minh Nguyễn | 2016-09-26 | 1 | -0/+3 | |
| | | | | Since client code can readily access the individual sources, Map doesn’t need to expose a dedicated API for iterating over them. | |||||
* | Better handling for undefined icon|text-rotation-alignment (#6253) | Young Hahn | 2016-09-21 | 1 | -1/+1 | |
| | | | | | | * [core, ios, android] Use `auto` value for properties with calculated defaults * Fix render tests | |||||
* | [core] Trigger Source::Impl::reload when a filter or layout property is modified | John Firebaugh | 2016-09-06 | 1 | -15/+55 | |
| | ||||||
* | [core, ios, android, qt] Observe style layer mutations rather than requiring ↵ | John Firebaugh | 2016-09-06 | 2 | -0/+27 | |
| | | | | | | SDKs to use Map::update This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation. | |||||
* | [core] Add missing classed paint property getter | John Firebaugh | 2016-09-06 | 7 | -49/+49 | |
| | ||||||
* | update filter doc usage example (#6202) | Dane Springmeyer | 2016-08-31 | 1 | -5/+2 | |
| | ||||||
* | [core] Change GeoJSONSource::getURL() to return an optional<std::string> | John Firebaugh | 2016-08-26 | 1 | -1/+2 | |
| | | | | GeoJSON sources may have inline GeoJSON rather than a URL; returning an optional type ensures that consumers handle this case. | |||||
* | [core] Add static getters for property default values (#6124) | John Firebaugh | 2016-08-23 | 7 | -0/+88 | |
| | ||||||
* | [core] #6071 - extract GeoJSONOptions conversion from GeoJSONSource conversion | Ivo van Dongen | 2016-08-23 | 2 | -55/+83 | |
| | | | | | | | | | | | | | | * [core] geojson_options - retain original error message * [core] tests - initial style conversion stub methods * [core] geojsonoptions conversion - initial unit tests * [core] tests - fix forward reference issue * [core] geojsonoptions conversion - unit tests * [core] geojsonoptions conversion - renamed Holder to Value | |||||
* | [core] set correct depth values for CustomLayer so compositing works | Konstantin Käfer | 2016-08-22 | 1 | -0/+2 | |
| | ||||||
* | [core] added template instances for Source.is<>(). | Ivo van Dongen | 2016-08-18 | 3 | -0/+15 | |
| | ||||||
* | [core] support "scheme": "tms" in TileJSON files | Konstantin Käfer | 2016-08-16 | 1 | -0/+8 | |
| | ||||||
* | GeoJSON point clustering (#5724) | Vladimir Agafonkin | 2016-07-27 | 2 | -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 filters | John Firebaugh | 2016-07-18 | 2 | -6/+28 | |
| | | | | https://github.com/mapbox/mapbox-gl-style-spec/issues/391 | |||||
* | [core] Report conversion errors using std::string | Thiago Marcos P. Santos | 2016-07-12 | 1 | -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 headers | Bruno de Oliveira Abinader | 2016-07-11 | 3 | -0/+6 | |
| | ||||||
* | [core] Add support for circle-pitch-scale | John Firebaugh | 2016-07-07 | 3 | -0/+9 | |
| | ||||||
* | [core] geometry@0.8.0 / geojsonvt@6.0.0 (#5514) | Young Hahn | 2016-07-06 | 1 | -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 addSource | John Firebaugh | 2016-06-24 | 5 | -12/+213 | |
| | ||||||
* | [core, node] Implement bindings for addLayer | John Firebaugh | 2016-06-24 | 13 | -49/+497 | |
| | ||||||
* | [core] Adjust layer source properties to better reflect reality | John Firebaugh | 2016-06-24 | 7 | -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.hpp | John Firebaugh | 2016-06-24 | 5 | -341/+463 | |
| | ||||||
* | [core, node] Node bindings for setFilter | John Firebaugh | 2016-06-21 | 1 | -1/+131 | |
| | ||||||
* | [core] Rewrite style parsing logic for reuse in node bindings | John Firebaugh | 2016-06-21 | 1 | -0/+263 | |
| | ||||||
* | [core] Cleaned up TransitionOptions | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -7/+3 | |
| | ||||||
* | [core] Avoid redundant 'inline' usage | Bruno de Oliveira Abinader | 2016-06-18 | 1 | -1/+1 | |
| | ||||||
* | [core] Runtime source API: private impls | John Firebaugh | 2016-06-16 | 4 | -0/+130 | |
| | ||||||
* | [core] Prepare Filter and FilterEvaluator for extraction (#5366) | John Firebaugh | 2016-06-15 | 2 | -16/+207 | |
| | ||||||
* | Support for icon-text-fit, icon-text-fit-padding (#5334) | Young Hahn | 2016-06-15 | 2 | -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 files | John Firebaugh | 2016-06-13 | 1 | -0/+76 | |
| | ||||||
* | [core] Make enum ↔ string conversion more generic-friendly | John Firebaugh | 2016-06-13 | 1 | -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-value | Bruno de Oliveira Abinader | 2016-06-13 | 2 | -4/+4 | |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html | |||||
* | [core] fix pedantic warning messages | Konstantin Käfer | 2016-06-13 | 1 | -1/+1 | |
| | ||||||
* | text-pitch-alignment (#5288) | Young Hahn | 2016-06-10 | 2 | -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 code | John Firebaugh | 2016-06-02 | 13 | -44/+659 | |
| | ||||||
* | [core] Add {min,max}Zoom accessors | John Firebaugh | 2016-06-02 | 1 | -0/+6 | |
| | ||||||
* | [core] Add Filter accessors | John Firebaugh | 2016-06-02 | 1 | -0/+103 | |
| | ||||||
* | [core] Introduce PropertyValue<T> | John Firebaugh | 2016-06-02 | 1 | -3/+0 | |
| | | | | PropertyValue<T> represents the three possible types of style property value: undefined, constant, or function. | |||||
* | [core] Generalize Map::{add,remove}CustomLayer | John Firebaugh | 2016-06-02 | 1 | -39/+0 | |
| | ||||||
* | [core] Runtime style layer API | John Firebaugh | 2016-06-02 | 2 | -0/+99 | |
| | ||||||
* | [core] use #pragma once instead of ifdef include guards | Konstantin Käfer | 2016-05-25 | 2 | -8/+2 | |
| | ||||||
* | [core] Move enum type classes to implementation (#4831) | John Firebaugh | 2016-04-25 | 1 | -81/+0 | |
| | ||||||
* | [core] Extract Function::evaluation to a separate class (#4811) | John Firebaugh | 2016-04-25 | 1 | -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 stacks | John Firebaugh | 2016-04-22 | 1 | -1/+10 | |
| | ||||||
* | [core] PlacementType ⇢ SymbolPlacementType | John Firebaugh | 2016-04-21 | 1 | -4/+4 | |
| | ||||||
* | [core] JoinType ⇢ LineJoinType | John Firebaugh | 2016-04-21 | 1 | -7/+7 | |
| | ||||||
* | [core] CapType ⇢ LineCapType | John Firebaugh | 2016-04-21 | 1 | -5/+5 | |
| |