mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
mx.js added
This commit is contained in:
@@ -46,6 +46,8 @@
|
|||||||
if (!\File::exists(public_path('vendor/jvector/maps/' . $country->code . '.js'))) {
|
if (!\File::exists(public_path('vendor/jvector/maps/' . $country->code . '.js'))) {
|
||||||
$map = 'europe_merc';
|
$map = 'europe_merc';
|
||||||
$focus = 'focusOn: {lat:'.$country->latitude.',lng:'.$country->longitude.',scale:8,animate:true},';
|
$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
|
@endphp
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user