mapbox-gl-accessibility icon indicating copy to clipboard operation
mapbox-gl-accessibility copied to clipboard

Order POIs by proximity to user location

Open 1ec5 opened this issue 8 years ago • 1 comments

When the geolocate control is enabled and trackUserLocation is enabled, the accessible elements could be ordered to start at the user location marker and radiate outward. At least this is how our iOS implementation does it. Otherwise, we could order the elements from top-left to bottom-right; either way, consistency helps the user know how far they’ve gotten through the list of elements.

/cc @tristen

1ec5 avatar Nov 17 '17 03:11 1ec5

Otherwise, we could order the elements from top-left to bottom-right; either way, consistency helps the user know how far they’ve gotten through the list of elements.

Agreed. I think top-left to bottom-right should be the default since only a small fraction of GL JS maps will have the geolocate control enabled, but also agreed that order by distance is very useful for some applications.

andrewharvey avatar May 17 '18 03:05 andrewharvey