mobile search
This commit is contained in:
parent
23abbc034f
commit
0c11899529
|
|
@ -34,9 +34,8 @@
|
|||
<div class="col-7 ">
|
||||
<div class="it-detail">
|
||||
<b>@lang('ClientSide.description'): </b>{!! Markdown::parse($event->description) !!}
|
||||
<span property="location" typeof="Place">
|
||||
<i class="fa fa-map-marker"></i>
|
||||
<a href="{{route('venues',['id'=> $event->venue_id])}}"> <b property="name">{{$event->venue->venue_name}}</b></a>
|
||||
<span property="location" typeof="Place" class="text-dark film_name">
|
||||
<a class="location-link" href="{{route('venues',['id'=> $event->venue_id])}}"><i class="fa fa-map-marker"></i> <b property="name">@lang('ClientSide.venue'): {{$event->venue->venue_name}}</b></a>
|
||||
<meta property="address" content="{{ urldecode($event->venue->venue_name) }}">
|
||||
</span>
|
||||
</div>
|
||||
|
|
@ -46,27 +45,27 @@
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="location" class="container p0" style="margin-bottom: 50px">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="google-maps content" id="map" style="height: 250px">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{-- <section id="location" class="container p0" style="margin-bottom: 50px">--}}
|
||||
{{-- <div class="row">--}}
|
||||
{{-- <div class="col-md-12">--}}
|
||||
{{-- <div class="google-maps content" id="map" style="height: 250px">--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </div>--}}
|
||||
{{-- </section>--}}
|
||||
@endsection
|
||||
|
||||
@section('after_scripts')
|
||||
<script>
|
||||
function initMap() {
|
||||
var uluru = {lat: {{$event->venue->address['latlng']['lat']}}, lng: {{$event->venue->address['latlng']['lng']}}};
|
||||
var map = new google.maps.Map(document.getElementById('map'), {
|
||||
center: uluru,
|
||||
zoom: 15
|
||||
});
|
||||
var marker = new google.maps.Marker({position: uluru, map: map});
|
||||
}
|
||||
</script>
|
||||
<script src="https://maps.googleapis.com/maps/api/js?key={{config('services.google_places.key')}}&callback=initMap"
|
||||
async defer></script>
|
||||
@endsection
|
||||
{{--@section('after_scripts')--}}
|
||||
{{--<script>--}}
|
||||
{{-- function initMap() {--}}
|
||||
{{-- var uluru = {lat: {{$event->venue->address['latlng']['lat']}}, lng: {{$event->venue->address['latlng']['lng']}}};--}}
|
||||
{{-- var map = new google.maps.Map(document.getElementById('map'), {--}}
|
||||
{{-- center: uluru,--}}
|
||||
{{-- zoom: 15--}}
|
||||
{{-- });--}}
|
||||
{{-- var marker = new google.maps.Marker({position: uluru, map: map});--}}
|
||||
{{-- }--}}
|
||||
{{--</script>--}}
|
||||
{{--<script src="https://maps.googleapis.com/maps/api/js?key={{config('services.google_places.key')}}&callback=initMap"--}}
|
||||
{{-- async defer></script>--}}
|
||||
{{--@endsection--}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue