blob: 439db4fa64cdbb72b64a27da9c5a9442b1c62fc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#pragma once
#include <mbgl/style/source_impl.hpp>
#include <mbgl/style/sources/image_source.hpp>
#include <mbgl/util/image.hpp>
namespace mbgl {
class LatLng;
namespace style {
class ImageSource::Impl : public Source::Impl {
public:
Impl(std::string id, std::vector<LatLng> coords);
Impl(const Impl& rhs, std::vector<LatLng> coords);
Impl(const Impl& rhs, UnassociatedImage image);
~Impl() final;
void setImage(UnassociatedImage );
const mbgl::UnassociatedImage& getImage() const;
std::vector<LatLng> getCoordinates() const;
optional<std::string> getAttribution() const final;
private:
std::vector<LatLng> coords;
mbgl::UnassociatedImage image;
};
} // namespace style
} // namespace mbgl
|