async function init() {
  await loadScript();
  const MAP = new google.maps.Map(document.getElementById('map'), {
    center: {lat: 41.932875, lng: -87.761911},
    zoom: 12,
    styles: map_styles
  });

  const ARC_LAYER = getArcLayer();

  const overlay = new GoogleMapsOverlay({
    layers: [ARC_LAYER]
  });
  overlay.setMap(MAP);
}
// 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: {lat: 41.932875, lng: -87.761911},
    zoom: 12,
    styles: map_styles
  });
  const ARC_LAYER = getArcLayer();
  const overlay = new GoogleMapsOverlay({
    layers: [ARC_LAYER]
  });
  overlay.setMap(MAP);
}
async function init ( ) { await loadScript ( ) ; const MAP = new google . maps . Map ( document . getElementById ( 'map' ) , { center : { lat : 41.932875 , lng : - 87.761911 } , zoom : 12 , styles : map_styles } ) ; const ARC_LAYER = getArcLayer ( ) ; const overlay = new GoogleMapsOverlay ( { layers : [ ARC_LAYER ] } ) ; overlay . setMap ( MAP ) ; }
Init the base map and deck.gl GoogleMapsOverlay, then add the layer
Init the base map and deck . gl GoogleMapsOverlay then add the layer