Added google maps link to building

This commit is contained in:
Frank Schubert
2021-07-15 20:46:33 +02:00
parent 9f8b58c542
commit 2c7b6433ff

View File

@@ -131,6 +131,17 @@
</div>
</div>
<?php if($building->gps_lat && $building->gps_long): ?>
<div class="row mb-3">
<div class="col-lg-2">
</div>
<div class="col-lg-10">
<a href="https://www.google.com/maps/search/?api=1&query=<?=$building->gps_lat?>,<?=$building->gps_long?>" target="_blank"><i class="fas fa-external-link-alt"></i> Auf Google Maps öffnen</a>
</div>
</div>
<?php endif; ?>
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="laea">LAEA Koordinaten</label>
<div class="col-lg-10">