forked from MapComplete/MapComplete
Fix: reviews need an uncertainty
This commit is contained in:
parent
50f3e71d55
commit
bc96288d3d
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ export default class FeatureReviews {
|
||||||
// `u` stands for `uncertainty`, https://www.rfc-editor.org/rfc/rfc5870#section-3.4.3
|
// `u` stands for `uncertainty`, https://www.rfc-editor.org/rfc/rfc5870#section-3.4.3
|
||||||
const self = this
|
const self = this
|
||||||
return this._name.map(function (name) {
|
return this._name.map(function (name) {
|
||||||
let uri = `geo:${self._lat},${self._lon}?u=${self._uncertainty}`
|
let uri = `geo:${self._lat},${self._lon}?u=${Math.round(self._uncertainty)}`
|
||||||
if (name) {
|
if (name) {
|
||||||
uri += "&q=" + (dontEncodeName ? name : encodeURIComponent(name))
|
uri += "&q=" + (dontEncodeName ? name : encodeURIComponent(name))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue