[core] don't tie Annotation geometries to Map maxzoom
Instead, geometry generation via GeoJSONVT is now bound to the hardcoded limit of the annotation tile source.
This commit is contained in:
@@ -7,8 +7,8 @@ namespace mbgl {
|
||||
|
||||
using namespace style;
|
||||
|
||||
LineAnnotationImpl::LineAnnotationImpl(AnnotationID id_, LineAnnotation annotation_, uint8_t maxZoom_)
|
||||
: ShapeAnnotationImpl(id_, maxZoom_),
|
||||
LineAnnotationImpl::LineAnnotationImpl(AnnotationID id_, LineAnnotation annotation_)
|
||||
: ShapeAnnotationImpl(id_),
|
||||
annotation(ShapeAnnotationGeometry::visit(annotation_.geometry, CloseShapeAnnotation{}), annotation_.opacity, annotation_.width, annotation_.color) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user