[core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ queryPointAnnotations() (#5165)
queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view. Fixes #5151.
This commit is contained in:
committed by
Jesse Bounds
parent
272ec0c30b
commit
e147887e35
@@ -21,9 +21,11 @@ AnnotationTile::~AnnotationTile() {
|
||||
|
||||
void AnnotationTile::setNecessity(Necessity) {}
|
||||
|
||||
AnnotationTileFeature::AnnotationTileFeature(FeatureType type_, GeometryCollection geometries_,
|
||||
std::unordered_map<std::string, std::string> properties_)
|
||||
: type(type_),
|
||||
AnnotationTileFeature::AnnotationTileFeature(const AnnotationID id_,
|
||||
FeatureType type_, GeometryCollection geometries_,
|
||||
std::unordered_map<std::string, std::string> properties_)
|
||||
: id(id_),
|
||||
type(type_),
|
||||
properties(std::move(properties_)),
|
||||
geometries(std::move(geometries_)) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user