|
|
|
@ -41,6 +41,7 @@ |
|
|
|
<div class="col-md-6"> |
|
|
|
<div class="panel panel-default"> |
|
|
|
<div class="panel-heading"><h3 class="panel-title">{{ __('user.cemetery_location') }}</h3></div> |
|
|
|
@if ($mapCenterLatitude && $mapCenterLongitude) |
|
|
|
<div class="panel-body"><div id="mapid"></div></div> |
|
|
|
<div class="panel-footer"> |
|
|
|
@php |
|
|
|
@ -52,12 +53,15 @@ |
|
|
|
['class' => 'btn btn-default btn-block', 'target' => '_blank'] |
|
|
|
) }} |
|
|
|
</div> |
|
|
|
@else |
|
|
|
<div class="panel-body">{{ __('app.data_not_available') }}</div> |
|
|
|
@endif |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@endsection |
|
|
|
|
|
|
|
|
|
|
|
@if ($mapCenterLatitude && $mapCenterLongitude) |
|
|
|
@section('ext_css') |
|
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" |
|
|
|
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" |
|
|
|
@ -84,3 +88,4 @@ |
|
|
|
var marker = L.marker(mapCenter).addTo(map); |
|
|
|
</script> |
|
|
|
@endsection |
|
|
|
@endif |