Decent fix of gps-locking behaviour: single click will zoom, second click within 3sec will lock the gps location + better icons + disable of dragging while locked, fix of #458

This commit is contained in:
Pieter Vander Vennet 2021-08-19 23:41:48 +02:00
parent 4284f8184e
commit aef7b8a684
10 changed files with 305 additions and 94 deletions

View file

@ -1 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Calque_1" data-name="Calque 1"><path class="cls-1" d="M23.86,11.25H20A8.09,8.09,0,0,0,12.77,4V.11H11.23V4A8.11,8.11,0,0,0,4,11.29H.14v1.58H4a8.06,8.06,0,0,0,7.26,7.25V24h1.54V20.11A8.06,8.06,0,0,0,20,12.86h3.83V11.25ZM12,18.55a6.45,6.45,0,0,1-3.61-1.1,6.51,6.51,0,0,1-2.77-6.69A6.59,6.59,0,0,1,7.4,7.43,6.51,6.51,0,0,1,14.49,6a6.49,6.49,0,0,1,4,6,6.52,6.52,0,0,1-1.9,4.62,6.37,6.37,0,0,1-2.12,1.42,6.49,6.49,0,0,1-2.5.5Z"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<defs>
<style>.cls-1{fill:#000;}</style>
</defs>
<g id="Calque_1" data-name="Calque 1">
<path class="cls-1"
d="M23.86,11.25H20A8.09,8.09,0,0,0,12.77,4V.11H11.23V4A8.11,8.11,0,0,0,4,11.29H.14v1.58H4a8.06,8.06,0,0,0,7.26,7.25V24h1.54V20.11A8.06,8.06,0,0,0,20,12.86h3.83V11.25ZM12,18.55a6.45,6.45,0,0,1-3.61-1.1,6.51,6.51,0,0,1-2.77-6.69A6.59,6.59,0,0,1,7.4,7.43,6.51,6.51,0,0,1,14.49,6a6.49,6.49,0,0,1,4,6,6.52,6.52,0,0,1-1.9,4.62,6.37,6.37,0,0,1-2.12,1.42,6.49,6.49,0,0,1-2.5.5Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 546 B

After

Width:  |  Height:  |  Size: 599 B

Before After
Before After