summaryrefslogtreecommitdiff
path: root/include/mbgl/style/sources
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix readability-avoid-const-params-in-decls errors in header filesThiago Marcos P. Santos2020-04-172-5/+3
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-232-2/+2
| | | | As reported by clang-tidy-8.
* [core] Change GeoJSONOptions.clusterProperties to std::mapAlexander Shalamov2020-03-051-2/+2
| | | | The clusterProperties contain only few elements at most.
* [core] Add runtime API for setting tile prefetch delta for SourceAlexander Shalamov2020-02-115-0/+17
| | | | | | | 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.
* GeoJSONSource is re-using the existing schedulerMikhail Pozdnyakov2020-01-241-1/+4
| | | | Thus avoiding spawing new threads on `setGeoJSONData()` calls.
* [core] Retain thread pool in GeoJSONSourceMikhail Pozdnyakov2019-11-291-1/+2
| | | | Otherwise, the construction of the `Immutable<Source::Impl>` in background thread might never yeld.
* [core] Calculate GeoJSON tile geometries in a background threadMikhail Pozdnyakov2019-11-291-5/+7
| | | | | Call `mapbox::geojsonvt::GeoJSONVT::getTile()` in a background thread, so that the rendering thread is not blocked.
* [core][android][darwin] Fix GeoJSONOptions handlingMikhail Pozdnyakov2019-11-291-2/+5
| | | | | | - share the `GeoJSONOptions` instances using `Immutable<GeoJSONOptions>` - avoid extra copying - fix wrapping of the `GeoJSONOptions` instances in supercluster map/reduce lambdas. Previously, local variables were wrapped by reference.
* [android] Convert GeoJSON features to tiles in backgroundMikhail Pozdnyakov2019-10-311-0/+1
| | | | | | | | | Composing tiles from the GeoJSON features is an expensive operation that might block UI thread on updating the `GeoJsonSource` with the new data. This change moves tile composing to the background thread and thus unblocks the UI thread.
* [core] Introduce and apply GeoJSONData::create() APIMikhail Pozdnyakov2019-10-311-0/+16
|
* [core] Check layer compatibility with sourceMikhail Pozdnyakov2019-09-186-1/+10
|
* [Core] Fix wrong `maxzoom` setting of tileSet when using URL source (#15581)zmiao2019-09-171-1/+4
| | | | | | | | | | | | * [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
* [core, ios, macos] SDK objects should hold weak pointers to the core style ↵Mikhail Pozdnyakov2019-09-095-4/+28
| | | | objects (#15539)
* Indroduce clusterProperty option for aggregation (#15287)zmiao2019-08-161-2/+11
| | | | | | | | | | * indroduce clusterProperty option for aggregation * remove unnecessary codes * update geojson_option conversion * fix reviewing findings
* [core] Keep shared_ptr to thread pool in CustomGeometrySourceAlexander Shalamov2019-05-031-0/+2
| | | | | CustomGeometrySource should keep strong reference to shared thread pool that is used by CustomTileLoader.
* [core] Add lineMetrics to GeoJSONOptionsMikhail Pozdnyakov2018-08-081-0/+1
| | | | | This patch also bumps geojson-vt-cpp version to 6.6.0, which enables the `lineMetrics` option.
* Add options for Custom Geometry Source types to enable clipping and wrapping ↵Asheem Mamoowala2018-02-071-0/+2
| | | | geometry (#11041)
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-232-2/+27
|
* [core] Use Actors for CustomTileLoader invocation from bindings.Asheem Mamoowala2017-11-221-3/+3
|
* [core] Custom Geometry SourcesAsheem Mamoowala2017-11-222-0/+58
|
* [core] Add minzoom to GeoJSONOptionsKonstantin Käfer2017-09-281-0/+1
|
* [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵Asheem Mamoowala2017-07-171-1/+1
| | | | and ImageSource, un-premultiply in the shader for blending
* [core] Use fixed-size std::array for ImageSource coordinatesAsheem Mamoowala2017-06-011-6/+6
|
* [core] Render Image SourceAsheem Mamoowala2017-06-011-1/+1
|
* [core] Add ImageSource support to style parsersAsheem Mamoowala2017-06-011-0/+41
|
* [core] Immutable ImplsJohn Firebaugh2017-05-123-11/+39
|
* [core] Refactor Source::*Impls into RenderSources and TilePyramidJohn Firebaugh2017-05-021-18/+1
|
* [core] Added URL accessor for tile sourcesMinh Nguyễn2016-12-203-1/+7
|
* [core] Change GeoJSONSource::getURL() to return an optional<std::string>John Firebaugh2016-08-261-1/+2
| | | | GeoJSON sources may have inline GeoJSON rather than a URL; returning an optional type ensures that consumers handle this case.
* [core] added template instances for Source.is<>().Ivo van Dongen2016-08-183-0/+15
|
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-271-2/+33
| | | | | | | | | | | | | | | | * 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, node] Implement bindings for addSourceJohn Firebaugh2016-06-241-9/+5
|
* [core] Runtime source API: private implsJohn Firebaugh2016-06-163-0/+67