-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhatemap.html
69 lines (64 loc) · 20.3 KB
/
hatemap.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<title>
Hatemap
</title>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<meta name="viewport" content="width=device-width, maximum-scale=1.0, user-scalable=no" />
<style>
body{
padding: 0;
margin: 0;
}
html, body, #map {
height: 100%;
}
</style>
</head>
<body>
<script src="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="assets/leaflet-heat.js"></script>
<div id="map">
</div>
<script>
var map = L.map('map',{
center: [37.37015718405753, -97.0751953125],
zoom: 3
});
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png').addTo(map);
var heat = L.heatLayer([[34.438411,-118.457197,100],[32.734895,-117.097059,100],[34.029122,-81.003682,100],[39.15,-75.52,100],[33.389757,-111.934363,100],[38.630539,-90.192821,100],[39.36,-74.42,100],[48.186231,-116.434664,100],[40.736613,-74.009447,100],[39.175925,-119.766876,100],[39.955614,-75.116591,100],[40.59,-75.11,100],[32.80735,-89.474217,100],[32.35,-89.39,100],[39.92,-75.02,100],[32.398931,-86.322463,100],[43.964897,-99.9,100],[39.24,-74.81,100],[38.8,-116.41,100],[39.360266,-104.596915,100],[31.964688,-99.9,100],[31.588871,-110.211737,100],[27.950575,-82.457177,100],[44.763056,-85.620631,100],[44.068201,-114.74204,100],[38.945066,-94.577919,100],[36.226827,-93.107676,100],[38.956829,-77.013344,100],[34.228431,-92.003195,100],[35.481198,-97.660236,100],[42.719411,-74.006509,100],[47.754329,-120.74,100],[38.89,-77.06,100],[36.095758,-86.82262,100],[33.659825,-85.831631,100],[35.92,-86.86,100],[41.81329,-88.021633,100],[38.135397,-80.213126,100],[36.019649,-79.762417,100],[27.813325,-82.729217,100],[27.446686,-82.377733,100],[33.67,-117.16,100],[31.16,-90.28,100],[37.37,-77.5,100],[46.87404,-110.36,100],[26.543329,-82.116955,100],[32.775951,-97.400287,100],[42.247361,-89.080022,100],[37.326158,-91.955988,100],[39.760071,-75.533492,100],[40.53,-74.31,100],[37.59161,-77.642157,100],[39.549324,-105.78,100],[35.754035,-79.01,100],[37.409999,-79.14,100],[38.713451,-77.795271,100],[41.204231,-77.19,100],[26.360597,-80.174669,100],[43.29,-74.21608,100],[30.3339,-97.684885,100],[30.24,-85.64,100],[36.72,-91.85,100],[43.19,-71.574211,100],[35.198781,-91.83,100],[29.698225,-95.357319,100],[47.597829,-122.33,100],[28.92,-82.459999,100],[26.514736,-97.763401,100],[32.221742,-110.926479,100],[28.458885,-81.394926,100],[35.268007,-80.882107,100],[36.513839,-119.554017,100],[34.2,-118.47,100],[40.78,-82.73,100],[43.78324,-88.78,100],[32.965956,-97.683638,100],[45.188853,-93.397453,100],[36.736408,-119.41,100],[33.020871,-96.738694,100],[44.052069,-123.086753,100],[33.990382,-118.328661,100],[38.578783,-90.421944,100],[41.774855,-88.148077,100],[36.488471,-79.766702,100],[30.045417,-99.151591,100],[43.800589,-120.55,100],[27.66,-81.516838,100],[32.08,-81.09,100],[32.497918,-88.845883,100],[36.15238,-86.789388,100],[32.358503,-89.39,100],[39.77,-105.08,100],[39.739054,-104.864277,100],[35.755707,-79.01,100],[33.987338,-81.036821,100],[36.77,-119.775352,100],[37.54,-77.43,100],[37.794409,-122.245536,100],[42.656813,-71.302268,100],[37.43,-78.654213,100],[35.358953,-95.265619,100],[30.312149,-81.737552,100],[33.18,-95.22,100],[38.590577,-80.45,100],[36.77,-119.770203,100],[38.248101,-84.898477,100],[38.934007,-75.387852,100],[30.306572,-81.72947,100],[40.298672,-83.067965,100],[34.730891,-86.58,100],[38.869829,-76.960766,100],[37,-112.97,100],[36.524793,-76.178324,100],[40.741366,-73.998448,100],[30.371597,-94.312411,100],[34.225725,-77.94471,100],[40.744016,-74.171579,100],[35.77,-87.78,100],[40.722784,-74.005941,100],[39.03,-90.14,100],[43.03,-87.9,100],[40.240555,-79.457731,100],[36.159543,-86.790958,100],[33.45,-112.07,100],[30.98,-91.96,100],[32.71,-117.26,100],[40.818579,-96.711272,100],[40.268524,-76.88,100],[39.67191,-80.109357,100],[36.47,-118.92,100],[33.115866,-117.185294,100],[40.69,-73.93,100],[42.748849,-72.22305,100],[42.991356,-87.943283,100],[31.435164,-97.743911,100],[39.96026,-83.00928,100],[34.963116,-90.032342,100],[33.60146,-89.272852,100],[33.72,-118.02,100],[37.436158,-78.65,100],[39.96026,-83.00928,100],[40.967511,-99.086477,100],[43.172146,-78.683823,100],[38.896911,-77.03,100],[36.069877,-119.045692,100],[37.435885,-78.65,100],[27.669542,-81.51,100],[37.16,-87.69,100],[39.95,-75.16,100],[27.66,-81.508598,100],[39.986353,-75.101994,100],[27.653426,-81.51,100],[35.15,-90.05,100],[40.6,-75.49,100],[47.75,-120.734253,100],[42.40039,-71.38,100],[35.509872,-86.58,100],[42.399173,-83.159108,100],[32.727805,-97.318061,100],[39.61,-105.01,100],[44.78,-88.6,100],[34.509544,-88.633919,100],[40.450914,-79.902477,100],[26.129244,-80.163714,100],[38.9,-77.02549,100],[44.068347,-114.74,100],[30.997034,-91.96,100],[43.29,-74.21,100],[28.541665,-81.375686,100],[32.73,-117.16,100],[28.03,-80.58,100],[44.06,-114.74,100],[38.92,-76.99,100],[41.23,-85.85,100],[32.866954,-79.975221,100],[31.979345,-85.168674,100],[33.345996,-111.755609,100],[39.78,-74.99,100],[42.33,-83.04,100],[36.896331,-76.305418,100],[47.892095,-97.062818,100],[27.95,-82.459999,100],[34.928974,-86.973895,100],[37.936438,-90.787908,100],[36.54939,-82.562369,100],[39.952612,-74.992391,100],[47.752021,-120.74,100],[32.927396,-87.972681,100],[32.057701,-112.143021,100],[38.901222,-77.26526,100],[31.963522,-99.9,100],[39.57443,-106.09752,100],[37.96,-91.825104,100],[33.06,-83.21,100],[47.55,-101,100],[37.83,-84.270973,100],[38.617127,-121.328284,100],[38.312047,-81.482819,100],[34.020485,-117.652468,100],[40.349536,-76.213282,100],[37.849257,-119.927794,100],[44.01,-73.16,100],[32.24793,-110.920859,100],[43.127225,-87.943283,100],[39.79,-85.52,100],[39.97,-74.58,100],[43.186154,-71.57,100],[31.969345,-85.168674,100],[39.983161,-75.823835,100],[46.87,-110.36,100],[38.799972,-77.050689,100],[38.59,-80.45,100],[39.967122,-74.58,100],[29.652277,-95.02727,100],[33.992055,-89.348964,100],[39.576195,-105.067431,100],[40.152871,-76.602745,100],[38.908078,-77.040614,100],[38.9,-77.03064,100],[37.01053,-122.117826,100],[33.966826,-84.443522,100],[38.83,-104.819999,100],[40.1,-83.01,100],[36.194849,-95.988545,100],[33.696907,-117.943875,100],[40.9,-80.85,100],[33.046893,-81.99711,100],[33.980289,-118.451744,100],[40.05,-74.13,100],[39.791127,-85.52,100],[43.086335,-79.059163,100],[34.079616,-118.258509,100],[26.119336,-80.12908,100],[47.515457,-111.280356,100],[37.96,-91.826134,100],[28.54864,-81.375686,100],[33.75,-84.39,100],[43.8,-120.55,100],[40.535199,-86.18,100],[39.296336,-76.621053,100],[41.87,-93.09,100],[41.66,-83.55,100],[35.94883,-97.257194,100],[40.263547,-86.13,100],[47.61,-122.326241,100],[36.16083,-115.316928,100],[40.678178,-73.944157,100],[39.976782,-74.710158,100],[37.33,-79.52,100],[33.425125,-94.047688,100],[38.479999,-121.44,100],[28.899981,-82.37454,100],[28.53,-81.37,100],[32.442947,-82.697636,100],[33.551839,-86.816757,100],[39.31,-74.6,100],[40.65,-74.25,100],[38.337969,-81.6107,100],[38.2,-84.55,100],[40.700852,-74.088757,100],[35.2,-91.833,100],[35.402341,-79.132274,100],[31.96,-99.9,100],[40.103832,-83.030024,100],[42.335811,-83.38428,100],[39.713675,-82.599329,100],[36.935556,-90.270833,100],[38.58843,-80.45,100],[39.228602,-104.887203,100],[44.31,-85.6,100],[48.40856,-114.308856,100],[32.84,-83.63,100],[40.813891,-73.956871,100],[32.165622,-82.910075,100],[41.291845,-95.967396,100],[36.326745,-93.011942,100],[45.373342,-84.955329,100],[40.215929,-74.023515,100],[34.949567,-81.932048,100],[40.266554,-76.869213,100],[37.43,-78.653526,100],[37.8,-122.27,100],[39.839981,-75.375362,100],[33.273725,-85.836074,100],[35.78,-83.97,100],[40.746584,-73.984531,100],[35.965705,-78.804282,100],[42.909791,-78.824274,100],[40.759394,-73.969779,100],[38.615721,-90.116746,100],[40.51868,-78.394735,100],[34.17,-82.37,100],[40.962546,-85.373307,100],[41.49,-99.9,100],[35.914019,-81.538984,100],[42.403686,-71.38,100],[40.48,-88.99,100],[42.308298,-71.082726,100],[30.36469,-90.08779,100],[39.959811,-75.16074,100],[34.019454,-118.491191,100],[34.11,-116.43,100],[35.85,-78.69,100],[41.391641,-81.702104,100],[47.681935,-116.707675,100],[39.32,-111.09,100],[34.257038,-85.164672,100],[41.205006,-77.19,100],[39.336349,-76.768277,100],[37.96,-91.83,100],[34.967616,-82.443454,100],[33.92,-84.84,100],[41.2,-77.189598,100],[40.613743,-74.42325,100],[33.859549,-84.683824,100],[31.781558,-93.693794,100],[42.601119,-89.638453,100],[32.475494,-86.428853,100],[26.653081,-80.131692,100],[33.76,-84.39,100],[37.799995,-81.175906,100],[38.58,-121.49,100],[35.46,-97.51,100],[39.55,-105.775337,100],[27.77,-82.63,100],[39.955692,-82.934021,100],[40.26,-86.13,100],[39.96,-82.49,100],[28.248901,-81.28118,100],[48.276577,-116.553465,100],[32.553744,-86.211912,100],[38.912068,-77.019022,100],[36.510278,-79.471667,100],[28.566655,-81.389314,100],[34.77,-82.31,100],[38.58,-121.494713,100],[30.98,-91.967583,100],[38.046818,-84.494687,100],[38.200905,-84.873283,100],[43.19,-71.57,100],[38.892351,-77.326699,100],[30.431374,-87.246235,100],[39.212607,-76.713581,100],[30.436229,-91.178501,100],[31.966435,-99.9,100],[33.261239,-93.885459,100],[40.715133,-74.010995,100],[32.945876,-97.276076,100],[45.18,-88.47,100],[37.43,-78.64872,100],[41.874163,-93.09,100],[37.2,-93.29,100],[29.200179,-82.067952,100],[34.876667,-84.245556,100],[41.203321,-77.194524,100],[36.49,-80.6,100],[39.326912,-76.682834,100],[36.990262,-112.97577,100],[31.975445,-93.997967,100],[34.98,-80.54,100],[36.534534,-82.486105,100],[26.510137,-81.94257,100],[38.708457,-90.250618,100],[41.87,-87.62249,100],[43.06505,-74.850713,100],[46.16,-90.06,100],[36.47,-81.8,100],[33.827605,-117.907324,100],[41.525337,-81.438772,100],[40.103832,-83.020024,100],[42.4,-71.37886,100],[33.71,-117.83,100],[42.99801,-88.046089,100],[38.884552,-76.996886,100],[38.815492,-90.873918,100],[37.77,-122.41,100],[38.554403,-121.325568,100],[43.8,-120.553665,100],[47.73169,-117.341557,100],[30.43,-84.28,100],[38.615325,-87.35446,100],[33.950599,-81.372937,100],[36.229793,-93.107676,100],[33.855391,-89.311461,100],[38.98,-94.55,100],[42.24,-84.4,100],[40.695773,-89.582474,100],[27.66,-81.495209,100],[34.828742,-87.648247,100],[34.509544,-88.635331,100],[39.546908,-84.242732,100],[37.83,-84.274406,100],[47.6,-122.33,100],[32.350399,-90.152946,100],[39.704965,-78.364742,100],[37.962877,-91.83,100],[30.212844,-97.747357,100],[37.836903,-84.27,100],[40.113832,-83.020024,100],[47.75,-120.74,100],[30.041458,-99.151591,100],[38.86,-90.09,100],[38.605721,-90.116746,100],[40.436882,-79.857682,100],[39.00415,-77.039175,100],[42.438091,-77.985067,100],[38.837233,-77.016143,100],[46.87,-110.365219,100],[35.028582,-78.962762,100],[37.562127,-77.366896,100],[34.977616,-82.443454,100],[43.237033,-73.912467,100],[35.000191,-97.09,100],[41.597729,-73.08,100],[38.576622,-121.49,100],[34.99183,-90.012957,100],[34.04,-111.09,100],[37.43,-78.65,100],[39.42,-74.49,100],[41.866533,-103.661168,100],[38.959507,-84.387994,100],[27.493378,-82.377733,100],[40.709335,-73.956555,100],[40.98,-74.14,100],[33.56,-81.71,100],[34.35794,-118.065444,100],[40.62,-79.15,100],[39.38775,-76.488118,100],[29.441816,-98.48013,100],[42.920478,-85.647216,100],[33.65,-86.68,100],[38.85,-104.78,100],[43.07,-107.29,100],[38.258101,-84.898477,100],[42.98,-70.94,100],[42.214206,-83.149923,100],[44.55,-72.57,100],[33.68,-78.88,100],[46.72,-94.68,100],[41.2,-77.183762,100],[34.862863,-87.537525,100],[36.737508,-119.41,100],[44.06,-114.745674,100],[37.574542,-77.543312,100],[30.37,-81.66,100],[36.16,-86.78,100],[44.01129,-120.665296,100],[32.412414,-90.290181,100],[33.290951,-84.45937,100],[35.133211,-90.032478,100],[36.885412,-76.26529,100],[40.85,-74.16,100],[37.68,-97.33,100],[38.899583,-77.03,100],[40.121497,-75.339904,100],[31.96,-99.893875,100],[32.22,-110.92,100],[41.2,-77.19,100],[39.49,-74.55,100],[32.766133,-96.772526,100],[32.453718,-93.76491,100],[32.55,-117.04,100],[48.197778,-114.316111,100],[30.509943,-84.364719,100],[37.83,-84.27,100],[34.178171,-82.379014,100],[31.781896,-106.459373,100],[38.25,-85.75,100],[35.960638,-83.920739,100],[45.48633,-122.802005,100],[40.626371,-105.137757,100],[32.94,-96.72,100],[35.222318,-87.022444,100],[44.060017,-103.139148,100],[39.41,-74.36,100],[33.83,-81.167336,100],[41.689403,-86.252357,100],[34.653454,-108.677664,100],[40.776905,-73.980064,100],[38.735893,-85.379957,100],[36.119514,-92.135986,100],[33.689184,-84.50818,100],[35.77443,-78.631362,100],[40.262588,-76.876059,100],[35.898723,-86.962408,100],[33.948814,-84.537945,100],[43.78,-88.78,100],[41.58,-71.47,100],[39.165325,-86.526385,100],[40.63,-89.39,100],[41.099004,-80.652113,100],[33.95,-84.55,100],[41.156998,-83.41687,100],[33.976826,-84.443522,100],[45.01,-71.79,100],[36.946815,-76.560507,100],[39.305668,-76.635495,100],[39.3995,-84.561335,100],[43.04,-76.14,100],[31.78,-93.69,100],[39.970594,-82.968973,100],[39.61,-74.35,100],[40.93,-74.18,100],[33.52,-86.8,100],[33.14817,-95.951356,100],[39.478782,-75.03775,100],[35.75,-79.01,100],[35.898723,-86.962408,100],[35.1985,-91.83,100],[44.897318,-93.102714,100],[38.9163,-77.0452,100],[36.74,-119.77,100],[34.05375,-118.255034,100],[40.14,-97.17,100],[34.008323,-118.349116,100],[27.66,-81.51,100],[33.597429,-117.837004,100],[41.75,-87.58,100],[35.575688,-81.211747,100],[30.984297,-91.962332,100],[34.603566,-98.395929,100],[41.759792,-87.564304,100],[44.731909,-93.21772,100],[28.577528,-81.438885,100],[36.17,-86.78,100],[31.96,-99.897652,100],[27.657683,-81.51,100],[39.722976,-77.724641,100],[40.753685,-73.999163,100],[35.37387,-92.563537,100],[36.1,-84.13,100],[42.324004,-71.453683,100],[42.401041,-82.998534,100],[31.771558,-93.693794,100],[33.415184,-111.831472,100],[40.276554,-76.869213,100],[41.044038,-81.521241,100],[40.77977,-73.983628,100],[39.328237,-84.553667,100],[40.813891,-73.962432,100],[35,-97.09,100],[40.11,-84.35,100],[25.827362,-80.208564,100],[39.937645,-75.113672,100],[34.065562,-118.309664,100],[42.277306,-83.263981,100],[41.6,-73.075562,100],[32.996209,-80.184261,100],[35.68,-105.93,100],[38.629185,-90.217431,100],[37.430978,-78.65,100],[33.477583,-82.013465,100],[42.666503,-83.613557,100],[40.794065,-73.927164,100],[40.66,-74.11,100],[39.201384,-76.837499,100],[35.73,-81.34,100],[42.4,-71.38607,100],[30.300618,-97.874408,100],[39.00922,-104.70047,100],[35.313526,-90.773943,100],[33.355996,-111.755609,100],[40.728223,-73.794851,100],[44.994487,-93.298397,100],[29.735638,-95.36179,100],[36.269538,-95.854711,100],[40.721786,-74.009447,100],[40.215546,-74.604906,100],[36.742186,-119.41,100],[32.31,-86.9,100],[45.261111,-94.124166,100],[47.494183,-111.283344,100],[36.16647,-86.783736,100],[41.92,-88.12,100],[38.568783,-90.421944,100],[37.696628,-97.341321,100],[40.6,-75.47,100],[39.278635,-80.432652,100],[40.26,-86.123543,100],[36.22,-93.1,100],[41.85,-87.65,100],[44.97,-93.26,100],[32.432289,-97.782932,100],[42.654738,-73.788968,100],[40.66965,-89.639286,100],[26.665499,-80.05908,100],[41.87,-87.62,100],[32.35,-89.396095,100],[39.129728,-119.673093,100],[41.208364,-77.19,100],[35.37046,-94.413064,100],[38.945895,-84.680501,100],[45.25,-69.44,100],[32.16,-82.9,100],[38.796373,-116.41,100],[44.551579,-72.57,100],[27.734624,-82.632137,100],[34.155954,-117.402774,100],[37,-87.36,100],[32.165622,-82.900075,100],[35.75,-79.005089,100],[42.110021,-72.567583,100],[38.09,-120.47,100],[38.326544,-76.727526,100],[41.397835,-79.831443,100],[38.882553,-104.734593,100],[25.940058,-80.215399,100],[30.013167,-90.020895,100],[36.15,-115.21,100],[38.9,-77.03,100],[40.05,-78.99,100],[34.04,-111.095467,100],[38.883137,-76.990227,100],[35.861207,-86.863581,100],[33.832779,-81.16,100],[40.814849,-73.962432,100],[43.143282,-77.628996,100],[36.229999,-93.11,100],[30.33,-81.65,100],[34.25653,-88.724929,100],[33.221773,-117.226056,100],[34,-81.03,100],[40.61,-89.45,100],[34.022447,-118.200027,100],[33.743469,-84.38,100],[41.433948,-79.706441,100],[40.27,-76.88,100],[36.316745,-93.011942,100],[33.018503,-80.175648,100],[39.802988,-86.103918,100],[32.710782,-117.156173,100],[32.232644,-83.464355,100],[40.756392,-111.898592,100],[40.09,-74.04,100],[34.505991,-88.635331,100],[41.033165,-76.004373,100],[43.96,-99.9,100],[39.32155,-111.09,100],[39.040155,-95.724716,100],[33.560416,-81.719553,100],[40.379791,-79.809491,100],[41.487235,-99.9,100],[40.41,-82.9,100],[37.956109,-91.83,100],[43.292451,-74.21,100],[32.543744,-86.211912,100],[40.71,-74.004593,100],[34.73,-86.58,100],[33.405164,-112.070017,100],[39.95,-74.19,100],[36.52232,-82.713492,100],[41.325913,-75.78936,100],[36.318346,-81.975299,100],[35.384884,-77.992765,100],[37.810995,-122.273319,100],[33.29,-112.42,100],[47.615043,-122.171757,100],[43.798111,-120.55,100],[48.41,-114.33,100],[35.612661,-77.366353,100],[33.21012,-84.744376,100],[38.59,-80.454597,100],[35.2,-91.83,100],[38.99,-74.81,100],[42.333423,-83.04,100],[40.77007,-73.958024,100],[40.02795,-74.886984,100],[28.690591,-81.408321,100],[42.341,-89.084794,100],[34.5,-88.63,100],[45.283142,-93.010751,100],[40.79992,-73.96831,100],[35.236823,-90.018655,100],[30.711029,-94.932989,100],[41.947205,-87.746807,100],[33.33207,-89.741193,100],[44.628683,-74.813833,100],[40.742194,-73.788968,100],[37.047821,-87.485002,100],[30.69,-90.97,100],[48.410637,-114.335265,100],[37.793681,-122.146219,100],[40.73,-74.17,100],[34.043557,-111.09,100],[41.6,-73.08,100],[42.354856,-71.066119,100],[42.96,-85.66,100],[37.833378,-84.27,100],[40.57,-74.6,100],[42.105667,-72.597745,100],[40.408529,-82.9,100],[42.354179,-72.142909,100],[40.417287,-82.907123,100],[36.77,-119.41,100],[32.698055,-117.120592,100],[39.29,-76.61,100],[34.455694,-118.635805,100],[40.763372,-73.910997,100],[27.390745,-82.459536,100],[39.995507,-75.172048,100],[32.304923,-90.201023,100],[38.908229,-77.030539,100],[43.96,-99.894905,100],[44.352001,-69.692376,100],[35.51,-86.58,100],[39.04,-76.64,100],[38.848531,-77.139887,100],[27.660116,-81.51,100],[32.840694,-83.632402,100],[45.576735,-122.638672,100],[32.19,-90.54,100],[34.237859,-77.947639,100],[33.621453,-117.923675,100],[36.716261,-77.068019,100],[39.26,-74.64,100],[36.222673,-93.1,100],[44.991376,-74.306598,100],[32.03808,-106.45479,100],[48.544997,-117.900954,100],[32.422414,-90.290181,100],[35.77201,-87.783912,100],[36.11,-80.24,100],[40.524861,-75.162564,100],[35.51,-86.58,100],[32.583706,-95.108835,100],[30.222844,-97.747357,100],[45.412015,-122.54578,100],[40.53,-86.18,100],[36.225996,-93.107676,100],[31.96,-99.893188,100],[39.738371,-84.291075,100],[39.991292,-75.155513,100],[40.712915,-74,100],[28.568493,-81.253174,100],[28.66,-82.11,100],[42.397106,-71.259899,100],[33.74,-84.38,100],[36.079877,-119.045692,100],[40.71,-74,100],[42.736413,-72.232178,100],[40.81,-73.95,100],[43.742369,-84.069596,100],[40.88,-74.04,100],[39.29286,-76.61,100],[39.41,-77.5,100],[40.607381,-75.478166,100],[33.83,-81.16,100],[30.546423,-97.622266,100],[39.22,-83.27,100],[39.92,-75.11,100],[40.8,-74.01,100],[32.71,-117.16,100],[40.737341,-73.954804,100],[30.37469,-90.08779,100],[40.751984,-73.969779,100],[44.063907,-114.74,100],[36.728115,-91.852371,100],[33.326799,-83.388496,100],[39.45,-74.72,100],[40.712783,-74.005941,100],[35.514548,-97.476004,100],[47.671935,-116.707675,100],[33.889068,-118.200027,100],[43.61,-116.21,100],[37.36,-79.28,100],[36.229793,-93.102264,100],[39.76,-86.15,100],[39.971667,-75.354722,100],[26.616755,-80.068447,100],[29.71,-82.4,100],[36.58,-83.65,100],[40.633757,-89.39,100],[32.15,-82.9,100],[38.874552,-76.996886,100],[42.4,-71.38,100],[39.045542,-76.906682,100],[30.984673,-91.96,100],[36.151088,-95.99458,100],[24.556163,-81.804721,100],[33.508725,-94.616319,100],[39.55,-105.78,100],[36.229793,-93.096085,100],[38.41,-79.58,100],[35.001011,-85.316206,100]],
{
radius: 5,
blur: 20,
maxZoom: 11,
max: 1,
gradient: {0.1: 'blue', 0.2: 'lime', 0.5: 'red'
}
}).addTo(map);
var states = new L.geoJson(null, {
style: {
color: "blue",
weight: 2,
fill: false
}
});
states.addTo(map);
var secStates = ['Alabama', 'Arkansas', 'Georgia', 'Massachusetts', 'Minnesota', 'Oklahoma', 'Tennessee', 'Texas', 'Vermont', 'Virginia']
$.ajax({
dataType: "json",
url: "assets/gz_2010_us_040_00_500k.json",
success: function(data) {
$(data.features).each(function(key, data) {
for (var i = 0; i < secStates.length; i++) {
if (data.properties.NAME === secStates[i]) {
states.addData(data);
}
}
});
}
}).error(function() {});
</script>
</body>
</html>