Commit Graph

14 Commits

Author SHA1 Message Date
Konstantin Käfer
c7be3d52a7 Always call onSourceLoaded observers (#15548)
* [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
2019-09-03 17:02:23 -07:00
Mikhail Pozdnyakov
ff42997b01 [core] Avoid unneeded tile sets copying at sources code 2019-07-22 10:41:03 +03:00
Konstantin Käfer
3ceabcd3ec [core] clang-tidy fixes 2019-04-05 11:49:17 +02:00
Konstantin Käfer
30272924a9 [node] capture invalid input data as ParseError objects
This allows us to distinguish them from other types of errors
2018-08-27 14:07:40 -07:00
John Firebaugh
c2a5894f2d [core] Immutable Impls 2017-05-12 11:26:27 -07:00
Minh Nguyễn
117c8ed1d1 [core] Added URL accessor for tile sources 2016-12-20 21:05:40 -08:00
John Firebaugh
9d6b50828e [core] Runtime source API: part 2 2016-06-16 13:27:15 -07:00
John Firebaugh
900568cfb0 [core] Runtime source API: private impls 2016-06-16 13:27:15 -07:00
John Firebaugh
87edff4047 [core] Use variant<std::string, Tileset> in TileSource
A tile source can either specify a URL to TileJSON, or inline TileJSON.
2016-06-15 11:28:34 -07:00
John Firebaugh
e6ba10ceed [core] Introduce shared base class for VectorSource and RasterSource 2016-06-14 11:25:45 -07:00
John Firebaugh
eecf9e7d23 [core] Virtualize Source::createTile 2016-06-14 11:25:45 -07:00
John Firebaugh
55abb76f68 [core] Vector source tileSize is constant 2016-06-14 11:25:45 -07:00
John Firebaugh
b222689de8 [core] Pass geojsonvt only to GeoJSONSource 2016-06-14 11:25:45 -07:00
John Firebaugh
9b0093e32d [core] Introduce source subclasses 2016-06-14 11:25:45 -07:00