Expose Leaflet base options to templates #895 (#896)

This commit is contained in:
Nabeel S
2020-10-23 07:35:44 -04:00
committed by GitHub
parent b37bd2cd7b
commit b85d0e6a3e
22 changed files with 27317 additions and 1063 deletions

View File

@@ -115,6 +115,9 @@ and being mindful of the rivets bindings
zoom: '{{ $zoom }}',
aircraft_icon: '{!! public_asset('/assets/img/acars/aircraft.png') !!}',
units: '{{ setting('units.distance') }}',
leafletOptions: {
scrollWheelZoom: false,
}
});
</script>
@endsection