<commit_before>/**
 * traffic.js
 * 
 * JS file to intialize the map
 *
 * Weyaka
 * <NAME>, <NAME>, <NAME>
 */

/* Initialize Google Maps API */
function initMap() {
	console.log("Initilizing map...");
	//set map options
	var mapOptions = {
		zoom: 14,
		scrollwheel: false
	};

	//initialize the map
	var map = new google.maps.Map(document.getElementById('googleMap'), mapOptions);

	if (navigator.geolocation) {
		navigator.geolocation.getCurrentPosition(function (position) {
			var pos = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
			var infoWindow = new google.maps.InfoWindow( {
				map: map,
				position: pos,
				content: 'You are here!'
			});

			map.setCenter(pos);
		}, function() {
			handleNoGeolocation(true);
		});
	}
	else {
		//Browser doesn't support geolocation
		handlleNoGeolocation(false);
	}<commit_msg>removed unecessary features in the google map object<commit_after>/**
 * traffic.js
 * 
 * JS file to intialize the map
 *
 * Weyaka
 * <NAME>, <NAME>, <NAME>
 */

/* Initialize Google Maps API */
function initMap() {
	console.log("Initilizing map...");
	//set map options
	var mapOptions = {
		zoom: 14,
		zoomControl: false, //no zoom buttons
		panControl: false //no pan buttons
	};

	//initialize the map
	var map = new google.maps.Map(document.getElementById('googleMap'), mapOptions);

	if (navigator.geolocation) {
		navigator.geolocation.getCurrentPosition(function (position) {
			var pos = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
			var infoWindow = new google.maps.InfoWindow( {
				map: map,
				position: pos,
				content: 'You are here!'
			});

			map.setCenter(pos);
		}, function() {
			handleNoGeolocation(true);
		});
	}
	else {
		//Browser doesn't support geolocation
		handlleNoGeolocation(false);
	}
{'fraction_non_alphanumeric': 0.13838550247116968, 'fraction_numerical': 0.002196595277320154, 'mean_word_length': 3.6479591836734695, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2930889', 'n_tokens_mistral': 662, 'n_tokens_neox': 594, 'n_words': 149}