11 class OverscaledTileID;
12 class CanonicalTileID;
21 class CustomTileLoader;
51 return weakFactory.makeWeakPtr();
58 std::shared_ptr<ThreadPool> threadPool;
59 std::unique_ptr<
Actor<CustomTileLoader>> loader;
60 mapbox::base::WeakPtrFactory<Source> weakFactory {
this};
64 inline bool Source::is<CustomGeometrySource>()
const {
~CustomGeometrySource() final
void setTileData(const CanonicalTileID &, const GeoJSON &)
Mutable< Source::Impl > createMutable() const noexcept final
CustomGeometrySource(std::string id, const CustomGeometrySource::Options &options)
void invalidateRegion(const LatLngBounds &)
bool supportsLayerType(const mbgl::style::LayerTypeInfo *) const override
void invalidateTile(const CanonicalTileID &)
void loadDescription(FileSource &) final
mapbox::base::WeakPtr< Source > makeWeakPtr() override
const Impl & impl() const
std::unique_ptr< Expression > string(std::unique_ptr< Expression >, std::unique_ptr< Expression > def=nullptr)
std::function< void(const CanonicalTileID &)> TileFunction
constexpr uint16_t tileSize_I
mapbox::geojson::geojson GeoJSON
Range< uint8_t > zoomRange
TileFunction fetchTileFunction
TileFunction cancelTileFunction