Repository navigation
Introduce visible annotations API - #6061
Conversation
|
MGLMapView's accessibility hint also says the number of visible annotations. It currently does so using a different API. Maybe it should be migrated over to this API? Not sure. |
|
Since |
c2a7ec8 to
16da44f
Compare
bae2717 to
861c066
Compare
|
I rebased to include #6627 and this is a lot closer. The visible annotations query result works as expected except when the map is tilted. In that case, annotations are still returned as visible even when they are slightly offscreen. This does work now for all other cases (i.e. not tilted, with or without rotation) |
861c066 to
9ed7757
Compare
|
Resuming this since #6055 is fixed. |
This adds an API for getting all annotations that are currently visible on the map. We can also add an additional API to query by a specific rect. That API can be used internally to power this one.
This also adds a new option to iosapp to test the feature.
Fixes #5467