diff options
author | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2017-06-13 12:55:01 -0700 |
---|---|---|
committer | Asheem Mamoowala <asheem.mamoowala@mapbox.com> | 2017-06-19 09:50:08 -0700 |
commit | 7f36e0cf769f6fe7a759b1cf6c56948c4c141fef (patch) | |
tree | 2b72187a6306df9d97d4b57007bd64c86a4bf4c7 /src | |
parent | b7c7d3fdab283d7bf03d8acf68b9cfd478d6973f (diff) | |
download | qtlocation-mapboxgl-7f36e0cf769f6fe7a759b1cf6c56948c4c141fef.tar.gz |
[iOS][macOS] Export `MGLImageSource`, add and update documentation. Use animated ImageSource demo in iOS test app
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/style/sources/image_source.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/sources/image_source.cpp b/src/mbgl/style/sources/image_source.cpp index 9313d8da4a..757773d218 100644 --- a/src/mbgl/style/sources/image_source.cpp +++ b/src/mbgl/style/sources/image_source.cpp @@ -20,7 +20,7 @@ const ImageSource::Impl& ImageSource::impl() const { void ImageSource::setCoordinates(const std::array<LatLng, 4>& coords_) { baseImpl = makeMutable<Impl>(impl(), coords_); - observer->onSourceChanged(*this); + observer->onSourceLoaded(*this); } std::array<LatLng, 4> ImageSource::getCoordinates() const { @@ -44,7 +44,7 @@ void ImageSource::setImage(UnassociatedImage&& image_) { } loaded = true; baseImpl = makeMutable<Impl>(impl(), std::move(image_)); - observer->onSourceChanged(*this); + observer->onSourceLoaded(*this); } optional<std::string> ImageSource::getURL() const { |