<commit_before>(function(rc) {
	"use strict";
	
	rc.map = {
		init: function() {
			L.Icon.Default.imagePath = 'css/images';
			
			this.map = L.map('map', {
				maxZoom: 18
			}).setView([49.15, 9.22], 11);
			
			this.map.addLayer(new L.TileLayer('http://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png', {
                maxZoom: 18
			}));
			
			var data = rc.filteredData(this.map.getCenter());
			for (var index in data) {
				var amenity = data[index];
				L.marker([amenity.lat, amenity.lon]).addTo(this.map);
			}
		},
		getCenter : function() {
			return this.map.getCenter();
		},
		on : function(eventName, handler) {
			this.map.on(eventName, handler);
		}
	};
}(rc));<commit_msg>marker optimized<commit_after>(function(rc) {
	"use strict";
	
	rc.map = {
		init: function() {
			L.Icon.Default.imagePath = 'css/images';
			
			this.map = L.map('map', {
				maxZoom: 18
			}).setView([49.15, 9.22], 11);
			
			this.map.addLayer(new L.TileLayer('http://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png', {
                maxZoom: 18
			}));
			
			var data = rc.filteredData(this.map.getCenter());
			for (var index in data) {
				var amenity = data[index];
				var marker = new L.Marker(amenity.pos);
				marker.addTo(this.map);
			}
		},
		getCenter : function() {
			return this.map.getCenter();
		},
		on : function(eventName, handler) {
			this.map.on(eventName, handler);
		}
	};
}(rc));
{'fraction_non_alphanumeric': 0.19873150105708245, 'fraction_numerical': 0.018322762508809022, 'mean_word_length': 2.746701846965699, 'pattern_counts': {'":': 0, '<': 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': '211436', 'n_tokens_mistral': 657, 'n_tokens_neox': 534, 'n_words': 87}