You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
The accessible elements currently have a fixed width and height given in the plugin options. It would be nice to set from an expression evaluated per feature.
For example if you had a circle layer with variable circle-radius you could ensure the accessible element had the same width/height as the circle, so the focus style would match what's on the screen.
That's for the source geometry only, it doesn't take into account the paint/layout properties on the layer which create a rendered feature which has a different box to the source geometry.
Activity
orangemug commentedon May 16, 2018
It looks like this has been fixed already
mapbox-gl-accessibility/index.js
Lines 55 to 68 in 4953653
andrewharvey commentedon May 17, 2018
That's for the source geometry only, it doesn't take into account the paint/layout properties on the layer which create a rendered feature which has a different box to the source geometry.