You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/index/InlineMap/InlineMap.blade.php

10 lines
434 B
PHTML

<section id='InlineMap'>
<div id="mapContainer" @if(getSetting($data->area->name.'_'.$data->part.'_dark')) class="dark-mode" @endif>
</div>
@php($mapData = explode(',',getSetting($data->area->name.'_'.$data->part.'_loc')))
<input type="hidden" id="maplat" value="{{$mapData[0]}}">
<input type="hidden" id="maplng" value="{{$mapData[1]}}">
<input type="hidden" id="mapzoom" value="{{$mapData[2]}}">
</section>