Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit e1be2c4

Browse files
committed
[core] Set annotation max zoom to 18
1 parent 1fa1819 commit e1be2c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mbgl/annotation/annotation_source.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ AnnotationSource::Impl::Impl(Source& base_)
1515
}
1616

1717
Range<uint8_t> AnnotationSource::Impl::getZoomRange() {
18-
return { 0, 22 };
18+
// Same as default geojson-vt-cpp.
19+
return { 0, 18 };
1920
}
2021

2122
void AnnotationSource::Impl::load(FileSource&) {

0 commit comments

Comments
 (0)