<commit_before><!DOCTYPE html>
<html>
<head>
  <title>Adding Pelias geocoding to a Tangram map.</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
  <script src="modernizr.js"></script>

  <!-- Load Leaflet from CDN -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.0-beta.1/leaflet.css">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.0-beta.1/leaflet.js"></script>

  <!-- With leaflet-hash -->
  <script src="https://s3.amazonaws.com/assets-staging.mapzen.com/ui/libraries/leaflet-hash/0.2.1/leaflet-hash.js"></script>

  <!-- Load Pelias geocoding plugin after Leaflet -->
  <link rel="stylesheet" href="../dist/pelias-leaflet-geocoder.css">
  <script src="../dist/pelias-leaflet-geocoder.js"></script>

  <!-- Load Tangram -->
  <script src="https://mapzen.com/tangram/tangram.min.js"></script>

  <link rel="stylesheet" href="examples.css">
</head>
<body>
  <div id="message" class="no-webgl-message">Your browser cannot display the map on this page. <a href="index.html">Try this one instead.</a></div>
  <div id="map"></div>
  <script>
    // Create a basic Leaflet map (with URL hash enabled)
    var map = L.map('map').setView([43.0809, -89.3747], 13);
    var hash = new L.Hash(map);

    // Add Pelias geocoding plugin
    var options = {
      pointIcon: '../dist/images/point_icon.png',
      polygonIcon: '../dist/images/polygon_icon.png',
    }
    var geocoder = L.control.geocoder('search-MKZrG6M', options).addTo(map);

    // Add Tangram scene layer
    // (Note: Tangram can also be initialized before the Pelias geocoder, if you choose.)
    var layer = Tangram.leafletLayer({
      scene: 'https://raw.githubusercontent.com/tangrams/multiverse/gh-pages/styles/tangram-toner.yaml',
      attribution: 'Rendering by <a href="https://mapzen.com/tangram">Tangram</a> | &copy; OSM contributors | <a href="https://mapzen.com/">Mapzen</a>'
    }).addTo(map);
  </script>
  <script type="text/javascript">
    // Compatibility checks
    (function () {
      var messageEl = document.getElementById('message');
      var mapEl = document.getElementById('map');
      var height;
      // This message box is displayed if Modernizr cannot detect WebGL support.
      if (messageEl.style.display !== 'none') {
        height = messageEl.getBoundingClientRect().bottom; // No .height in IE8, but top is assumed to be 0
        mapEl.style.top = height.toString() + 'px';
      }
    })();
  </script>
</body>
</html><commit_msg>use refill style<commit_after><!DOCTYPE html>
<html>
<head>
  <title>Adding Pelias geocoding to a Tangram map.</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
  <script src="modernizr.js"></script>

  <!-- Load Leaflet from CDN -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.0-beta.1/leaflet.css">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.0-beta.1/leaflet.js"></script>

  <!-- With leaflet-hash -->
  <script src="https://s3.amazonaws.com/assets-staging.mapzen.com/ui/libraries/leaflet-hash/0.2.1/leaflet-hash.js"></script>

  <!-- Load Pelias geocoding plugin after Leaflet -->
  <link rel="stylesheet" href="../dist/pelias-leaflet-geocoder.css">
  <script src="../dist/pelias-leaflet-geocoder.js"></script>

  <!-- Load Tangram -->
  <script src="https://mapzen.com/tangram/tangram.min.js"></script>

  <link rel="stylesheet" href="examples.css">
</head>
<body>
  <div id="message" class="no-webgl-message">Your browser cannot display the map on this page. <a href="index.html">Try this one instead.</a></div>
  <div id="map"></div>
  <script>
    // Create a basic Leaflet map (with URL hash enabled)
    var map = L.map('map').setView([43.0809, -89.3747], 13);
    var hash = new L.Hash(map);

    // Add Pelias geocoding plugin
    var options = {
      pointIcon: '../dist/images/point_icon.png',
      polygonIcon: '../dist/images/polygon_icon.png',
    }
    var geocoder = L.control.geocoder('search-MKZrG6M', options).addTo(map);

    // Add Tangram scene layer
    // (Note: Tangram can also be initialized before the Pelias geocoder, if you choose.)
    var layer = Tangram.leafletLayer({
      scene: 'https://raw.githubusercontent.com/tangrams/refill/gh-pages/refill.yaml',
      attribution: 'Rendering by <a href="https://mapzen.com/tangram">Tangram</a> | &copy; OSM contributors | <a href="https://mapzen.com/">Mapzen</a>'
    }).addTo(map);
  </script>
  <script type="text/javascript">
    // Compatibility checks
    (function () {
      var messageEl = document.getElementById('message');
      var mapEl = document.getElementById('map');
      var height;
      // This message box is displayed if Modernizr cannot detect WebGL support.
      if (messageEl.style.display !== 'none') {
        height = messageEl.getBoundingClientRect().bottom; // No .height in IE8, but top is assumed to be 0
        mapEl.style.top = height.toString() + 'px';
      }
    })();
  </script>
</body>
</html>
{'fraction_non_alphanumeric': 0.1770529994175888, 'fraction_numerical': 0.012424771888953601, 'mean_word_length': 3.407185628742515, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, 'https://': 14, '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': '3585727', 'n_tokens_mistral': 1799, 'n_tokens_neox': 1724, 'n_words': 375}