summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/geojson_tile.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Introduce GeometryTile::reset()Mikhail Pozdnyakov2019-11-291-1/+1
| | | | | | The newly introduced `GeometryTile::reset()` is used while GeoJSON tile update in order to prevent from the parsing of the new data with the stale layers or vice verse.
* [core] Calculate GeoJSON tile geometries in a background threadMikhail Pozdnyakov2019-11-291-2/+9
| | | | | Call `mapbox::geojsonvt::GeoJSONVT::getTile()` in a background thread, so that the rendering thread is not blocked.
* [core] Fix GeoJSON tiles updateMikhail Pozdnyakov2019-08-221-1/+1
| | | | | | | | | | | | | Before this change, GeoJSON tiles data were updated before the corresponding layers were applied, therefore `GeometryTileWorker` parsed new data with the outdated layers. It caused the following render test failure: `mbgl-render-test text-max-width/unlimited regressions/mapbox-gl-native#9976 --recycle-map` Now a GeoJSON tile, which needs relayout, is not parsed until the valid layers are set.
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-131-3/+3
|
* [core] make forcing cache/network only more explicitKonstantin Käfer2017-10-121-2/+0
| | | | | | Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving). This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme.
* [core] Fix build; struct ⇢ classJohn Firebaugh2017-07-191-1/+1
|
* [core] No need for default ctor in {Update,Tile}ParametersBruno de Oliveira Abinader2017-07-191-1/+1
|
* [core] UpdateParameters ⇢ TileParametersJohn Firebaugh2017-05-041-2/+2
|
* [core] Move render-related sources out of style directory/namespaceJohn Firebaugh2017-05-031-3/+1
| | | | | | | | | | | | | | | | Moves the following to the renderer directory and out of the style namespace: * CascadeParameters * PropertyEvaluationParameters * UpdateParameters * PropertyEvaluator * DataDrivenPropertyEvaluator * CrossFadedPropertyEvaluator * PaintPropertyBinder * PaintProperyStatistics * PossiblyEvaluatedPropertyValue * TransitioningLight * EvaluatedLight
* [core] Refactor Source::*Impls into RenderSources and TilePyramidJohn Firebaugh2017-05-021-2/+3
|
* [all] Push querySourceFeatures back out to MapJohn Firebaugh2017-05-021-1/+1
| | | | Once Source and RendererSource are split, Source will no longer have access to tiles.
* [core] query source featuresIvo van Dongen2017-03-091-0/+4
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-1/+1
|
* [core] - mutable geojson sources. make tiles protected for ↵Tobrun2016-09-201-2/+3
| | | | geojson_source_impl (#6347)
* [core] Simplify GeoJSONTile constructorJohn Firebaugh2016-08-261-18/+2
|
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-271-0/+11
| | | | | | | | | | | | | | | | * 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] Use variant<std::string, GeoJSON> in GeoJSON sourceJohn Firebaugh2016-06-151-1/+1
|
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* [core] *Tile ↔ *TileDataJohn Firebaugh2016-06-131-7/+6
| | | | Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
* [core] Privatize geojson_tile.hpp contentsJohn Firebaugh2016-06-131-40/+0
|
* [core] Merge geojson_tile_data.{hpp,cpp} into geojson_tile.{hpp,cpp}John Firebaugh2016-06-131-0/+22
|
* [core] *TileMonitor => *TileSourceKonstantin Käfer2016-06-101-29/+0
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] Fix properties of GeoJSON layers in queryRenderedFeaturesJohn Firebaugh2016-05-171-4/+3
|
* [core] move TileData and dependents to new *TileID classesKonstantin Käfer2016-05-101-3/+3
|
* [core] implement queryRenderedFeaturesAnsis Brammanis2016-04-291-0/+1
|
* [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-241-1/+1
|
* [core] Use GeometryTileFeature::defaultExtent by defaultBruno de Oliveira Abinader2016-03-011-1/+0
| | | | | | GeoJSONTile and AnnotationTile don't need to reimplement getExtent() if they use the same default value. This also helps point and shape annotations to avoid using raw values.
* [core] Organize files that were in map folder betterJohn Firebaugh2016-02-111-1/+1
| | | | Fixes #996
* [core] support tiles with non-4096 extentsAnsis Brammanis2016-02-021-0/+1
| | | | | Convert all geometries to the maximum extent supported by our buffers and then use that constant extent everywhere else.
* [core] Use experimental optional instead of mapbox::util::optionalJohn Firebaugh2016-01-191-1/+1
|
* [core] create GeoJSON tiles from inline GeoJSON in sourcesKonstantin Käfer2015-12-111-0/+78