Skip to content

Instantly share code, notes, and snippets.

@akdh
Created April 30, 2014 19:19
Show Gist options
  • Save akdh/9da295793dd8aaf3c9a0 to your computer and use it in GitHub Desktop.
Save akdh/9da295793dd8aaf3c9a0 to your computer and use it in GitHub Desktop.
TREC 2014 Contexts Map
<html>
<head>
<title>TREC 2014 Contextual Suggestion Track Contexts</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.css" />
<style type="text/css">
#map { height: 600px; width: 1000px; }
</style>
</head>
<body>
</body>
<div id="map"></div>
<script src="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.js"></script>
<script type="text/javascript">
var washington = L.latLng(38, -100)
var map = L.map('map', {fullscreenControl: true}).setView(washington, 4);
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);
L.marker([42.12922, -80.08506]).addTo(map).bindPopup('Erie, PA')
L.marker([32.792, -115.56305]).addTo(map).bindPopup('El Centro, CA')
L.marker([42.33143, -83.04575]).addTo(map).bindPopup('Detroit, MI')
L.marker([40.03788, -76.30551]).addTo(map).bindPopup('Lancaster, PA')
L.marker([25.90175, -97.49748]).addTo(map).bindPopup('Brownsville, TX')
L.marker([43.6135, -116.20345]).addTo(map).bindPopup('Boise, ID')
L.marker([46.06458, -118.34302]).addTo(map).bindPopup('Walla Walla, WA')
L.marker([30.62798, -96.33441]).addTo(map).bindPopup('College Station, TX')
L.marker([42.29171, -85.58723]).addTo(map).bindPopup('Kalamazoo, MI')
L.marker([43.775, -88.43883]).addTo(map).bindPopup('Fond du Lac, WI')
L.marker([40.4167, -86.87529]).addTo(map).bindPopup('Lafayette, IN')
L.marker([30.45075, -91.15455]).addTo(map).bindPopup('Baton Rouge, LA')
L.marker([39.16532, -86.52639]).addTo(map).bindPopup('Bloomington, IN')
L.marker([28.80527, -97.0036]).addTo(map).bindPopup('Victoria, TX')
L.marker([42.50056, -90.66457]).addTo(map).bindPopup('Dubuque, IA')
L.marker([28.80359, -82.57593]).addTo(map).bindPopup('Homosassa Springs, FL')
L.marker([39.65287, -78.76252]).addTo(map).bindPopup('Cumberland, MD')
L.marker([32.52515, -93.75018]).addTo(map).bindPopup('Shreveport, LA')
L.marker([34.05223, -118.24368]).addTo(map).bindPopup('Los Angeles, CA')
L.marker([45.52345, -122.67621]).addTo(map).bindPopup('Portland, OR')
L.marker([42.96336, -85.66809]).addTo(map).bindPopup('Grand Rapids, MI')
L.marker([43.66147, -70.25533]).addTo(map).bindPopup('Portland, ME')
L.marker([38.36067, -75.59937]).addTo(map).bindPopup('Salisbury, MD')
L.marker([38.25445, -104.60914]).addTo(map).bindPopup('Pueblo, CO')
L.marker([40.58654, -122.39168]).addTo(map).bindPopup('Redding, CA')
L.marker([34.79981, -87.67725]).addTo(map).bindPopup('Florence, AL')
L.marker([40.92501, -98.34201]).addTo(map).bindPopup('Grand Island, NE')
L.marker([41.52364, -90.57764]).addTo(map).bindPopup('Davenport, IA')
L.marker([36.15398, -95.99278]).addTo(map).bindPopup('Tulsa, OK')
L.marker([35.8423, -90.70428]).addTo(map).bindPopup('Jonesboro, AR')
L.marker([44.02163, -92.4699]).addTo(map).bindPopup('Rochester, MN')
L.marker([32.71533, -117.15726]).addTo(map).bindPopup('San Diego, CA')
L.marker([37.77422, -87.11333]).addTo(map).bindPopup('Owensboro, KY')
L.marker([25.77427, -80.19366]).addTo(map).bindPopup('Miami, FL')
L.marker([36.85293, -75.97798]).addTo(map).bindPopup('Virginia Beach, VA')
L.marker([32.72532, -114.6244]).addTo(map).bindPopup('Yuma, AZ')
L.marker([40.32674, -78.92197]).addTo(map).bindPopup('Johnstown, PA')
L.marker([36.52977, -87.35945]).addTo(map).bindPopup('Clarksville, TN')
L.marker([35.38592, -94.39855]).addTo(map).bindPopup('Fort Smith, AR')
L.marker([42.88645, -78.87837]).addTo(map).bindPopup('Buffalo, NY')
L.marker([41.66394, -83.55521]).addTo(map).bindPopup('Toledo, OH')
L.marker([38.58157, -121.4944]).addTo(map).bindPopup('Sacramento, CA')
L.marker([40.12448, -87.63002]).addTo(map).bindPopup('Danville, IL')
L.marker([41.68338, -86.25001]).addTo(map).bindPopup('South Bend, IN')
L.marker([61.21806, -149.90028]).addTo(map).bindPopup('Anchorage, AK')
L.marker([35.08449, -106.65114]).addTo(map).bindPopup('Albuquerque, NM')
L.marker([39.09973, -94.57857]).addTo(map).bindPopup('Kansas City, MO')
L.marker([34.75405, -77.43024]).addTo(map).bindPopup('Jacksonville, NC')
L.marker([21.30694, -157.85833]).addTo(map).bindPopup('Honolulu, HI')
L.marker([34.60869, -98.39033]).addTo(map).bindPopup('Lawton, OK')
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment