diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-06-29 17:51:52 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-07-02 10:12:04 -0700 |
commit | f5f19d0eb0deefd64d2107eb081e4035ad1a747c (patch) | |
tree | 9250d1195a0b05c7f80d3003991f6b8e21467eb2 /src/mbgl/map/source.cpp | |
parent | 117322d349d7ff9a1d0028b6f88dd7369027881f (diff) | |
download | qtlocation-mapboxgl-f5f19d0eb0deefd64d2107eb081e4035ad1a747c.tar.gz |
External synchronization for AnnotationManager
Diffstat (limited to 'src/mbgl/map/source.cpp')
-rw-r--r-- | src/mbgl/map/source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/source.cpp b/src/mbgl/map/source.cpp index f596296fc3..58f3924ecd 100644 --- a/src/mbgl/map/source.cpp +++ b/src/mbgl/map/source.cpp @@ -300,7 +300,7 @@ TileData::State Source::addTile(MapData& data, new_tile.data = tileData; } else if (info.type == SourceType::Annotations) { new_tile.data = std::make_shared<LiveTileData>(normalized_id, - data.annotationManager.getTile(normalized_id), style, info, callback); + data.getAnnotationManager()->getTile(normalized_id), style, info, callback); } else { throw std::runtime_error("source type not implemented"); } |