<commit_before>import MarkerClusterer from '@google/markerclustererplus';

const googleMapsAPIKey = 'YOUR API KEY';
loadMapsJSAPI(googleMapsAPIKey);

function runApp() {
  const map = initMap();
  const markers = addMarkers(map);
  const markerCluster = clusterMarkers(map, markers);
  addPanToMarker(map, markers);
  drawCircle(map);
}

function loadMapsJSAPI(googleMapsAPIKey) {

  const googleMapsAPIURI = `https://maps.googleapis.com/maps/api/js?key=${googleMapsAPIKey}&callback=runApp`,
    head = document.querySelector('head'),
    script = document.createElement('script');

  window['runApp'] = runApp;

  script.type = 'text/javascript';
  script.src = googleMapsAPIURI;
  script.defer = true;
  script.async = true;
  head.appendChild(script);
}

function initMap() {
  let center = { lat: -33.860664, lng: 151.208138 };
  let zoom = 14;
  let mapDiv = document.getElementById('map');
  let map = new google.maps.Map(mapDiv, {
    center: center,
    zoom: zoom
  });
  return map;
}

function addMarkers(map) {
  const locations = {
    operaHouse: { lat: -33.8567844, lng: 151.213108 },
    tarongaZoo: { lat: -33.8472767, lng: 151.2188164 },
    manlyBeach: { lat: -33.8209738, lng: 151.2563253 },
    hyderPark: { lat: -33.8690081, lng: 151.2052393 },
    theRocks: { lat: -33.8587568, lng: 151.2058246 },
    circularQuay: { lat: -33.858761, lng: 151.2055688 },
    harbourBridge: { lat: -33.852228, lng: 151.2038374 },
    kingsCross: { lat: -33.8737375, lng: 151.222569 },
    botanicGardens: { lat: -33.864167, lng: 151.216387 },<commit_msg>small changes to code formatting<commit_after>import MarkerClusterer from '@google/markerclustererplus';

loadMapsJSAPI();

function runApp() {
  const map = displayMap();
  const markers = addMarkers(map);
  clusterMarkers(map, markers);
  addPanToMarker(map, markers);
  drawCircle(map);
}

function loadMapsJSAPI(googleMapsAPIKey) {
  const googleMapsAPIKey = 'YOUR API KEY';
  const googleMapsAPIURI = `https://maps.googleapis.com/maps/api/js?key=${googleMapsAPIKey}&callback=runApp`;
  const head = document.querySelector('head');
  const script = document.createElement('script');

  window['runApp'] = runApp;

  script.type = 'text/javascript';
  script.src = googleMapsAPIURI;
  script.defer = true;
  script.async = true;
  head.appendChild(script);
}

function displayMap() {
  let center = { lat: -33.860664, lng: 151.208138 };
  let zoom = 14;
  let mapDiv = document.getElementById('map');
  let map = new google.maps.Map(mapDiv, {
    center: center,
    zoom: zoom
  });
  return map;
}

function addMarkers(map) {
  const locations = {
    operaHouse: { lat: -33.8567844, lng: 151.213108 },
    tarongaZoo: { lat: -33.8472767, lng: 151.2188164 },
    manlyBeach: { lat: -33.8209738, lng: 151.2563253 },
    hyderPark: { lat: -33.8690081, lng: 151.2052393 },
    theRocks: { lat: -33.8587568, lng: 151.2058246 },
    circularQuay: { lat: -33.858761, lng: 151.2055688 },
    harbourBridge: { lat: -33.852228, lng: 151.2038374 },
    kingsCross: { lat: -33.8737375, lng: 151.222569 },
    botanicGardens: { lat: -33.864167, lng: 151.216387 },
{'fraction_non_alphanumeric': 0.14858793324775352, 'fraction_numerical': 0.11810012836970475, 'mean_word_length': 4.003210272873194, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1909659', 'n_tokens_mistral': 1401, 'n_tokens_neox': 1158, 'n_words': 240}