This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
AnnotationManager::getPointAnnotationsInBounds() should map IDs to screen coordinates #4443
Labels
performance
Speed, stability, CPU usage, memory usage, or power usage
Milestone
For view-based annnotations (#1784 and #3276) to be performant, especially on Android,
AnnotationManager::getPointAnnotationsInBounds()
needs to supply the screen coordinates of each annotation whose ID it returns. That way we can callgetPointAnnotationsInBounds()
on each region change and avoid a potentially expensive series of calls toMap::pixelForLatLng()
for each annotation in the returned list of annotations./cc @tobrun
The text was updated successfully, but these errors were encountered: