<?php require 'includes/auth.php'; ?>
<?php include 'includes/header.php'; ?>
<?php include 'includes/sidebar.php'; ?>

<?php $booking_id = $_GET['id']; ?>

<div class="content-wrapper">
<section class="content pt-4">
<div class="container-fluid">

<h3>Select Driver for Booking #<?= $booking_id ?></h3>

<div id="map" style="height:600px;"></div>

</div>
</section>
</div>

<script>
let bookingId = <?= $booking_id ?>;
</script>

<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_GOOGLE_MAPS_API_KEY"></script>
<script src="assets/js/dispatch_map.js"></script>

<?php include 'includes/footer.php'; ?>
