<commit_before>google.load('maps', '3', { other_params: 'libraries=geometry&sensor=false' });

var Gmaps4Rails = {
	//map config
	map: null,									//contains the map we're working on
	visibleInfoWindow: null,
  
	//Map settings
	map_options: {
	  id: 'gmaps4rails_map',
	  type: "ROADMAP",        // HYBRID, ROADMAP, SATELLITE, TERRAIN
		center_latitude : 0,
		center_longitude : 0, 
		zoom : 1,
		maxZoom: null,
		minZoom: null,
		auto_adjust : false,    //adjust the map to the markers if set to true
		auto_zoom: true,        //zoom given by auto-adjust
		bounds: []            //adjust map to these limits only (not taken into account if auto_adjust == true). Should be filled with SW and NE
		},				
	
	//markers + info styling
	markers_conf: {
	  picture : "",
		width : 22,
		length : 32,
		//clustering config
	  do_clustering: true,			//do clustering if set to true
	  clusterer_gridSize: 50,		//the more the quicker but the less precise
		clusterer_maxZoom:  5,		//removes clusterer  at this zoom level
		randomize: false,         //Google maps can't display two markers which have the same coordinates. This randomizer enables to prevent this situation from happening.
		max_random_distance: 100, //in meters. Each marker coordinate could be altered by this distance in a random direction
		list_container : null     //id of the ul that will host links to all markers
		},
	
	//Stored variables
	markers : [],							  //contains all markers. A marker contains the following: {"description": , "longitude": , "title":, "latitude":, "picture": "", "width": "", "length": "", "sidebar": "", "google_object": google_marker}
	bounds_object: null,				//contains current bounds from markers, polylines etc...
	polygons: [], 						  //contains raw data, array of arrays (first element could be a hash containing options)
	polylines: [], 						  //contains raw data, array of arrays (first element could be a hash containing options)
	circles: [],                //contains raw data, array of hash
  markerClusterer: null,			//contains all marker clusterers
  
	//Polygon Styling
	polygons_conf: {						//default style for polygons
		strokeColor: "#000",
  	strokeOpacity: 0.8,
  	strokeWeight: 2,
  	fillColor: "#000",
  	fillOpacity: 0.35
		},

	//Polyline Styling		
	polylines_conf: {						//default style for polylines
		strokeColor: "#FF0000",
  	strokeOpacity: 1,
  	strokeWeight: 2
		},
		
	//Circle Styling	
	circles_conf: {							//default style for circles
	  fillColor: "#000",
	  fillOpacity: 0.35,
		strokeColor: "#0000",
	  strokeOpacity: 0.8,
	  strokeWeight: 2
		},
	
	//Direction Settings
	direction_conf: {
		panel_id: 					null,
		display_panel: 			false,
		origin: 						null, 
    destination: 				null,<commit_msg>Google wants colors expressed as #000000 and not as #000 nor as #0000<commit_after>google.load('maps', '3', { other_params: 'libraries=geometry&sensor=false' });

var Gmaps4Rails = {
	//map config
	map: null,									//contains the map we're working on
	visibleInfoWindow: null,
  
	//Map settings
	map_options: {
	  id: 'gmaps4rails_map',
	  type: "ROADMAP",        // HYBRID, ROADMAP, SATELLITE, TERRAIN
		center_latitude : 0,
		center_longitude : 0, 
		zoom : 1,
		maxZoom: null,
		minZoom: null,
		auto_adjust : false,    //adjust the map to the markers if set to true
		auto_zoom: true,        //zoom given by auto-adjust
		bounds: []            //adjust map to these limits only (not taken into account if auto_adjust == true). Should be filled with SW and NE
		},				
	
	//markers + info styling
	markers_conf: {
	  picture : "",
		width : 22,
		length : 32,
		//clustering config
	  do_clustering: true,			//do clustering if set to true
	  clusterer_gridSize: 50,		//the more the quicker but the less precise
		clusterer_maxZoom:  5,		//removes clusterer  at this zoom level
		randomize: false,         //Google maps can't display two markers which have the same coordinates. This randomizer enables to prevent this situation from happening.
		max_random_distance: 100, //in meters. Each marker coordinate could be altered by this distance in a random direction
		list_container : null     //id of the ul that will host links to all markers
		},
	
	//Stored variables
	markers : [],							  //contains all markers. A marker contains the following: {"description": , "longitude": , "title":, "latitude":, "picture": "", "width": "", "length": "", "sidebar": "", "google_object": google_marker}
	bounds_object: null,				//contains current bounds from markers, polylines etc...
	polygons: [], 						  //contains raw data, array of arrays (first element could be a hash containing options)
	polylines: [], 						  //contains raw data, array of arrays (first element could be a hash containing options)
	circles: [],                //contains raw data, array of hash
  markerClusterer: null,			//contains all marker clusterers
  
	//Polygon Styling
	polygons_conf: {						//default style for polygons
		strokeColor: "#FFAA00",
  	strokeOpacity: 0.8,
  	strokeWeight: 2,
    fillColor: "#000000",
  	fillOpacity: 0.35
		},

	//Polyline Styling		
	polylines_conf: {						//default style for polylines
		strokeColor: "#FF0000",
  	strokeOpacity: 1,
  	strokeWeight: 2
		},
		
	//Circle Styling	
	circles_conf: {							//default style for circles
	  fillColor: "#00AAFF",
	  fillOpacity: 0.35,
		strokeColor: "#FFAA00",
	  strokeOpacity: 0.8,
	  strokeWeight: 2
		},
	
	//Direction Settings
	direction_conf: {
		panel_id: 					null,
		display_panel: 			false,
		origin: 						null, 
    destination: 				null,
{'fraction_non_alphanumeric': 0.10652487382840663, 'fraction_numerical': 0.01910598413842826, 'mean_word_length': 2.980631276901004, 'pattern_counts': {'":': 18, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1987871', 'n_tokens_mistral': 2030, 'n_tokens_neox': 1730, 'n_words': 607}