diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-01-13 12:07:33 +0100 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-01-13 13:04:59 -0800 |
commit | e8705d535d56415ff8f97db1ad6b5a77ed3fcd4a (patch) | |
tree | 7c825e483be49a7b069fc30cf79fa83bfa8b1a39 /src/mbgl/annotation | |
parent | cef05b9017d4e54e61354a278120ff67879f2acb (diff) | |
download | qtlocation-mapboxgl-e8705d535d56415ff8f97db1ad6b5a77ed3fcd4a.tar.gz |
[core] move SourceInfo parsing to StyleParser
Diffstat (limited to 'src/mbgl/annotation')
-rw-r--r-- | src/mbgl/annotation/annotation_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/annotation/annotation_manager.cpp b/src/mbgl/annotation/annotation_manager.cpp index 41bebbbdea..4884ae446f 100644 --- a/src/mbgl/annotation/annotation_manager.cpp +++ b/src/mbgl/annotation/annotation_manager.cpp @@ -112,7 +112,7 @@ std::unique_ptr<AnnotationTile> AnnotationManager::getTile(const TileID& tileID) void AnnotationManager::updateStyle(Style& style) { // Create annotation source, point layer, and point bucket if (!style.getSource(SourceID)) { - std::unique_ptr<Source> source = std::make_unique<Source>(SourceType::Annotations, SourceID); + std::unique_ptr<Source> source = std::make_unique<Source>(SourceType::Annotations, SourceID, "", std::make_unique<SourceInfo>(), nullptr); source->enabled = true; style.addSource(std::move(source)); |