Vorlage:Distanz
(Unterschied zwischen Versionen)
Zeile 1: | Zeile 1: | ||
− | <includeonly>{{Entfernungsformat|{{#geodistance:{{#var:G}}|{{{2}}}|unit=km|service=google}}}} {{{3}}} {{#vardefine:H|{{#coordinates:{{{2}}}|format=float|directional=no}}}}[https://maps.google.com/maps?saddr={{#replace:{{#replace:{{#var:G}}| |+}}|,|}}&daddr={{#replace:{{#replace:{{#var:H}}| |+}}|,|}} Route] | + | <includeonly>{{#arraydefine:Entfernungsarray|{{#arrayprint:Entfernungsarray}},{{Entfernungsformat|{{#geodistance:{{#var:G}}|{{{2}}}|unit=km|service=google}}}} {{{3}}} {{#vardefine:H|{{#coordinates:{{{2}}}|format=float|directional=no}}}}[https://maps.google.com/maps?saddr={{#replace:{{#replace:{{#var:G}}| |+}}|,|}}&daddr={{#replace:{{#replace:{{#var:H}}| |+}}|,|}} Route]}}</includeonly> |