<commit_before>/* global google */
import _ from "lodash";
import React, { Component } from 'react';
import Helmet from "react-helmet";

import {
  withGoogleMap,
  GoogleMap,
  Marker,
  InfoWindow,
} from 'react-google-maps';

/*
 * This is the modify version of:
 * https://developers.google.com/maps/documentation/javascript/examples/event-arguments
 *
 * Add <script src="https://maps.googleapis.com/maps/api/js"></script> to your HTML to provide google.maps reference
 */
const GoogleMapRender = withGoogleMap(props => {
  console.log('props', props.defaultCenter)
  return (
  <GoogleMap
    ref={props.onMapLoad}
    onClick={props.onMapClick}
    center={props.defaultCenter}
    zoom={15}
  >
    {props.markers.map((marker, index)=> (
      <Marker
        {...marker}
        onClick={() => props.onMarkerLeftClick(marker, index)}
      >
      </Marker>
    ))}
  </GoogleMap>
  )
});

export default GoogleMapRender;
        // onClick={() => props.onMarkerLeftClick(marker)}
<commit_msg>change zoom on google map<commit_after>/* global google */
import _ from "lodash";
import React, { Component } from 'react';
import Helmet from "react-helmet";

import {
  withGoogleMap,
  GoogleMap,
  Marker,
  InfoWindow,
} from 'react-google-maps';

/*
 * This is the modify version of:
 * https://developers.google.com/maps/documentation/javascript/examples/event-arguments
 *
 * Add <script src="https://maps.googleapis.com/maps/api/js"></script> to your HTML to provide google.maps reference
 */
const GoogleMapRender = withGoogleMap(props => {
  console.log('props', props.defaultCenter)
  return (
  <GoogleMap
    ref={props.onMapLoad}
    onClick={props.onMapClick}
    center={props.defaultCenter}
    zoom={12}
  >
    {props.markers.map((marker, index)=> (
      <Marker
        {...marker}
        onClick={() => props.onMarkerLeftClick(marker, index)}
      >
      </Marker>
    ))}
  </GoogleMap>
  )
});

export default GoogleMapRender;
        // onClick={() => props.onMarkerLeftClick(marker)}

{'fraction_non_alphanumeric': 0.15079365079365079, 'fraction_numerical': 0.001984126984126984, 'mean_word_length': 3.4329670329670328, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 23, 'https://': 4, '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': '2409065', 'n_tokens_mistral': 633, 'n_tokens_neox': 628, 'n_words': 132}