sca21002 / Veduta

0 stars 0 forks source link

Geolocation: Unselect own position #33

Closed sca21002 closed 8 years ago

sca21002 commented 8 years ago

When the position of the device is found and displayed on the map, the color of the control changes. A second click on this control triggers different actions depending on the map extent: a) If the center of the estimated position lays outside of the visible map, the map is re-centered. b) Otherwise the control is deactivated and the center point and the accuracy radius is cleared.