hop
This commit is contained in:
parent
3e7cb3c7ae
commit
01767971dc
@ -989,7 +989,7 @@ function displayPointsFromApi(points) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (typeof feature.properties.tags['cuisine'] !== typeof undefined && feature.properties.tags['cuisine'].length) {
|
if (typeof feature.properties.tags['cuisine'] !== typeof undefined && feature.properties.tags['cuisine'].length) {
|
||||||
cuisine = ' - cuisine: ' + (feature.properties.tags['cuisine'] | '');
|
cuisine = ` - cuisine: ${feature.properties.tags['cuisine'] | ''}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
let html = '<a href="https://www.openstreetmap.org/' + feature.id + '"> ' + rest_name + ' ' + cuisine + '</a>' +
|
let html = '<a href="https://www.openstreetmap.org/' + feature.id + '"> ' + rest_name + ' ' + cuisine + '</a>' +
|
||||||
|
Loading…
Reference in New Issue
Block a user