Web-Map-Custom-Element icon indicating copy to clipboard operation
Web-Map-Custom-Element copied to clipboard

Reload button on mobile

Open prushforth opened this issue 2 years ago • 3 comments

Small visual issue: Screenshot_20230324-080334

prushforth avatar Mar 24 '23 12:03 prushforth

Looks like the zoom control is affected too, but not the full screen button.

prushforth avatar Mar 24 '23 12:03 prushforth

Also, the reload button has both title and aria-label attributes, so it announces itself as "reload button reload", redundantly. Let's fix that as part of this issue.

prushforth avatar Mar 29 '23 17:03 prushforth

Same with the locate control:

image

I used https://fonts.google.com/icons for the layers control icon, perhaps we should use the SVG icons for the following as well, for consistency:

Zoom in:

<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e8eaed"><path d="M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"/></svg>

Zoom out:

<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e8eaed"><path d="M200-440v-80h560v80H200Z"/></svg>

Reload:

<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e8eaed"><path d="M480-80q-75 0-140.5-28.5t-114-77q-48.5-48.5-77-114T120-440h80q0 117 81.5 198.5T480-160q117 0 198.5-81.5T760-440q0-117-81.5-198.5T480-720h-6l62 62-56 58-160-160 160-160 56 58-62 62h6q75 0 140.5 28.5t114 77q48.5 48.5 77 114T840-440q0 75-28.5 140.5t-77 114q-48.5 48.5-114 77T480-80Z"/></svg>

Locate:

<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e8eaed"><path d="M516-120 402-402 120-516v-56l720-268-268 720h-56Zm26-148 162-436-436 162 196 78 78 196Zm-78-196Z"/></svg>

Malvoz avatar Aug 10 '24 01:08 Malvoz