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
We use Maplibre GL JS to draw 3D road maps. This includes road names displayed along the roads themselves. These can become illegible if the road is some distance from the camera.
Is it possible to style items such as road names so they are no longer drawn if the distance from the camera is above some threshold? That is, when they will be illegible, don't bother drawing them.
For example, in the attached (an arbitrary example taken from Bing) the roads near the camera are legible (such as Cumbernauld Road and Redford Street), but those further away (in the top left corner) are not legible. Not drawing these would both improve performance and clean up the map.
I think it's worth brining that up in the next TSC meeting, preferably with a definition of how the stylespec will look after with this addition.
HarelM
changed the title
Ability to style based on distance from the camera or legibility
[Feature] Ability to style based on distance from the camera or legibility
May 12, 2023
HarelM
changed the title
[Feature] Ability to style based on distance from the camera or legibility
Design proposal: Ability to style based on distance from the camera or legibility
Dec 31, 2023
We use Maplibre GL JS to draw 3D road maps. This includes road names displayed along the roads themselves. These can become illegible if the road is some distance from the camera.
Is it possible to style items such as road names so they are no longer drawn if the distance from the camera is above some threshold? That is, when they will be illegible, don't bother drawing them.
For example, in the attached (an arbitrary example taken from Bing) the roads near the camera are legible (such as Cumbernauld Road and Redford Street), but those further away (in the top left corner) are not legible. Not drawing these would both improve performance and clean up the map.
(moved from #162)
The text was updated successfully, but these errors were encountered: