mx.js added

This commit is contained in:
HolgerHatGarKeineNode
2023-06-01 11:57:17 +02:00
parent b15214e5c7
commit 94a6928e79

View File

@@ -46,6 +46,8 @@
if (!\File::exists(public_path('vendor/jvector/maps/' . $country->code . '.js'))) {
$map = 'europe_merc';
$focus = 'focusOn: {lat:'.$country->latitude.',lng:'.$country->longitude.',scale:8,animate:true},';
} elseif ($country->code === 'mx') {
$focus = 'focusOn: {lat:'.$country->latitude.',lng:'.$country->longitude.',scale:8,animate:true},';
}
@endphp
<div