<div id="map" style="width: 100%; height: 60vh;"></div>

@section('scripts')
  @parent
  <script type="text/javascript">
    phpvms.map.render_route_map({
      route_points: {!! json_encode($map_features['route_points']) !!},
      planned_route_line: {!! json_encode($map_features['planned_route_line']) !!},
      metar_wms: {!! json_encode(config('map.metar_wms')) !!},
      leafletOptions: {
        // scrollWheelZoom: true,
        providers: {'OpenStreetMap.Mapnik': {},}
      }
    });
  </script>
@endsection