async function init() {
  await loadScript();
  const MAP = new google.maps.Map(document.getElementById('map'), {
          center: MAP_CENTER,
          zoom: 15,
          styles: map_styles
        });        
  deckgl_overlay = new GoogleMapsOverlay();
  deckgl_overlay.setMap(MAP);
  places_lib = new google.maps.places.PlacesService(MAP);
  directions_svc = new google.maps.DirectionsService();
}
// Init the base map and deck.gl GoogleMapsOverlay, then add the layer
Init the base map and deck.gl GoogleMapsOverlay, then add the layer
Init the base map and deck . gl GoogleMapsOverlay then add the layer
async function init() {
  await loadScript();
  const MAP = new google.maps.Map(document.getElementById('map'), {
          center: MAP_CENTER,
          zoom: 15,
          styles: map_styles
        });        
  deckgl_overlay = new GoogleMapsOverlay();
  deckgl_overlay.setMap(MAP);
  places_lib = new google.maps.places.PlacesService(MAP);
  directions_svc = new google.maps.DirectionsService();
}
async function init ( ) { await loadScript ( ) ; const MAP = new google . maps . Map ( document . getElementById ( 'map' ) , { center : MAP_CENTER , zoom : 15 , styles : map_styles } ) ; deckgl_overlay = new GoogleMapsOverlay ( ) ; deckgl_overlay . setMap ( MAP ) ; places_lib = new google . maps . places . PlacesService ( MAP ) ; directions_svc = new google . maps . DirectionsService ( ) ; }
Init the base map and deck.gl GoogleMapsOverlay, then add the layer
Init the base map and deck . gl GoogleMapsOverlay then add the layer