pl map added

This commit is contained in:
Benjamin Takats
2022-12-17 19:05:18 +01:00
parent 9c933e740b
commit eeb371f5cc
2 changed files with 2 additions and 3 deletions

View File

@@ -91,7 +91,6 @@
x-data="{ x-data="{
init() { init() {
let markers = {{ Js::from($markers) }}; let markers = {{ Js::from($markers) }};
console.log(markers);
$('#map').vectorMap({ $('#map').vectorMap({
zoomButtons : false, zoomButtons : false,

View File

@@ -14,8 +14,8 @@
sie auf einem der Meetups kennen. </p> sie auf einem der Meetups kennen. </p>
@php @php
$map = $country->code . '_merc'; $map = $country->code . '_merc';
if (!\File::exists(public_path('vendor/jvector/maps/' . $map . '.js'))) { if (!\File::exists(public_path('vendor/jvector/maps/' . $country->code . '.js'))) {
$map = 'europe-merc'; $map = 'europe_merc';
} }
@endphp @endphp
<div <div