#include #include namespace mbgl { namespace style { ImageSource::Impl::Impl(std::string id_, std::array coords_) : Source::Impl(SourceType::Image, std::move(id_)), coords(std::move(coords_)) { } ImageSource::Impl::Impl(const Impl& other, std::array coords_) : Source::Impl(other), coords(std::move(coords_)), image(other.image) { } ImageSource::Impl::Impl(const Impl& rhs, UnassociatedImage&& image_) : Source::Impl(rhs), coords(rhs.coords), image(std::make_shared(std::move(image_))) { } ImageSource::Impl::~Impl() = default; std::shared_ptr ImageSource::Impl::getImage() const { return image; } std::array ImageSource::Impl::getCoordinates() const { return coords; } optional ImageSource::Impl::getAttribution() const { return {}; } } // namespace style } // namespace mbgl