19 std::optional<std::string>
getURL()
const;
35 return weakFactory.makeWeakPtr();
42 std::optional<
std::
string> url;
44 mapbox::base::WeakPtrFactory<Source> weakFactory {
this};
48 inline bool Source::is<ImageSource>()
const {
const Impl & impl() const
bool supportsLayerType(const mbgl::style::LayerTypeInfo *) const override
std::optional< std::string > getURL() const
void setCoordinates(const std::array< LatLng, 4 > &)
std::array< LatLng, 4 > getCoordinates() const
Mutable< Source::Impl > createMutable() const noexcept final
void setImage(PremultipliedImage &&)
void setURL(const std::string &url)
ImageSource(std::string id, std::array< LatLng, 4 >)
void loadDescription(FileSource &) final
mapbox::base::WeakPtr< Source > makeWeakPtr() override
std::unique_ptr< Expression > string(std::unique_ptr< Expression >, std::unique_ptr< Expression > def=nullptr)