forked from edward/owl-map
'Part of' in item detail links to object on OSM
This commit is contained in:
parent
bd808243f2
commit
0e1df75725
|
@ -573,8 +573,14 @@
|
||||||
<br>part of:
|
<br>part of:
|
||||||
<span v-for="(part_of, part_of_index) in osm.part_of">
|
<span v-for="(part_of, part_of_index) in osm.part_of">
|
||||||
<span v-if="part_of_index != 0">, </span>
|
<span v-if="part_of_index != 0">, </span>
|
||||||
{{ part_of.tags.name }}
|
|
||||||
|
<a
|
||||||
|
:href="`https://www.openstreetmap.org/${part_of.type}/${part_of.id}`"
|
||||||
|
target="_blank"
|
||||||
|
@click.stop>
|
||||||
|
{{ part_of.tags.name }} <i class="fa fa-map-o"></i></a>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span v-if="osm.tags.ele">
|
<span v-if="osm.tags.ele">
|
||||||
|
|
Loading…
Reference in a new issue