forked from MapComplete/MapComplete
Chore: regenerate docs, lint
This commit is contained in:
parent
7b41b617f6
commit
bad0edd4b0
201 changed files with 6044 additions and 1750 deletions
|
|
@ -52,7 +52,7 @@
|
|||
if (maxDistanceInMeters) {
|
||||
onDestroy(
|
||||
mla.location.addCallbackD((newLocation) => {
|
||||
const l : [number, number] = [newLocation.lon, newLocation.lat]
|
||||
const l: [number, number] = [newLocation.lon, newLocation.lat]
|
||||
const c: [number, number] = [initialCoordinate.lon, initialCoordinate.lat]
|
||||
const d = GeoOperations.distanceBetween(l, c)
|
||||
if (d <= maxDistanceInMeters) {
|
||||
|
|
|
|||
|
|
@ -79,9 +79,9 @@
|
|||
},
|
||||
[valuesign, beta]
|
||||
)
|
||||
|
||||
function onSave(){
|
||||
if(_value.data){
|
||||
|
||||
function onSave() {
|
||||
if (_value.data) {
|
||||
value.setData(_value.data)
|
||||
}
|
||||
}
|
||||
|
|
@ -100,10 +100,8 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<button class="primary" on:click={() => onSave()}>
|
||||
Select this incline
|
||||
</button>
|
||||
|
||||
<button class="primary" on:click={() => onSave()}>Select this incline</button>
|
||||
|
||||
<div>
|
||||
<Tr t={Translations.t.validation.slope.inputExplanation} />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue