summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/vector_source.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-231-1/+1
| | | | As reported by clang-tidy-8.
* [core] Add runtime API for setting tile prefetch delta for SourceAlexander Shalamov2020-02-111-0/+4
| | | | | | | New setPrefetchZoomDelta(optional<uint8_t> delta) method allow overriding default tile prefetch setting that is defined by the Map instance. The method can be moved to generic style specification if found to be useful for gl-js engine.
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Introduce FileSourceManager and use it for default platform impl - Add `FileSourceManager` interface that provides access to `FileSource` instances and means of registering / unregistering `FileSource` factories - Split `DefaultFileSource` into smaller parts - Add `DatabaseFileSource` interface and it's default implementation - Remove inter-dependencies between concrete `FileSource` classes * [build] Add files to next build system * [core] Add generic property setters / getters * [core] Remove setOnlineStatus from OnlineFileSource interface * [core] Hide threading implementation details from DatabaseFileSource interface * [core] Make DB file source methods virtual * [core] Add documentation for DatabaseFileSource and rename one method * [core] Use simple callback instead of ActorRef * [core] Remove ActorRef from OnlineFileSource public header * [core] Add callback to FileSource::forward async API * [core] Pass OfflineRegionDefinition by value * [core] Update tests to use modular file sources * [core] Update unit tests * [core] Update unit tests after rebase * [core] Backport low prio fix for cached requests * [core] Backport pack database * [core] Return removed factory from unRegisterFileSourceFactory * [core] Rename shadowed args in onlinefilesource * [core] Remove simple std::function callback aliases * [core] Expose online file source property keys in public header file * [test-runner] Add proxy file source test runner * [cache] Update mbgl-cache utility to use new file source * [metrics] Rebaseline binary size metrics * [offline] Update offline utility * [core] Update changelog
* [core] Use LayerInfo::tileKind in sourcesMikhail Pozdnyakov2019-09-181-3/+2
|
* [core] Check layer compatibility with sourceMikhail Pozdnyakov2019-09-181-5/+12
|
* [Core] Fix wrong `maxzoom` setting of tileSet when using URL source (#15581)zmiao2019-09-171-4/+11
| | | | | | | | | | | | * [core] Take max/min zoom option from style if they are set * [core] std::move input value * [Core] Add changelogs * [Core] Fix clang-format reported error * [Core] fix clang-tidy reported error
* Always call onSourceLoaded observers (#15548)Konstantin Käfer2019-09-031-0/+1
| | | | | | | | * [core] add sources to source collection before triggering load * [test] add testcase for #15514 * [core] also call onSourceLoaded observers when no network request was necessary
* [core] Avoid unneeded tile sets copying at sources codeMikhail Pozdnyakov2019-07-221-1/+1
|
* [core] clang-tidy fixesKonstantin Käfer2019-04-051-1/+1
|
* [node] capture invalid input data as `ParseError` objectsKonstantin Käfer2018-08-271-1/+2
| | | | This allows us to distinguish them from other types of errors
* [core] Immutable ImplsJohn Firebaugh2017-05-121-7/+64
|
* [core] Added URL accessor for tile sourcesMinh Nguyễn2016-12-201-1/+11
|
* [core] Runtime source API: part 2John Firebaugh2016-06-161-0/+12
|
* [core] Runtime source API: private implsJohn Firebaugh2016-06-161-25/+0
|
* [core] Use variant<std::string, Tileset> in TileSourceJohn Firebaugh2016-06-151-5/+11
| | | | A tile source can either specify a URL to TileJSON, or inline TileJSON.
* [core] Introduce shared base class for VectorSource and RasterSourceJohn Firebaugh2016-06-141-1/+1
|
* [core] Virtualize Source::createTileJohn Firebaugh2016-06-141-0/+6
|
* [core] Vector source tileSize is constantJohn Firebaugh2016-06-141-2/+1
|
* [core] Pass geojsonvt only to GeoJSONSourceJohn Firebaugh2016-06-141-3/+2
|
* [core] Introduce source subclassesJohn Firebaugh2016-06-141-0/+15