summaryrefslogtreecommitdiff
path: root/include
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-163-0/+13
|
* [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ ↵Minh Nguyễn2016-08-121-2/+1
| | | | | | | queryPointAnnotations() (#5165) queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view. Fixes #5151.
* [core] Use NDEBUG instead of DEBUGBruno de Oliveira Abinader2016-08-053-3/+3
| | | | | CMake defines 'NDEBUG' by default for release build, so we can check if that's not defined instead of using 'DEBUG' for debug build.
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-273-32/+110
| | | | | | | | | | | | | | | | * 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
* [glfw] Added 'addRandomLineAnnotations'Bruno de Oliveira Abinader2016-07-231-0/+2
|
* [core] Add support for $id key to filtersJohn Firebaugh2016-07-183-11/+29
| | | | https://github.com/mapbox/mapbox-gl-style-spec/issues/391
* [core] Move set/get thread names to platform::Thiago Marcos P. Santos2016-07-161-0/+6
| | | | Android needs its own implementation.
* [core] Revert workaround for std::atomic on ARMv5Thiago Marcos P. Santos2016-07-132-8/+7
| | | | | | Got fix on r12. https://github.com/android-ndk/ndk/issues/31
* [core] Use PropertyValue<T> for Annotation line/fillBruno de Oliveira Abinader2016-07-131-6/+7
|
* [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
|
* Merge branch 'boundsj-merge-3.3.0.rc.1'Jesse Bounds2016-07-081-0/+12
|\
| * Merge branch 'release-ios-v3.3.0' into masterJesse Bounds2016-07-071-0/+12
| |\
| | * [ios] #3979 compress telemetry events (#5490)Fredrik Karlsson2016-07-051-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] #3979 wip gzip telemetry events * [ios] expose compression from core instead of adding a new dependency * [ios] #3979 Exposed decompress from mbgl and added a test case * [ios] #3979 cleanup * [ios] #3979 cleaned up test case * [ios] #3979 cleanup * [ios] #3979 gzip -> deflate
* | | [core] track texture state to avoid redundand bindsKonstantin Käfer2016-07-081-4/+18
| | |
* | | [core] Add support for circle-pitch-scaleJohn Firebaugh2016-07-073-0/+9
|/ /
* | [core] don't force GL state to be set when calling .reset()Konstantin Käfer2016-07-071-0/+4
| | | | | | | | We are using Value::reset() to change a piece of GL state to its default value. However, the current implementation always executes the GL call, even if our state tracking system knows that it's already at that value. The new implementation of Value::reset() now respects that, resulting in a lot fewer GL calls.
* | [core] geometry@0.8.0 / geojsonvt@6.0.0 (#5514)Young Hahn2016-07-063-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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] code style cleanupsKonstantin Käfer2016-07-013-20/+20
| | | | | | | | | | | | | | - puts function definitions in a namespace ... {} rather than using namespace ...; - remove trailing whitespace - add trailing newline - protect SQL statements from being formatted by clang-format
* | [core] Added CharArrayBufferBruno de Oliveira Abinader2016-06-301-0/+55
| | | | | | | | | | | | | | | | Implements a custom std::streambuf to avoid creating temporary std::string objects and thus optimizing image decode. Suggested by @artemp in https://github.com/mapbox/mapbox-gl-native/pull/5417#issuecomment-227700063.
* | [core] Use the right types for zoom scale logicBruno de Oliveira Abinader2016-06-281-1/+1
| | | | | | | | | | | | | | 32 bit integers should be enough for zoom scale logic. In shape annotation logic, 'maxAmountOfTileFeatures' requires 64 bits because we are multiplying the zoom scale with the extent, which might give a number higher than std::numeric_limits<uint32_t>::max().
* | [core, node] Implement bindings for addSourceJohn Firebaugh2016-06-246-12/+235
| |
* | [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] s/Wireframe/Overdraw/gBruno de Oliveira Abinader2016-06-201-1/+1
| |
* | [core] Added BlendColor GL config valueBruno de Oliveira Abinader2016-06-201-0/+13
| |
* | [core] Added missing BlendFunc operatorBruno de Oliveira Abinader2016-06-201-0/+4
| |
* | [core] Cleaned up TransitionOptionsBruno de Oliveira Abinader2016-06-201-7/+3
| |
* | [core] Added mbgl::util::DEFAULT_TRANSITION_EASEBruno de Oliveira Abinader2016-06-201-0/+3
| |
* | [core] UnitBezier ctor is now constexprBruno de Oliveira Abinader2016-06-201-20/+19
| |
* | [core] Avoid redundant 'inline' usageBruno de Oliveira Abinader2016-06-1810-70/+70
| |
* | [core] Cleaned up enum classesBruno de Oliveira Abinader2016-06-184-21/+21
| | | | | | | | | | - Replaced static_cast with C++ casts. - Replaced inline with constexpr.
* | [core] Avoid unnecessary work when a symbol annotation is updatedJohn Firebaugh2016-06-171-1/+2
| | | | | | | | In particular, if only the geometry changes, don't cascade and recalculate the style.
* | [core] Runtime source API: Map methodsJohn Firebaugh2016-06-161-0/+7
| |
* | [core] Runtime source API: private implsJohn Firebaugh2016-06-165-0/+150
| |
* | [core, node] Implement setPaintProperty for color properties (#5380)John Firebaugh2016-06-162-1/+6
| |
* | [core] Prepare Filter and FilterEvaluator for extraction (#5366)John Firebaugh2016-06-153-16/+214
| |
* | 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] Add a few conveniences to ColorJohn Firebaugh2016-06-153-10/+19
| |
* | [core] Added mbgl::util::convert helper functionBruno de Oliveira Abinader2016-06-151-0/+17
| | | | | | | | | | Converts a given std::array into another using a different (convertible) type.
* | Color class (#5361)Young Hahn2016-06-152-4/+18
| | | | | | | | | | | | * Color class * Switch to list initialization
* | [tidy/linux] modernize-use-nullptrBruno de Oliveira Abinader2016-06-141-1/+1
| |
* | [core] Use Range<uint8_t> instead of full Tileset where possibleJohn Firebaugh2016-06-142-2/+27
| |
* | [core] Introduce Map::getLayerJohn Firebaugh2016-06-131-0/+1
| |
* | [core] Extract code templates to individual .ejs filesJohn Firebaugh2016-06-131-0/+76
| |
* | [core] Make enum ↔ string conversion more generic-friendlyJohn Firebaugh2016-06-133-78/+23
| | | | | | | | | | | | Rewrite enum.hpp in such a way that parseConstant can be defined generically for all enumerated types. While there, properly validated enumerated property values.