summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/render_annotation_source.cpp
diff options
context:
space:
mode:
authorAsheem Mamoowala <asheem.mamoowala@mapbox.com>2018-01-02 15:26:06 -0700
committerAsheem Mamoowala <asheem.mamoowala@mapbox.com>2018-01-04 16:01:55 -0700
commitef7b673d15865843077aaf5fd68fe8d36b8c6e30 (patch)
tree1a53a69b4a9da56868022f98dab22cd2bad09ac1 /src/mbgl/annotation/render_annotation_source.cpp
parentef39e8c25bd8c8c70f54f579a3250f7468a2dc0b (diff)
downloadqtlocation-mapboxgl-upstream/5394-tilejson-bounds.tar.gz
Fixes from code review and update gl-js pin to include render testupstream/5394-tilejson-bounds
Diffstat (limited to 'src/mbgl/annotation/render_annotation_source.cpp')
-rw-r--r--src/mbgl/annotation/render_annotation_source.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/annotation/render_annotation_source.cpp b/src/mbgl/annotation/render_annotation_source.cpp
index 3e3e48fdf3..38ca5ccd0b 100644
--- a/src/mbgl/annotation/render_annotation_source.cpp
+++ b/src/mbgl/annotation/render_annotation_source.cpp
@@ -41,7 +41,7 @@ void RenderAnnotationSource::update(Immutable<style::Source::Impl> baseImpl_,
// Zoom level 16 is typically sufficient for annotations.
// See https://github.com/mapbox/mapbox-gl-native/issues/10197
{ 0, 16 },
- {},
+ optional<LatLngBounds> {},
[&] (const OverscaledTileID& tileID) {
return std::make_unique<AnnotationTile>(tileID, parameters);
});