<commit_before>// set up the map
var map = new L.Map('map');

var lat = getUrlParameter('lat');
var lon = getUrlParameter('lon');

if(lat && lon) {
  map.setView(new L.LatLng(lat, lon), 15);
} else {
  map.fitWorld();
}
<commit_msg>Show marker on found location<commit_after>// set up the map
var map = new L.Map('map');

var lat = getUrlParameter('lat');
var lon = getUrlParameter('lon');

if(lat && lon) {
  map.setView(new L.LatLng(lat, lon), 15);

  var icon = L.AwesomeMarkers.icon({
    prefix: 'ion',
    icon: 'android-locate',
    markerColor: 'red'
  });

  var marker = L.marker([lat, lon], {icon: icon}).addTo(map);

  marker.bindPopup("You are here!");
} else {
  map.fitWorld();
}

{'fraction_non_alphanumeric': 0.18992805755395684, 'fraction_numerical': 0.0057553956834532375, 'mean_word_length': 3.9361702127659575, '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': '6040129', 'n_tokens_mistral': 265, 'n_tokens_neox': 257, 'n_words': 68}