nuclear_explosions/output.html

1320 lines
1 MiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script>
L_NO_TOUCH = false;
L_DISABLE_3D = false;
</script>
<style>html, body {width: 100%;height: 100%;margin: 0;padding: 0;}</style>
<style>#map {position:absolute;top:0;bottom:0;right:0;left:0;}</style>
<script src="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js"></script>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
#map_c6caafdb2afe28f6c4ecdea0af1e1518 {
position: relative;
width: 100.0%;
height: 100.0%;
left: 0.0%;
top: 0.0%;
}
.leaflet-container { font-size: 1rem; }
</style>
<style>
.foliumtooltip {
}
.foliumtooltip table{
margin: auto;
}
.foliumtooltip tr{
text-align: left;
}
.foliumtooltip th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumpopup {
margin: auto;
}
.foliumpopup table{
margin: auto;
}
.foliumpopup tr{
text-align: left;
}
.foliumpopup th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumtooltip {
}
.foliumtooltip table{
margin: auto;
}
.foliumtooltip tr{
text-align: left;
}
.foliumtooltip th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumpopup {
margin: auto;
}
.foliumpopup table{
margin: auto;
}
.foliumpopup tr{
text-align: left;
}
.foliumpopup th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumtooltip {
}
.foliumtooltip table{
margin: auto;
}
.foliumtooltip tr{
text-align: left;
}
.foliumtooltip th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumpopup {
margin: auto;
}
.foliumpopup table{
margin: auto;
}
.foliumpopup tr{
text-align: left;
}
.foliumpopup th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumtooltip {
}
.foliumtooltip table{
margin: auto;
}
.foliumtooltip tr{
text-align: left;
}
.foliumtooltip th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumpopup {
margin: auto;
}
.foliumpopup table{
margin: auto;
}
.foliumpopup tr{
text-align: left;
}
.foliumpopup th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumtooltip {
}
.foliumtooltip table{
margin: auto;
}
.foliumtooltip tr{
text-align: left;
}
.foliumtooltip th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumpopup {
margin: auto;
}
.foliumpopup table{
margin: auto;
}
.foliumpopup tr{
text-align: left;
}
.foliumpopup th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumtooltip {
}
.foliumtooltip table{
margin: auto;
}
.foliumtooltip tr{
text-align: left;
}
.foliumtooltip th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumpopup {
margin: auto;
}
.foliumpopup table{
margin: auto;
}
.foliumpopup tr{
text-align: left;
}
.foliumpopup th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumtooltip {
}
.foliumtooltip table{
margin: auto;
}
.foliumtooltip tr{
text-align: left;
}
.foliumtooltip th{
padding: 2px; padding-right: 8px;
}
</style>
<style>
.foliumpopup {
margin: auto;
}
.foliumpopup table{
margin: auto;
}
.foliumpopup tr{
text-align: left;
}
.foliumpopup th{
padding: 2px; padding-right: 8px;
}
</style>
</head>
<body>
<div class="folium-map" id="map_c6caafdb2afe28f6c4ecdea0af1e1518" ></div>
</body>
<script>
var map_c6caafdb2afe28f6c4ecdea0af1e1518 = L.map(
"map_c6caafdb2afe28f6c4ecdea0af1e1518",
{
center: [0.0, 0.0],
crs: L.CRS.EPSG3857,
zoom: 1,
zoomControl: true,
preferCanvas: false,
}
);
var tile_layer_87f6aa03032054c8ea8806c77473daae = L.tileLayer(
"https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png",
{"attribution": "\u0026copy; \u003ca href=\"https://www.openstreetmap.org/copyright\"\u003eOpenStreetMap\u003c/a\u003e contributors \u0026copy; \u003ca href=\"https://carto.com/attributions\"\u003eCARTO\u003c/a\u003e", "detectRetina": false, "maxNativeZoom": 20, "maxZoom": 20, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abcd", "tms": false}
);
tile_layer_87f6aa03032054c8ea8806c77473daae.addTo(map_c6caafdb2afe28f6c4ecdea0af1e1518);
var feature_group_19110c701176d1c346c8504a21de7553 = L.featureGroup(
{}
);
function geo_json_96ebafea140fa9c67b16ebb8a57bdba8_styler(feature) {
switch(feature.properties.id_no) {
case 45001: case 45002: case 45003: case 46001: case 46002: case 48001: case 48002: case 48003: case 51001: case 51002: case 51003: case 51004: case 51005: case 51006: case 51007: case 51008: case 51009: case 51012: case 51013: case 51014: case 51015: case 51016: case 51017: case 51018: case 52001: case 52002: case 52003: case 52004: case 52005: case 52006: case 52007: case 52008: case 52010: case 52011: case 53001: case 53002: case 53003: case 53004: case 53005: case 53006: case 53007: case 53008: case 53009: case 53010: case 53011: case 54001: case 54002: case 54003: case 54004: case 54005: case 54006: case 55001: case 55002: case 55003: case 55004: case 55005: case 55006: case 55007: case 55008: case 55009: case 55010: case 55011: case 55012: case 55013: case 55014: case 55015: case 55022: case 55023: case 55024: case 56001: case 56005: case 56007: case 56008: case 56009: case 56010: case 56011: case 56012: case 56013: case 56014: case 56015: case 56017: case 56018: case 56019: case 56020: case 56021: case 56022: case 56023: case 57053: case 57009: case 57011: case 57012: case 57013: case 57015: case 57054: case 57016: case 57017: case 57018: case 57019: case 57020: case 57021: case 57022: case 57055: case 57023: case 57025: case 57027: case 57028: case 57029: case 57030: case 57031: case 57032: case 57033: case 57037: case 57038: case 57040: case 57044: case 57046: case 57050: case 57051: case 58003: case 58010: case 58016: case 58018: case 58019: case 58020: case 58021: case 58022: case 58023: case 58024: case 58025: case 58026: case 58027: case 58028: case 58029: case 58030: case 58031: case 58032: case 58033: case 58034: case 58035: case 58036: case 58037: case 58038: case 58039: case 58040: case 58041: case 58042: case 58043: case 58044: case 58045: case 58046: case 58047: case 58048: case 58049: case 58050: case 58051: case 58053: case 58054: case 58056: case 58058: case 58059: case 58060: case 58061: case 58063: case 58064: case 58065: case 58066: case 58073: case 58074: case 58078: case 58080: case 58081: case 58083: case 58085: case 58086: case 58088: case 58113: case 58094: case 58095: case 58096: case 58114: case 58098: case 58099: case 58102: case 58103: case 58104: case 58105: case 58106: case 58107: case 58115: case 58109: case 58110: case 58116: case 61031: case 61038: case 61051: case 61070: case 62001: case 62002: case 62003: case 62006: case 62009: case 62010: case 62011: case 62014: case 62015: case 62016: case 62017: case 62019: case 62020: case 62021: case 62023: case 62024: case 62025: case 62026: case 62028: case 62029: case 62030: case 62031: case 62032: case 62033: case 62034: case 62035: case 62036: case 62037: case 62038: case 62039: case 62040: case 62041: case 62042: case 62043: case 62044: case 62045: case 62047: case 62048: case 62049: case 62050: case 62051: case 62052: case 62053: case 62054: case 62055: case 62056: case 62057: case 62059: case 62060: case 62062: case 62063: case 62064: case 62065: case 62066: case 62067: case 62068: case 62069: case 62070: case 62071: case 62086: case 62087: case 62094: case 62096: case 62101: case 62109: case 62110: case 62111: case 62112: case 62117: case 62118: case 62121: case 62122: case 62123: case 62125: case 62128: case 62130: case 62131: case 62138: case 62143: case 62148: case 62150: case 62154: case 62158: case 62160: case 62162: case 62163: case 62164: case 63001: case 63003: case 63004: case 63005: case 63006: case 63007: case 63008: case 63009: case 63011: case 63013: case 63014: case 63015: case 63016: case 63017: case 63018: case 63043: case 63019: case 63020: case 63021: case 63044: case 63022: case 63045: case 63023: case 63024: case 63025: case 63046: case 63026: case 63027: case 63028: case 63029: case 63030: case 63031: case 63032: case 63047: case 63048: case 63033: case 63034: case 63049: case 63037: case 63038: case 63039: case 63040: case 63041: case 63042: case 63050: case 64001: case 64002: case 64044: case 64045: case 64046: case 64047: case 64048: case 64004: case 64049: case 64005: case 64007: case 64008:
return {"color": "#4c72b0", "radius": 10.0};
case 57039: case 62061: case 80042: case 83028: case 84007:
return {"color": "#4c72b0", "radius": 41.0};
case 58076:
return {"color": "#4c72b0", "radius": 26.0};
case 58084: case 61017: case 62046: case 66021: case 67004: case 69006: case 70016: case 71024: case 72009: case 72027: case 73031: case 73032: case 74033: case 75029: case 77026: case 79009: case 80002: case 80014: case 80020: case 81047: case 82047: case 83013: case 83026: case 84001: case 84027: case 84045: case 92006:
return {"color": "#4c72b0", "radius": 44.0};
case 58108: case 67045: case 68052: case 71010: case 73027: case 75005: case 77023: case 79006: case 79029: case 81040: case 85002: case 85005: case 85022: case 85024: case 86006: case 90009:
return {"color": "#4c72b0", "radius": 48.0};
case 61019:
return {"color": "#4c72b0", "radius": 25.0};
case 61067: case 62005: case 62013: case 62018: case 66024: case 70010: case 70019: case 74042: case 80027: case 82009: case 84032: case 84054: case 85015:
return {"color": "#4c72b0", "radius": 43.0};
case 61068: case 62022: case 66045: case 66059: case 67003: case 67024: case 67030: case 68016: case 70017: case 72007: case 74008: case 74024: case 75020: case 78027: case 80031: case 81044: case 82052: case 84002: case 85023: case 89008:
return {"color": "#4c72b0", "radius": 46.0};
case 61069:
return {"color": "#4c72b0", "radius": 34.0};
case 61071: case 84014:
return {"color": "#4c72b0", "radius": 35.0};
case 62007: case 62058: case 67013: case 68017: case 68050: case 69003: case 69007: case 69040: case 71008: case 72010: case 73013: case 76038: case 81036: case 82034: case 82035: case 82036: case 88010:
return {"color": "#4c72b0", "radius": 49.0};
case 62008: case 78004: case 80004:
return {"color": "#4c72b0", "radius": 39.0};
case 63002: case 69014: case 75006: case 77021: case 79003: case 79027: case 82006: case 82020: case 83011: case 83015: case 84019: case 85013: case 85021: case 86012: case 87002: case 87005:
return {"color": "#4c72b0", "radius": 45.0};
case 63035: case 65049: case 67001: case 67002: case 68027: case 69002: case 70009: case 73011: case 76022: case 77007: case 80011: case 85030: case 86001: case 86003: case 88021: case 89014:
return {"color": "#4c72b0", "radius": 53.0};
case 65017: case 66027: case 67027: case 67031: case 67032: case 68007: case 68043: case 69012: case 69023: case 69038: case 70020: case 70027: case 72008: case 72016: case 72034: case 74014: case 75009: case 75032: case 77013: case 78010: case 78032: case 79020: case 84034: case 84050:
return {"color": "#4c72b0", "radius": 50.0};
case 65032: case 66022: case 67016: case 69042: case 71021: case 73002: case 73006: case 77006: case 82002: case 83029: case 85003: case 88003: case 89002: case 90001: case 91013:
return {"color": "#4c72b0", "radius": 54.0};
case 65036: case 78040: case 81013: case 83024: case 84055:
return {"color": "#4c72b0", "radius": 42.0};
case 65043: case 66035: case 69026: case 73010: case 87031: case 88026:
return {"color": "#4c72b0", "radius": 61.0};
case 65047: case 66025: case 66028: case 67005: case 68010: case 69032: case 70004: case 73005: case 74034: case 75003: case 76004: case 76005: case 77004: case 77016: case 78002: case 78007: case 78017: case 78026: case 79039: case 80018: case 81001: case 82003: case 82013: case 84016: case 88019: case 89021: case 90012: case 91002: case 92001:
return {"color": "#4c72b0", "radius": 56.0};
case 66026: case 68025: case 75011: case 75012: case 75015: case 82001: case 87034: case 88018:
return {"color": "#4c72b0", "radius": 59.0};
case 66029: case 67015: case 67036: case 67038: case 72026: case 74019: case 75002: case 75034: case 77030: case 77035: case 78033: case 82010: case 82023: case 83008: case 85004: case 85008: case 86011: case 86018: case 87012:
return {"color": "#4c72b0", "radius": 57.0};
case 66061: case 68004: case 68055: case 76006:
return {"color": "#4c72b0", "radius": 63.0};
case 67014: case 68006: case 68041: case 70050: case 74003: case 74030: case 76007: case 76008: case 76011: case 79033: case 90005:
return {"color": "#4c72b0", "radius": 58.0};
case 67042: case 68042: case 70025: case 70048: case 70051: case 73009: case 83005: case 83048: case 86002: case 88035: case 89006:
return {"color": "#4c72b0", "radius": 51.0};
case 68020: case 76001: case 76009:
return {"color": "#4c72b0", "radius": 62.0};
case 68021: case 69043: case 71026: case 71034: case 73004: case 75025: case 76015: case 77029: case 77032: case 80007: case 80040: case 91001:
return {"color": "#4c72b0", "radius": 47.0};
case 68039: case 69010: case 69017: case 70028: case 70043: case 71017: case 76040: case 78050: case 79005: case 79016: case 80025: case 81015: case 84004: case 85012: case 86014: case 86021: case 87008: case 88013: case 91003:
return {"color": "#4c72b0", "radius": 55.0};
case 69008: case 69009: case 70047: case 71011: case 84026: case 85020: case 86009: case 87037:
return {"color": "#4c72b0", "radius": 52.0};
case 69031: case 70014: case 75027:
return {"color": "#4c72b0", "radius": 64.0};
case 71030:
return {"color": "#4c72b0", "radius": 68.0};
case 75030: case 76010:
return {"color": "#4c72b0", "radius": 60.0};
case 78001: case 79048: case 84021:
return {"color": "#4c72b0", "radius": 38.0};
case 78016: case 79018: case 83003:
return {"color": "#4c72b0", "radius": 40.0};
default:
return {"color": "#4c72b0", "radius": 33.0};
}
}
function geo_json_96ebafea140fa9c67b16ebb8a57bdba8_highlighter(feature) {
switch(feature.properties.id_no) {
default:
return {"fillOpacity": 0.8};
}
}
function geo_json_96ebafea140fa9c67b16ebb8a57bdba8_pointToLayer(feature, latlng) {
var opts = {"bubblingMouseEvents": true, "color": "#3388ff", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#3388ff", "fillOpacity": 0.4, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "opacity": 1.0, "radius": 3, "stroke": true, "weight": 3};
let style = geo_json_96ebafea140fa9c67b16ebb8a57bdba8_styler(feature)
Object.assign(opts, style)
return new L.circle(latlng, opts)
}
function geo_json_96ebafea140fa9c67b16ebb8a57bdba8_onEachFeature(feature, layer) {
layer.on({
mouseout: function(e) {
if(typeof e.target.setStyle === "function"){
geo_json_96ebafea140fa9c67b16ebb8a57bdba8.resetStyle(e.target);
}
},
mouseover: function(e) {
if(typeof e.target.setStyle === "function"){
const highlightStyle = geo_json_96ebafea140fa9c67b16ebb8a57bdba8_highlighter(e.target.feature)
e.target.setStyle(highlightStyle);
}
},
});
};
var geo_json_96ebafea140fa9c67b16ebb8a57bdba8 = L.geoJson(null, {
onEachFeature: geo_json_96ebafea140fa9c67b16ebb8a57bdba8_onEachFeature,
style: geo_json_96ebafea140fa9c67b16ebb8a57bdba8_styler,
pointToLayer: geo_json_96ebafea140fa9c67b16ebb8a57bdba8_pointToLayer,
});
function geo_json_96ebafea140fa9c67b16ebb8a57bdba8_add (data) {
geo_json_96ebafea140fa9c67b16ebb8a57bdba8
.addData(data);
}
geo_json_96ebafea140fa9c67b16ebb8a57bdba8_add({"bbox": [-169.32, -49.5, 179.22, 74.3], "features": [{"bbox": [-105.57, 32.54, -105.57, 32.54], "geometry": {"coordinates": [-105.57, 32.54], "type": "Point"}, "id": "1945-01-01T00:00:00.000", "properties": {"country": "US", "date_long": 19450716, "depth": -0.1, "id_no": 45001, "latitude": 32.54, "longitude": -105.57, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "TRINITY", "purpose": "WR", "region": "ALAMOGORDO", "source": "DOE", "type": "TOWER", "year": 1945, "yield_lower": 21.0, "yield_upper": 21.0}, "type": "Feature"}, {"bbox": [132.27, 34.23, 132.27, 34.23], "geometry": {"coordinates": [132.27, 34.23], "type": "Point"}, "id": "1945-01-01T00:00:00.000", "properties": {"country": "US", "date_long": 19450805, "depth": -0.6, "id_no": 45002, "latitude": 34.23, "longitude": 132.27, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "LITTLEBOY", "purpose": "COMBAT", "region": "HIROSHIMA", "source": "DOE", "type": "AIRDROP", "year": 1945, "yield_lower": 15.0, "yield_upper": 15.0}, "type": "Feature"}, {"bbox": [129.52, 32.45, 129.52, 32.45], "geometry": {"coordinates": [129.52, 32.45], "type": "Point"}, "id": "1945-01-01T00:00:00.000", "properties": {"country": "US", "date_long": 19450809, "depth": -0.6, "id_no": 45003, "latitude": 32.45, "longitude": 129.52, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "FATMAN", "purpose": "COMBAT", "region": "NAGASAKI", "source": "DOE", "type": "AIRDROP", "year": 1945, "yield_lower": 21.0, "yield_upper": 21.0}, "type": "Feature"}, {"bbox": [165.2, 11.35, 165.2, 11.35], "geometry": {"coordinates": [165.2, 11.35], "type": "Point"}, "id": "1946-01-01T00:00:00.000", "properties": {"country": "US", "date_long": 19460630, "depth": -0.2, "id_no": 46001, "latitude": 11.35, "longitude": 165.2, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "ABLE", "purpose": "WE", "region": "BIKINI", "source": "DOE", "type": "AIRDROP", "year": 1946, "yield_lower": 21.0, "yield_upper": 21.0}, "type": "Feature"}, {"bbox": [165.2, 11.35, 165.2, 11.35], "geometry": {"coordinates": [165.2, 11.35], "type": "Point"}, "id": "1946-01-01T00:00:00.000", "properties": {"country": "US", "date_long": 19460724, "depth": 0.03, "id_no": 46002, "latitude": 11.35, "longitude": 165.2, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "BAKER", "purpose": "WE", "region": "BIKINI", "source": "DOE", "type": "UW", "year": 1946, "yield_lower": 21.0, "yield_upper": 21.0}, "type": "Feature"}, {"bbox": [162.15, 11.3, 162.15, 11.3], "geometry": {"coordinates": [162.15, 11.3], "type": "Point"}, "id": "1948-01-01T00:00:00.000", "properties": {"country": "US", "date_long": 19480414, "depth": -0.08, "id_no": 48001, "latitude": 11.3, "longitude": 162.15, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "X-RAY", "purpose": "WR", "region": "ENEWETAK", "source": "DOE", "type": "TOWER", "year": 1948, "yield_lower": 37.0, "yield_upper": 37.0}, "type": "Feature"}, {"bbox": [162.15, 11.3, 162.15, 11.3], "geometry": {"coordinates": [162.15, 11.3], "type": "Point"}, "id": "1948-01-01T00:00:00.000", "properties": {"country": "US", "date_long": 19480430, "depth": -0.08, "id_no": 48002, "latitude": 11.3, "longitude": 162.15, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "YOKE", "purpose": "WR", "region": "ENEWETAK", "source": "DOE", "type": "TOWER", "year": 1948, "yield_lower": 49.0, "yield_upper": 49.0}, "type": "Feature"}, {"bbox": [162.15, 11.3, 162.15, 11.3], "geometry": {"coordinates": [162.15, 11.3], "type": "Point"}, "id": "1948-01-01T00:00:00.000", "properties": {"country": "US", "date_long": 19480514, "depth": -0.08, "id_no": 48003, "latitude": 11.3, "longitude": 162.15, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "ZEBRA", "purpose": "WR", "region": "ENEWETAK", "source": "DOE", "type": "TOWER", "year": 1948, "yield_lower": 18.0, "yield_upper": 18.0}, "type": "Feature"}, {"bbox": [-116.0, 37.0, -116.0, 37.0], "geometry": {"coordinates": [-116.0, 37.0], "type": "Point"}, "id": "1951-01-01T00:00:00.000", "properties": {
geo_json_96ebafea140fa9c67b16ebb8a57bdba8.bindTooltip(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "type"];
let aliases = ["year", "country", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i]}</th>
<td>${handleObject(layer.feature.properties[v])}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumtooltip", "sticky": true});
geo_json_96ebafea140fa9c67b16ebb8a57bdba8.bindPopup(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let aliases = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i].toLocaleString()}</th>
<td>${handleObject(layer.feature.properties[v]).toLocaleString()}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumpopup"});
geo_json_96ebafea140fa9c67b16ebb8a57bdba8.addTo(feature_group_19110c701176d1c346c8504a21de7553);
feature_group_19110c701176d1c346c8504a21de7553.addTo(map_c6caafdb2afe28f6c4ecdea0af1e1518);
var feature_group_ab6905d87d9b7b98d487bf6f24d96629 = L.featureGroup(
{}
);
function geo_json_60e129632177a521cd9212f3c9a5a678_styler(feature) {
switch(feature.properties.id_no) {
case 49001: case 51010: case 51011: case 53012: case 53013: case 53014: case 53015: case 53016: case 54007: case 54008: case 54009: case 54010: case 54011: case 54012: case 54013: case 54014: case 54015: case 54016: case 55016: case 55017: case 55018: case 55019: case 55020: case 55021: case 56002: case 56003: case 56004: case 56024: case 56025: case 56026: case 56027: case 56032: case 56033: case 57001: case 57002: case 57003: case 57004: case 57005: case 57006: case 57007: case 57024: case 57026: case 57034: case 57035: case 57041: case 57043: case 57045: case 57048: case 57052: case 58001: case 58002: case 58004: case 58005: case 58006: case 58007: case 58008: case 58009: case 58011: case 58012: case 58013: case 58014: case 58015: case 58067: case 58068: case 58069: case 58070: case 58071: case 58072: case 58075: case 58077: case 58079: case 58082: case 58087: case 58089: case 58090: case 58091: case 58092: case 58093: case 58097: case 58100: case 58101: case 58111: case 58112: case 61002: case 61003: case 61004: case 61005: case 61006: case 61007: case 61008: case 61009: case 61010: case 61011: case 61012: case 61013: case 61014: case 61015: case 61016: case 61018: case 61020: case 61021: case 61022: case 61023: case 61024: case 61025: case 61026: case 61027: case 61028: case 61029: case 61030: case 61032: case 61033: case 61034: case 61035: case 61036: case 61037: case 61039: case 61040: case 61041: case 61042: case 61043: case 61044: case 61045: case 61046: case 61047: case 61048: case 61049: case 61050: case 61052: case 61053: case 61054: case 61055: case 61056: case 61057: case 61058: case 61059: case 61060: case 61061: case 61062: case 61063: case 61064: case 61065: case 62004: case 62072: case 62073: case 62074: case 62075: case 62076: case 62077: case 62078: case 62079: case 62080: case 62081: case 62082: case 62083: case 62084: case 62085: case 62088: case 62089: case 62090: case 62091: case 62092: case 62093: case 62095: case 62097: case 62098: case 62099: case 62100: case 62102: case 62103: case 62104: case 62105: case 62106: case 62107: case 62108: case 62113: case 62114: case 62115: case 62116: case 62119: case 62120: case 62124: case 62126: case 62127: case 62129: case 62132: case 62133: case 62134: case 62135: case 62136: case 62137: case 62139: case 62140: case 62141: case 62142: case 62144: case 62145: case 62146: case 62147: case 62149: case 62151: case 62152: case 62153: case 62155: case 62156: case 62157: case 62159: case 62165: case 62166: case 62167: case 62168: case 62169: case 62170: case 62171: case 62172: case 62173: case 62174: case 62175: case 62176: case 62177: case 62178: case 64014: case 64022: case 64028: case 65003: case 65012: case 65013: case 65027: case 65042: case 66063: case 66073: case 66074: case 66075: case 66057: case 67063: case 67064: case 67049: case 68022: case 68079: case 68080: case 68081: case 68083: case 69064: case 69065: case 69066: case 69067: case 70061: case 70063: case 70064: case 70065: case 71050: case 71051: case 71052: case 71015: case 71053: case 72006: case 72055: case 72015: case 72054: case 72033: case 72035: case 73046: case 73047: case 73048: case 74054: case 74005: case 74017: case 74059: case 74057: case 74058: case 75041: case 75042: case 75043: case 75044: case 76047: case 76049: case 76048: case 76024: case 76051: case 77046: case 77050: case 77051: case 77052: case 77053: case 77054: case 78061: case 78062: case 78064: case 78066: case 79055: case 79056: case 79057: case 79058: case 79059: case 80051: case 80052: case 80053: case 80054: case 80056: case 80057: case 80058: case 81050: case 81014: case 81051: case 83055: case 83059: case 83060: case 84057: case 85034: case 85035: case 85036: case 87048: case 87017: case 87020: case 88036: case 89001:
return {"color": "#c44e52", "radius": 10.0};
case 64006: case 64013: case 65045: case 66034: case 67037: case 69005: case 69028: case 71002: case 71028: case 73001: case 74043: case 75008: case 77028: case 78008: case 78021: case 78031: case 78042: case 79023: case 80017: case 81007: case 81043: case 82041: case 84005: case 87024: case 87029: case 88031:
return {"color": "#c44e52", "radius": 56.0};
case 64021: case 65009: case 68028: case 70002: case 71006: case 71009: case 71033: case 72002: case 72003: case 72011: case 72021: case 74025: case 74035: case 75014: case 77027: case 78038: case 80012: case 80015: case 81011: case 81012: case 83043: case 83049: case 87030:
return {"color": "#c44e52", "radius": 55.0};
case 64027: case 78029: case 84046:
return {"color": "#c44e52", "radius": 43.0};
case 64034: case 65020: case 68048: case 70031: case 71035: case 76031: case 77037: case 79030: case 79034: case 80008: case 81042: case 82014: case 83007: case 83035: case 84036:
return {"color": "#c44e52", "radius": 49.0};
case 64037: case 67006: case 69039: case 70046: case 70052: case 71036: case 73025: case 73033: case 77034: case 78028: case 78045: case 79002: case 79046: case 79050: case 81009: case 81035: case 83040: case 84009: case 84015:
return {"color": "#c44e52", "radius": 60.0};
case 65002: case 65030: case 66060: case 69041: case 71001: case 71037: case 72028: case 75028: case 76018: case 76026: case 76028: case 76034: case 77008: case 77019: case 78015: case 78037: case 79022: case 79044: case 79045: case 83039: case 84039: case 89016:
return {"color": "#c44e52", "radius": 58.0};
case 65033: case 71022: case 77025: case 79040: case 79049: case 80048: case 84030: case 84031: case 84038: case 87009: case 87010:
return {"color": "#c44e52", "radius": 45.0};
case 65038: case 65050: case 67035: case 68024: case 68054: case 69011: case 69015: case 69030: case 71004: case 72005: case 72019: case 72031: case 73024: case 73026: case 74029: case 74031: case 76002: case 76041: case 77014: case 78005: case 78011: case 78024: case 78030: case 78034: case 78036: case 78039: case 79012: case 79015: case 79024: case 79043: case 80035: case 80041: case 81016: case 81022: case 81032: case 82031: case 82033: case 82042: case 82043: case 82044: case 83021: case 83036: case 83037: case 83038: case 87045: case 88027: case 89018:
return {"color": "#c44e52", "radius": 52.0};
case 65041: case 66040: case 67017: case 67026: case 67044: case 68026: case 68038: case 69018: case 70035: case 70040: case 70044: case 70049: case 71013: case 71027: case 73003: case 73015: case 75004: case 77003: case 79004: case 79007: case 79041: case 82004: case 82027: case 82045: case 83014: case 83044: case 84023: case 87003: case 88020:
return {"color": "#c44e52", "radius": 54.0};
case 66005: case 66018: case 68047: case 79028: case 79031: case 81030: case 81037: case 82007: case 82016: case 82051: case 83016: case 83042: case 84047: case 87014: case 87028:
return {"color": "#c44e52", "radius": 61.0};
case 66012: case 70041: case 75024: case 84051: case 84053: case 87004:
return {"color": "#c44e52", "radius": 66.0};
case 66023: case 66043: case 67043: case 68034: case 69021: case 69022: case 73029: case 74041: case 75021: case 77020: case 78048: case 82053: case 83030: case 84041: case 84042: case 88001:
return {"color": "#c44e52", "radius": 48.0};
case 66038: case 67039: case 71003: case 74010: case 76023: case 76036: case 78014: case 78022: case 78025: case 78051: case 80037: case 80046: case 80049: case 83027: case 84003: case 84006: case 85001: case 85006:
return {"color": "#c44e52", "radius": 59.0};
case 66042: case 66049: case 68001: case 69046: case 71025: case 72023: case 72025: case 75033: case 76013: case 76020: case 76030: case 77005: case 77012: case 78023: case 81038: case 81048: case 82021: case 82037: case 83033: case 89004:
return {"color": "#c44e52", "radius": 51.0};
case 66051: case 67010: case 68044: case 69033: case 72022: case 73017: case 75019: case 88030: case 90013:
return {"color": "#c44e52", "radius": 63.0};
case 66053: case 71023: case 74028: case 87026: case 88008:
return {"color": "#c44e52", "radius": 64.0};
case 67008: case 67023: case 67028: case 67033: case 67041: case 68030: case 69013: case 70036: case 71018: case 71029: case 73019: case 73022: case 73028: case 74006: case 74018: case 75018: case 76014: case 76017: case 76032: case 77009: case 78044: case 80026: case 81033: case 82040: case 83019: case 83020: case 84024: case 84025: case 84028: case 84029: case 85019: case 87027:
return {"color": "#c44e52", "radius": 53.0};
case 68019: case 69024: case 70015: case 74040: case 75017: case 76016: case 77011: case 77015: case 77017: case 77024: case 79001: case 79042: case 80010: case 81026: case 83006: case 83034: case 84033: case 85017: case 87035: case 88006: case 88022:
return {"color": "#c44e52", "radius": 50.0};
case 69045: case 70033: case 72020: case 72032: case 75001: case 75035: case 77018: case 78020: case 79038: case 80021: case 80036: case 82054: case 84008: case 88014:
return {"color": "#c44e52", "radius": 57.0};
case 72014: case 81028: case 87036:
return {"color": "#c44e52", "radius": 44.0};
case 72024: case 74001: case 75022: case 80045:
return {"color": "#c44e52", "radius": 46.0};
case 72029: case 79019: case 79053: case 80028: case 81049: case 84022: case 84040:
return {"color": "#c44e52", "radius": 62.0};
case 72030: case 74015: case 74039: case 75007: case 78012: case 78053: case 79052: case 80030: case 82025: case 83017:
return {"color": "#c44e52", "radius": 47.0};
case 73023: case 89015: case 89019:
return {"color": "#c44e52", "radius": 68.0};
case 73030:
return {"color": "#c44e52", "radius": 69.0};
case 74037: case 75023: case 85018: case 88034:
return {"color": "#c44e52", "radius": 67.0};
case 84059:
return {"color": "#c44e52", "radius": 38.0};
case 85014: case 87007: case 88007:
return {"color": "#c44e52", "radius": 72.0};
case 85016: case 87040: case 87044: case 88002: case 88004: case 88023:
return {"color": "#c44e52", "radius": 71.0};
case 87006:
return {"color": "#c44e52", "radius": 73.0};
case 87033: case 88037:
return {"color": "#c44e52", "radius": 39.0};
case 87046:
return {"color": "#c44e52", "radius": 74.0};
default:
return {"color": "#c44e52", "radius": 70.0};
}
}
function geo_json_60e129632177a521cd9212f3c9a5a678_highlighter(feature) {
switch(feature.properties.id_no) {
default:
return {"fillOpacity": 0.8};
}
}
function geo_json_60e129632177a521cd9212f3c9a5a678_pointToLayer(feature, latlng) {
var opts = {"bubblingMouseEvents": true, "color": "#3388ff", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#3388ff", "fillOpacity": 0.4, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "opacity": 1.0, "radius": 3, "stroke": true, "weight": 3};
let style = geo_json_60e129632177a521cd9212f3c9a5a678_styler(feature)
Object.assign(opts, style)
return new L.circle(latlng, opts)
}
function geo_json_60e129632177a521cd9212f3c9a5a678_onEachFeature(feature, layer) {
layer.on({
mouseout: function(e) {
if(typeof e.target.setStyle === "function"){
geo_json_60e129632177a521cd9212f3c9a5a678.resetStyle(e.target);
}
},
mouseover: function(e) {
if(typeof e.target.setStyle === "function"){
const highlightStyle = geo_json_60e129632177a521cd9212f3c9a5a678_highlighter(e.target.feature)
e.target.setStyle(highlightStyle);
}
},
});
};
var geo_json_60e129632177a521cd9212f3c9a5a678 = L.geoJson(null, {
onEachFeature: geo_json_60e129632177a521cd9212f3c9a5a678_onEachFeature,
style: geo_json_60e129632177a521cd9212f3c9a5a678_styler,
pointToLayer: geo_json_60e129632177a521cd9212f3c9a5a678_pointToLayer,
});
function geo_json_60e129632177a521cd9212f3c9a5a678_add (data) {
geo_json_60e129632177a521cd9212f3c9a5a678
.addData(data);
}
geo_json_60e129632177a521cd9212f3c9a5a678_add({"bbox": [0.0, 0.0, 125.34, 75.1], "features": [{"bbox": [76.0, 48.0, 76.0, 48.0], "geometry": {"coordinates": [76.0, 48.0], "type": "Point"}, "id": "1949-01-01T00:00:00.000", "properties": {"country": "USSR", "date_long": 19490829, "depth": 0.0, "id_no": 49001, "latitude": 48.0, "longitude": 76.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "SEMI KAZAKH", "source": "DOE", "type": "SURFACE", "year": 1949, "yield_lower": 22.0, "yield_upper": 22.0}, "type": "Feature"}, {"bbox": [76.0, 48.0, 76.0, 48.0], "geometry": {"coordinates": [76.0, 48.0], "type": "Point"}, "id": "1951-01-01T00:00:00.000", "properties": {"country": "USSR", "date_long": 19510924, "depth": 0.0, "id_no": 51010, "latitude": 48.0, "longitude": 76.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "SEMI KAZAKH", "source": "DOE", "type": "SURFACE", "year": 1951, "yield_lower": 38.0, "yield_upper": 38.0}, "type": "Feature"}, {"bbox": [76.0, 48.0, 76.0, 48.0], "geometry": {"coordinates": [76.0, 48.0], "type": "Point"}, "id": "1951-01-01T00:00:00.000", "properties": {"country": "USSR", "date_long": 19511018, "depth": 0.0, "id_no": 51011, "latitude": 48.0, "longitude": 76.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "SEMI KAZAKH", "source": "DOE", "type": "AIRDROP", "year": 1951, "yield_lower": 42.0, "yield_upper": 42.0}, "type": "Feature"}, {"bbox": [78.0, 50.0, 78.0, 50.0], "geometry": {"coordinates": [78.0, 50.0], "type": "Point"}, "id": "1953-01-01T00:00:00.000", "properties": {"country": "USSR", "date_long": 19530812, "depth": 0.0, "id_no": 53012, "latitude": 50.0, "longitude": 78.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "SEMI KAZAKH", "source": "DOE", "type": "SURFACE", "year": 1953, "yield_lower": 400.0, "yield_upper": 400.0}, "type": "Feature"}, {"bbox": [78.0, 50.0, 78.0, 50.0], "geometry": {"coordinates": [78.0, 50.0], "type": "Point"}, "id": "1953-01-01T00:00:00.000", "properties": {"country": "USSR", "date_long": 19530823, "depth": 0.0, "id_no": 53013, "latitude": 50.0, "longitude": 78.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "SEMI KAZAKH", "source": "DOE", "type": "ATMOSPH", "year": 1953, "yield_lower": 28.0, "yield_upper": 28.0}, "type": "Feature"}, {"bbox": [78.0, 50.0, 78.0, 50.0], "geometry": {"coordinates": [78.0, 50.0], "type": "Point"}, "id": "1953-01-01T00:00:00.000", "properties": {"country": "USSR", "date_long": 19530903, "depth": 0.0, "id_no": 53014, "latitude": 50.0, "longitude": 78.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "SEMI KAZAKH", "source": "MTM", "type": "ATMOSPH", "year": 1953, "yield_lower": 5.8, "yield_upper": 5.8}, "type": "Feature"}, {"bbox": [78.0, 50.0, 78.0, 50.0], "geometry": {"coordinates": [78.0, 50.0], "type": "Point"}, "id": "1953-01-01T00:00:00.000", "properties": {"country": "USSR", "date_long": 19530908, "depth": 0.0, "id_no": 53015, "latitude": 50.0, "longitude": 78.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "SEMI KAZAKH", "source": "MTM", "type": "ATMOSPH", "year": 1953, "yield_lower": 1.6, "yield_upper": 1.6}, "type": "Feature"}, {"bbox": [78.0, 50.0, 78.0, 50.0], "geometry": {"coordinates": [78.0, 50.0], "type": "Point"}, "id": "1953-01-01T00:00:00.000", "properties": {"country": "USSR", "date_long": 19530910, "depth": 0.0, "id_no": 53016, "latitude": 50.0, "longitude": 78.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "SEMI KAZAKH", "source": "MTM", "type": "ATMOSPH", "year": 1953, "yield_lower": 4.9, "yield_upper": 4.9}, "type": "Feature"}, {"bbox": [55.0, 52.0, 55.0, 52.0], "geometry": {"coordinates": [55.0, 52.0], "type": "Point"}, "id": "1954-01-01T00:00:00.000", "properties": {"country": "USSR", "date_long": 19540914, "depth": 0.0, "id_no": 54007, "latitude": 52.0,
geo_json_60e129632177a521cd9212f3c9a5a678.bindTooltip(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "type"];
let aliases = ["year", "country", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i]}</th>
<td>${handleObject(layer.feature.properties[v])}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumtooltip", "sticky": true});
geo_json_60e129632177a521cd9212f3c9a5a678.bindPopup(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let aliases = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i].toLocaleString()}</th>
<td>${handleObject(layer.feature.properties[v]).toLocaleString()}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumpopup"});
geo_json_60e129632177a521cd9212f3c9a5a678.addTo(feature_group_ab6905d87d9b7b98d487bf6f24d96629);
feature_group_ab6905d87d9b7b98d487bf6f24d96629.addTo(map_c6caafdb2afe28f6c4ecdea0af1e1518);
var feature_group_9b9464a2960ff30a6b7161e7f701a3b9 = L.featureGroup(
{}
);
function geo_json_99c2f0602a34338da53f080d7fdc502b_styler(feature) {
switch(feature.properties.date_long) {
case 19600213: case 19600401: case 19601227: case 19610425: case 19611107: case 19620501: case 19630318: case 19630330: case 19631020: case 19640214: case 19640615: case 19641128: case 19650530: case 19651001: case 19660216: case 19660702: case 19660719: case 19660721: case 19660911: case 19660924: case 19661004: case 19670605: case 19670627: case 19670702: case 19680707: case 19680715: case 19680803: case 19700515: case 19700522: case 19700624: case 19700727: case 19700802: case 19700806: case 19710605: case 19710612: case 19710704: case 19710808: case 19720625: case 19720630: case 19720727: case 19720731: case 19730721: case 19730728: case 19730818: case 19730824: case 19730828: case 19730913: case 19740616: case 19740701: case 19740707: case 19740717: case 19740725: case 19740728: case 19740815: case 19740824: case 19740914: case 19760403: case 19760722: case 19761030: case 19761205: case 19770402: case 19770628: case 19770712: case 19780325: case 19780701: case 19780719: case 19781102: case 19781114: case 19790301: case 19790309: case 19790404: case 19791119: case 19791122: case 19800223: case 19800303: case 19800709: case 19801125: case 19810227: case 19810306: case 19810711: case 19810718: case 19811106: case 19820220: case 19820224: case 19820323: case 19820331: case 19820627: case 19820721: case 19821127: case 19830425: case 19830618: case 19830720: case 19831203: case 19831207: case 19841102: case 19841206: case 19850430: case 19850508: case 19850603: case 19850607: case 19851026: case 19860506: case 19860527: case 19861110: case 19861112: case 19861206: case 19870505: case 19870520: case 19870606: case 19870621: case 19871023: case 19871105: case 19871119: case 19871129: case 19880511: case 19880525: case 19880616: case 19880623: case 19881025: case 19881105: case 19881123: case 19881130: case 19890511: case 19890520: case 19890603: case 19890610: case 19891024: case 19891031: case 19891120: case 19891125: case 19891127: case 19900602: case 19900607: case 19900626: case 19900704: case 19901114: case 19901121: case 19910507: case 19910518: case 19910529: case 19910614: case 19910705: case 19910715: case 19950905: case 19951001: case 19951027: case 19951121: case 19951227: case 19960127:
return {"color": "#da8bc3", "radius": 10.0};
case 19650227: case 19801203: case 19820725: case 19830419: case 19851126: case 19860530:
return {"color": "#da8bc3", "radius": 56.0};
case 19651201: case 19751126: case 19771217: case 19780726: case 19781219: case 19790324: case 19820320: case 19851124:
return {"color": "#da8bc3", "radius": 49.0};
case 19680824: case 19760711: case 19771112: case 19800621:
return {"color": "#da8bc3", "radius": 50.0};
case 19680908: case 19700530: case 19710814: case 19790618: case 19810328: case 19840612:
return {"color": "#da8bc3", "radius": 47.0};
case 19700703: case 19750605: case 19780322: case 19810410: case 19841027: case 19851024: case 19860426:
return {"color": "#da8bc3", "radius": 48.0};
case 19770219: case 19770706: case 19781217: case 19811208: case 19820701: case 19830804:
return {"color": "#da8bc3", "radius": 52.0};
case 19770319: case 19781130: case 19800719:
return {"color": "#da8bc3", "radius": 58.0};
case 19771124: case 19790725:
return {"color": "#da8bc3", "radius": 60.0};
case 19780227:
return {"color": "#da8bc3", "radius": 40.0};
case 19790629: case 19800616: case 19830628:
return {"color": "#da8bc3", "radius": 54.0};
case 19790728:
return {"color": "#da8bc3", "radius": 44.0};
case 19800323: case 19840512:
return {"color": "#da8bc3", "radius": 57.0};
case 19800401:
return {"color": "#da8bc3", "radius": 51.0};
case 19800404: case 19811111:
return {"color": "#da8bc3", "radius": 45.0};
case 19800706: case 19811205:
return {"color": "#da8bc3", "radius": 46.0};
case 19810708: case 19810803: case 19840508: case 19840616: case 19861210:
return {"color": "#da8bc3", "radius": 53.0};
case 19830525:
return {"color": "#da8bc3", "radius": 59.0};
default:
return {"color": "#da8bc3", "radius": 42.0};
}
}
function geo_json_99c2f0602a34338da53f080d7fdc502b_highlighter(feature) {
switch(feature.properties.date_long) {
default:
return {"fillOpacity": 0.8};
}
}
function geo_json_99c2f0602a34338da53f080d7fdc502b_pointToLayer(feature, latlng) {
var opts = {"bubblingMouseEvents": true, "color": "#3388ff", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#3388ff", "fillOpacity": 0.4, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "opacity": 1.0, "radius": 3, "stroke": true, "weight": 3};
let style = geo_json_99c2f0602a34338da53f080d7fdc502b_styler(feature)
Object.assign(opts, style)
return new L.circle(latlng, opts)
}
function geo_json_99c2f0602a34338da53f080d7fdc502b_onEachFeature(feature, layer) {
layer.on({
mouseout: function(e) {
if(typeof e.target.setStyle === "function"){
geo_json_99c2f0602a34338da53f080d7fdc502b.resetStyle(e.target);
}
},
mouseover: function(e) {
if(typeof e.target.setStyle === "function"){
const highlightStyle = geo_json_99c2f0602a34338da53f080d7fdc502b_highlighter(e.target.feature)
e.target.setStyle(highlightStyle);
}
},
});
};
var geo_json_99c2f0602a34338da53f080d7fdc502b = L.geoJson(null, {
onEachFeature: geo_json_99c2f0602a34338da53f080d7fdc502b_onEachFeature,
style: geo_json_99c2f0602a34338da53f080d7fdc502b_styler,
pointToLayer: geo_json_99c2f0602a34338da53f080d7fdc502b_pointToLayer,
});
function geo_json_99c2f0602a34338da53f080d7fdc502b_add (data) {
geo_json_99c2f0602a34338da53f080d7fdc502b
.addData(data);
}
geo_json_99c2f0602a34338da53f080d7fdc502b_add({"bbox": [-140.5, -22.4, 5.4, 26.19], "features": [{"bbox": [-0.04, 26.19, -0.04, 26.19], "geometry": {"coordinates": [-0.04, 26.19], "type": "Point"}, "id": "1960-01-01T00:00:00.000", "properties": {"country": "France", "date_long": 19600213, "depth": -0.1, "id_no": 60001, "latitude": 26.19, "longitude": -0.04, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "GERBOISE BLEUE", "purpose": "WE", "region": "REGGANE ALG", "source": "DOE", "type": "TOWER", "year": 1960, "yield_lower": 0.0, "yield_upper": 200.0}, "type": "Feature"}, {"bbox": [-0.09, 26.0, -0.09, 26.0], "geometry": {"coordinates": [-0.09, 26.0], "type": "Point"}, "id": "1960-01-01T00:00:00.000", "properties": {"country": "France", "date_long": 19600401, "depth": -0.001, "id_no": 60002, "latitude": 26.0, "longitude": -0.09, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "GERBOISEBLANCHE", "purpose": "WR", "region": "REGGANE ALG", "source": "DOE", "type": "SURFACE", "year": 1960, "yield_lower": 0.0, "yield_upper": 20.0}, "type": "Feature"}, {"bbox": [-0.1, 26.0, -0.1, 26.0], "geometry": {"coordinates": [-0.1, 26.0], "type": "Point"}, "id": "1960-01-01T00:00:00.000", "properties": {"country": "France", "date_long": 19601227, "depth": 0.0, "id_no": 60003, "latitude": 26.0, "longitude": -0.1, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "GERBOISE ROUGE", "purpose": "WE", "region": "REGGANE ALG", "source": "DOE", "type": "TOWER", "year": 1960, "yield_lower": 0.0, "yield_upper": 20.0}, "type": "Feature"}, {"bbox": [-0.1, 26.0, -0.1, 26.0], "geometry": {"coordinates": [-0.1, 26.0], "type": "Point"}, "id": "1961-01-01T00:00:00.000", "properties": {"country": "France", "date_long": 19610425, "depth": 0.0, "id_no": 61001, "latitude": 26.0, "longitude": -0.1, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "GERBOISE VERTE", "purpose": "WR", "region": "REGGANE ALG", "source": "DOE", "type": "TOWER", "year": 1961, "yield_lower": 0.0, "yield_upper": 20.0}, "type": "Feature"}, {"bbox": [5.0, 24.0, 5.0, 24.0], "geometry": {"coordinates": [5.0, 24.0], "type": "Point"}, "id": "1961-01-01T00:00:00.000", "properties": {"country": "France", "date_long": 19611107, "depth": 0.0, "id_no": 61066, "latitude": 24.0, "longitude": 5.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "AGATHE", "purpose": "WR", "region": "IN ECKER ALG", "source": "DOE", "type": "GALLERY", "year": 1961, "yield_lower": 0.0, "yield_upper": 20.0}, "type": "Feature"}, {"bbox": [5.4, 23.8, 5.4, 23.8], "geometry": {"coordinates": [5.4, 23.8], "type": "Point"}, "id": "1962-01-01T00:00:00.000", "properties": {"country": "France", "date_long": 19620501, "depth": 0.0, "id_no": 62027, "latitude": 23.8, "longitude": 5.4, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "BERYL", "purpose": "WR", "region": "IN ECKER ALG", "source": "UGS", "type": "GALLERY", "year": 1962, "yield_lower": 20.0, "yield_upper": 150.0}, "type": "Feature"}, {"bbox": [5.0, 24.0, 5.0, 24.0], "geometry": {"coordinates": [5.0, 24.0], "type": "Point"}, "id": "1963-01-01T00:00:00.000", "properties": {"country": "France", "date_long": 19630318, "depth": 0.0, "id_no": 63010, "latitude": 24.0, "longitude": 5.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "EMERAUDE", "purpose": "WR", "region": "IN ECKER ALG", "source": "UGS", "type": "GALLERY", "year": 1963, "yield_lower": 0.0, "yield_upper": 20.0}, "type": "Feature"}, {"bbox": [5.0, 24.0, 5.0, 24.0], "geometry": {"coordinates": [5.0, 24.0], "type": "Point"}, "id": "1963-01-01T00:00:00.000", "properties": {"country": "France", "date_long": 19630330, "depth": 0.0, "id_no": 63012, "latitude": 24.0, "longitude": 5.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "AMETHYSTE", "purpose": "WR", "region": "IN ECKER ALG", "source": "DOE", "type": "GALLERY", "year": 1963, "yield_lower": 0.0, "yield_upper": 5.0}, "type": "Feature"}, {"bbox": [5.1, 24.1, 5.1, 24.1], "geometry": {"coordinates": [5.1, 24.1], "type": "Point"}, "id": "1963-01-01T00:00:00.000", "properties": {"country"
geo_json_99c2f0602a34338da53f080d7fdc502b.bindTooltip(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "type"];
let aliases = ["year", "country", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i]}</th>
<td>${handleObject(layer.feature.properties[v])}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumtooltip", "sticky": true});
geo_json_99c2f0602a34338da53f080d7fdc502b.bindPopup(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let aliases = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i].toLocaleString()}</th>
<td>${handleObject(layer.feature.properties[v]).toLocaleString()}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumpopup"});
geo_json_99c2f0602a34338da53f080d7fdc502b.addTo(feature_group_9b9464a2960ff30a6b7161e7f701a3b9);
feature_group_9b9464a2960ff30a6b7161e7f701a3b9.addTo(map_c6caafdb2afe28f6c4ecdea0af1e1518);
var feature_group_cde3700dcb867c4293fdc2eee3685e00 = L.featureGroup(
{}
);
function geo_json_01408b036c397c46ca7e24a01a8a77a6_styler(feature) {
switch(feature.properties.date_long) {
case 19521003: case 19531014: case 19531026: case 19560516: case 19560619: case 19560927: case 19561004: case 19561011: case 19561022: case 19570515: case 19570531: case 19570619: case 19570914: case 19570925: case 19571009: case 19571108: case 19580428: case 19580822: case 19580902: case 19580911: case 19580923: case 19620301: case 19621207: case 19640717: case 19640925:
return {"color": "#937860", "radius": 10.0};
case 19650910: case 19801217: case 19841209:
return {"color": "#937860", "radius": 51.0};
case 19740523:
return {"color": "#937860", "radius": 48.0};
case 19760826: case 19780411: case 19811112: case 19840501:
return {"color": "#937860", "radius": 53.0};
case 19781118:
return {"color": "#937860", "radius": 52.0};
case 19790829:
return {"color": "#937860", "radius": 47.0};
case 19800426: case 19820425:
return {"color": "#937860", "radius": 54.0};
case 19801024:
return {"color": "#937860", "radius": 44.0};
case 19830422:
return {"color": "#937860", "radius": 40.0};
case 19851205: case 19891208: case 19901114:
return {"color": "#937860", "radius": 57.0};
case 19860625:
return {"color": "#937860", "radius": 55.0};
case 19870716:
return {"color": "#937860", "radius": 50.0};
default:
return {"color": "#937860", "radius": 46.0};
}
}
function geo_json_01408b036c397c46ca7e24a01a8a77a6_highlighter(feature) {
switch(feature.properties.date_long) {
default:
return {"fillOpacity": 0.8};
}
}
function geo_json_01408b036c397c46ca7e24a01a8a77a6_pointToLayer(feature, latlng) {
var opts = {"bubblingMouseEvents": true, "color": "#3388ff", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#3388ff", "fillOpacity": 0.4, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "opacity": 1.0, "radius": 3, "stroke": true, "weight": 3};
let style = geo_json_01408b036c397c46ca7e24a01a8a77a6_styler(feature)
Object.assign(opts, style)
return new L.circle(latlng, opts)
}
function geo_json_01408b036c397c46ca7e24a01a8a77a6_onEachFeature(feature, layer) {
layer.on({
mouseout: function(e) {
if(typeof e.target.setStyle === "function"){
geo_json_01408b036c397c46ca7e24a01a8a77a6.resetStyle(e.target);
}
},
mouseover: function(e) {
if(typeof e.target.setStyle === "function"){
const highlightStyle = geo_json_01408b036c397c46ca7e24a01a8a77a6_highlighter(e.target.feature)
e.target.setStyle(highlightStyle);
}
},
});
};
var geo_json_01408b036c397c46ca7e24a01a8a77a6 = L.geoJson(null, {
onEachFeature: geo_json_01408b036c397c46ca7e24a01a8a77a6_onEachFeature,
style: geo_json_01408b036c397c46ca7e24a01a8a77a6_styler,
pointToLayer: geo_json_01408b036c397c46ca7e24a01a8a77a6_pointToLayer,
});
function geo_json_01408b036c397c46ca7e24a01a8a77a6_add (data) {
geo_json_01408b036c397c46ca7e24a01a8a77a6
.addData(data);
}
geo_json_01408b036c397c46ca7e24a01a8a77a6_add({"bbox": [-157.0, -30.0, 132.35, 37.3], "features": [{"bbox": [115.57, -20.4, 115.57, -20.4], "geometry": {"coordinates": [115.57, -20.4], "type": "Point"}, "id": "1952-01-01T00:00:00.000", "properties": {"country": "UK", "date_long": 19521003, "depth": -0.001, "id_no": 52009, "latitude": -20.4, "longitude": 115.57, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "HURRICANE", "purpose": "WE", "region": "MONTEB AUSTR", "source": "DOE", "type": "SHIP", "year": 1952, "yield_lower": 25.0, "yield_upper": 25.0}, "type": "Feature"}, {"bbox": [132.35, -28.7, 132.35, -28.7], "geometry": {"coordinates": [132.35, -28.7], "type": "Point"}, "id": "1953-01-01T00:00:00.000", "properties": {"country": "UK", "date_long": 19531014, "depth": 0.0, "id_no": 53017, "latitude": -28.7, "longitude": 132.35, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "TOTEM:1", "purpose": "WR", "region": "EMU AUSTR", "source": "DOE", "type": "TOWER", "year": 1953, "yield_lower": 10.0, "yield_upper": 10.0}, "type": "Feature"}, {"bbox": [132.35, -28.7, 132.35, -28.7], "geometry": {"coordinates": [132.35, -28.7], "type": "Point"}, "id": "1953-01-01T00:00:00.000", "properties": {"country": "UK", "date_long": 19531026, "depth": 0.0, "id_no": 53018, "latitude": -28.7, "longitude": 132.35, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "TOTEM:2", "purpose": "WR", "region": "EMU AUSTR", "source": "DOE", "type": "TOWER", "year": 1953, "yield_lower": 8.0, "yield_upper": 8.0}, "type": "Feature"}, {"bbox": [115.55, -20.23, 115.55, -20.23], "geometry": {"coordinates": [115.55, -20.23], "type": "Point"}, "id": "1956-01-01T00:00:00.000", "properties": {"country": "UK", "date_long": 19560516, "depth": 0.0, "id_no": 56006, "latitude": -20.23, "longitude": 115.55, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "MOSAIC:Gl", "purpose": "WR", "region": "MONTEB AUSTR", "source": "DOE", "type": "TOWER", "year": 1956, "yield_lower": 15.0, "yield_upper": 15.0}, "type": "Feature"}, {"bbox": [115.53, -20.4, 115.53, -20.4], "geometry": {"coordinates": [115.53, -20.4], "type": "Point"}, "id": "1956-01-01T00:00:00.000", "properties": {"country": "UK", "date_long": 19560619, "depth": 0.0, "id_no": 56016, "latitude": -20.4, "longitude": 115.53, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "MOSAIC:G2", "purpose": "WR", "region": "MONTEB AUSTR", "source": "DOE", "type": "TOWER", "year": 1956, "yield_lower": 60.0, "yield_upper": 60.0}, "type": "Feature"}, {"bbox": [131.0, -30.0, 131.0, -30.0], "geometry": {"coordinates": [131.0, -30.0], "type": "Point"}, "id": "1956-01-01T00:00:00.000", "properties": {"country": "UK", "date_long": 19560927, "depth": 0.0, "id_no": 56028, "latitude": -30.0, "longitude": 131.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "BUFFALO: Rl", "purpose": "WR", "region": "MARALI AUSTR", "source": "DOE", "type": "TOWER", "year": 1956, "yield_lower": 15.0, "yield_upper": 15.0}, "type": "Feature"}, {"bbox": [131.0, -30.0, 131.0, -30.0], "geometry": {"coordinates": [131.0, -30.0], "type": "Point"}, "id": "1956-01-01T00:00:00.000", "properties": {"country": "UK", "date_long": 19561004, "depth": -0.001, "id_no": 56029, "latitude": -30.0, "longitude": 131.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "BUFFALO:R2", "purpose": "WE", "region": "MARALI AUSTR", "source": "DOE", "type": "SURFACE", "year": 1956, "yield_lower": 1.5, "yield_upper": 1.5}, "type": "Feature"}, {"bbox": [131.0, -30.0, 131.0, -30.0], "geometry": {"coordinates": [131.0, -30.0], "type": "Point"}, "id": "1956-01-01T00:00:00.000", "properties": {"country": "UK", "date_long": 19561011, "depth": 0.0, "id_no": 56030, "latitude": -30.0, "longitude": 131.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": "BUFFALO: R3", "purpose": "WR", "region": "MARALI AUSTR", "source": "DOE", "type": "AIRDROP", "year": 1956, "yield_lower": 3.0, "yield_upper": 3.0}, "type": "Feature"}, {"bbox": [131.0, -30.0, 131.0, -30.0], "geometry": {"coordinates": [131.0, -30.0], "type": "Point"}, "id":
geo_json_01408b036c397c46ca7e24a01a8a77a6.bindTooltip(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "type"];
let aliases = ["year", "country", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i]}</th>
<td>${handleObject(layer.feature.properties[v])}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumtooltip", "sticky": true});
geo_json_01408b036c397c46ca7e24a01a8a77a6.bindPopup(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let aliases = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i].toLocaleString()}</th>
<td>${handleObject(layer.feature.properties[v]).toLocaleString()}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumpopup"});
geo_json_01408b036c397c46ca7e24a01a8a77a6.addTo(feature_group_cde3700dcb867c4293fdc2eee3685e00);
feature_group_cde3700dcb867c4293fdc2eee3685e00.addTo(map_c6caafdb2afe28f6c4ecdea0af1e1518);
var feature_group_564f79979133595658459d3f5deac0ca = L.featureGroup(
{}
);
function geo_json_a573b06cbfdfaf8c6c856388827e650e_styler(feature) {
switch(feature.properties.date_long) {
case 19641016: case 19650514: case 19660509: case 19661027: case 19661228: case 19671224: case 19681227: case 19711118: case 19720107: case 19720318: case 19760123: case 19760926: case 19770917: case 19780315: case 19781214: case 19790913: case 19821005: case 19830504:
return {"color": "#8172b3", "radius": 10.0};
case 19670617: case 19690929: case 19841219:
return {"color": "#8172b3", "radius": 47.0};
case 19690922:
return {"color": "#8172b3", "radius": 52.0};
case 19701014: case 19740617: case 19761117:
return {"color": "#8172b3", "radius": 46.0};
case 19730627:
return {"color": "#8172b3", "radius": 48.0};
case 19751027:
return {"color": "#8172b3", "radius": 50.0};
case 19761017: case 19781014: case 19880929:
return {"color": "#8172b3", "radius": 49.0};
case 19801016:
return {"color": "#8172b3", "radius": 44.0};
case 19831006:
return {"color": "#8172b3", "radius": 55.0};
case 19841003: case 19960729:
return {"color": "#8172b3", "radius": 53.0};
case 19870605:
return {"color": "#8172b3", "radius": 68.0};
case 19900526:
return {"color": "#8172b3", "radius": 58.0};
case 19900816:
return {"color": "#8172b3", "radius": 67.0};
case 19920521:
return {"color": "#8172b3", "radius": 71.0};
case 19920925:
return {"color": "#8172b3", "radius": 54.0};
case 19931005: case 19950817:
return {"color": "#8172b3", "radius": 64.0};
case 19940610: case 19941007: case 19960608:
return {"color": "#8172b3", "radius": 63.0};
default:
return {"color": "#8172b3", "radius": 65.0};
}
}
function geo_json_a573b06cbfdfaf8c6c856388827e650e_highlighter(feature) {
switch(feature.properties.date_long) {
default:
return {"fillOpacity": 0.8};
}
}
function geo_json_a573b06cbfdfaf8c6c856388827e650e_pointToLayer(feature, latlng) {
var opts = {"bubblingMouseEvents": true, "color": "#3388ff", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#3388ff", "fillOpacity": 0.4, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "opacity": 1.0, "radius": 3, "stroke": true, "weight": 3};
let style = geo_json_a573b06cbfdfaf8c6c856388827e650e_styler(feature)
Object.assign(opts, style)
return new L.circle(latlng, opts)
}
function geo_json_a573b06cbfdfaf8c6c856388827e650e_onEachFeature(feature, layer) {
layer.on({
mouseout: function(e) {
if(typeof e.target.setStyle === "function"){
geo_json_a573b06cbfdfaf8c6c856388827e650e.resetStyle(e.target);
}
},
mouseover: function(e) {
if(typeof e.target.setStyle === "function"){
const highlightStyle = geo_json_a573b06cbfdfaf8c6c856388827e650e_highlighter(e.target.feature)
e.target.setStyle(highlightStyle);
}
},
});
};
var geo_json_a573b06cbfdfaf8c6c856388827e650e = L.geoJson(null, {
onEachFeature: geo_json_a573b06cbfdfaf8c6c856388827e650e_onEachFeature,
style: geo_json_a573b06cbfdfaf8c6c856388827e650e_styler,
pointToLayer: geo_json_a573b06cbfdfaf8c6c856388827e650e_pointToLayer,
});
function geo_json_a573b06cbfdfaf8c6c856388827e650e_add (data) {
geo_json_a573b06cbfdfaf8c6c856388827e650e
.addData(data);
}
geo_json_a573b06cbfdfaf8c6c856388827e650e_add({"bbox": [88.21, 39.5, 89.94, 41.763], "features": [{"bbox": [89.0, 41.5, 89.0, 41.5], "geometry": {"coordinates": [89.0, 41.5], "type": "Point"}, "id": "1964-01-01T00:00:00.000", "properties": {"country": "China", "date_long": 19641016, "depth": 0.0, "id_no": 64031, "latitude": 41.5, "longitude": 89.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "LOP NOR", "source": "DOE", "type": "TOWER", "year": 1964, "yield_lower": 22.0, "yield_upper": 22.0}, "type": "Feature"}, {"bbox": [89.0, 41.5, 89.0, 41.5], "geometry": {"coordinates": [89.0, 41.5], "type": "Point"}, "id": "1965-01-01T00:00:00.000", "properties": {"country": "China", "date_long": 19650514, "depth": 0.0, "id_no": 65022, "latitude": 41.5, "longitude": 89.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "LOP NOR", "source": "DOE", "type": "AIRDROP", "year": 1965, "yield_lower": 35.0, "yield_upper": 35.0}, "type": "Feature"}, {"bbox": [89.0, 41.5, 89.0, 41.5], "geometry": {"coordinates": [89.0, 41.5], "type": "Point"}, "id": "1966-01-01T00:00:00.000", "properties": {"country": "China", "date_long": 19660509, "depth": 0.0, "id_no": 66076, "latitude": 41.5, "longitude": 89.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "LOP NOR", "source": "DOE", "type": "AIRDROP", "year": 1966, "yield_lower": 250.0, "yield_upper": 250.0}, "type": "Feature"}, {"bbox": [89.0, 41.5, 89.0, 41.5], "geometry": {"coordinates": [89.0, 41.5], "type": "Point"}, "id": "1966-01-01T00:00:00.000", "properties": {"country": "China", "date_long": 19661027, "depth": 0.0, "id_no": 66052, "latitude": 41.5, "longitude": 89.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "LOP NOR", "source": "DOE", "type": "ROCKET", "year": 1966, "yield_lower": 12.0, "yield_upper": 12.0}, "type": "Feature"}, {"bbox": [89.0, 41.5, 89.0, 41.5], "geometry": {"coordinates": [89.0, 41.5], "type": "Point"}, "id": "1966-01-01T00:00:00.000", "properties": {"country": "China", "date_long": 19661228, "depth": 0.0, "id_no": 66062, "latitude": 41.5, "longitude": 89.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "LOP NOR", "source": "DOE", "type": "TOWER", "year": 1966, "yield_lower": 122.0, "yield_upper": 122.0}, "type": "Feature"}, {"bbox": [89.4, 40.8, 89.4, 40.8], "geometry": {"coordinates": [89.4, 40.8], "type": "Point"}, "id": "1967-01-01T00:00:00.000", "properties": {"country": "China", "date_long": 19670617, "depth": 0.0, "id_no": 67019, "latitude": 40.8, "longitude": 89.4, "magnitude_body": 4.7, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "LOP NOR", "source": "ISC", "type": "AIRDROP", "year": 1967, "yield_lower": 3300.0, "yield_upper": 3300.0}, "type": "Feature"}, {"bbox": [89.0, 41.5, 89.0, 41.5], "geometry": {"coordinates": [89.0, 41.5], "type": "Point"}, "id": "1967-01-01T00:00:00.000", "properties": {"country": "China", "date_long": 19671224, "depth": 0.0, "id_no": 67047, "latitude": 41.5, "longitude": 89.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "LOP NOR", "source": "DOE", "type": "AIRDROP", "year": 1967, "yield_lower": 15.0, "yield_upper": 25.0}, "type": "Feature"}, {"bbox": [89.0, 41.5, 89.0, 41.5], "geometry": {"coordinates": [89.0, 41.5], "type": "Point"}, "id": "1968-01-01T00:00:00.000", "properties": {"country": "China", "date_long": 19681227, "depth": 0.0, "id_no": 68056, "latitude": 41.5, "longitude": 89.0, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "LOP NOR", "source": "DOE", "type": "AIRDROP", "year": 1968, "yield_lower": 3000.0, "yield_upper": 3000.0}, "type": "Feature"}, {"bbox": [88.33, 41.35, 88.33, 41.35], "geometry": {"coordinates": [88.33, 41.35], "type": "Point"}, "id": "1969-01-01T00:00:00.000", "properties": {"country": "China", "date_long": 19690922, "depth": 0.0, "id_no": 69027, "latitude": 41.35, "
geo_json_a573b06cbfdfaf8c6c856388827e650e.bindTooltip(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "type"];
let aliases = ["year", "country", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i]}</th>
<td>${handleObject(layer.feature.properties[v])}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumtooltip", "sticky": true});
geo_json_a573b06cbfdfaf8c6c856388827e650e.bindPopup(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let aliases = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i].toLocaleString()}</th>
<td>${handleObject(layer.feature.properties[v]).toLocaleString()}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumpopup"});
geo_json_a573b06cbfdfaf8c6c856388827e650e.addTo(feature_group_564f79979133595658459d3f5deac0ca);
feature_group_564f79979133595658459d3f5deac0ca.addTo(map_c6caafdb2afe28f6c4ecdea0af1e1518);
var feature_group_7188a17ec61c4106b8722026fc1d7072 = L.featureGroup(
{}
);
function geo_json_249c36123b5e5ef596e9a9b157e1ae23_styler(feature) {
switch(feature.properties.date_long) {
case 19740518:
return {"color": "#dd8452", "radius": 50.0};
case 19980511:
return {"color": "#dd8452", "radius": 53.0};
default:
return {"color": "#dd8452", "radius": 10.0};
}
}
function geo_json_249c36123b5e5ef596e9a9b157e1ae23_highlighter(feature) {
switch(feature.properties.date_long) {
default:
return {"fillOpacity": 0.8};
}
}
function geo_json_249c36123b5e5ef596e9a9b157e1ae23_pointToLayer(feature, latlng) {
var opts = {"bubblingMouseEvents": true, "color": "#3388ff", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#3388ff", "fillOpacity": 0.4, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "opacity": 1.0, "radius": 3, "stroke": true, "weight": 3};
let style = geo_json_249c36123b5e5ef596e9a9b157e1ae23_styler(feature)
Object.assign(opts, style)
return new L.circle(latlng, opts)
}
function geo_json_249c36123b5e5ef596e9a9b157e1ae23_onEachFeature(feature, layer) {
layer.on({
mouseout: function(e) {
if(typeof e.target.setStyle === "function"){
geo_json_249c36123b5e5ef596e9a9b157e1ae23.resetStyle(e.target);
}
},
mouseover: function(e) {
if(typeof e.target.setStyle === "function"){
const highlightStyle = geo_json_249c36123b5e5ef596e9a9b157e1ae23_highlighter(e.target.feature)
e.target.setStyle(highlightStyle);
}
},
});
};
var geo_json_249c36123b5e5ef596e9a9b157e1ae23 = L.geoJson(null, {
onEachFeature: geo_json_249c36123b5e5ef596e9a9b157e1ae23_onEachFeature,
style: geo_json_249c36123b5e5ef596e9a9b157e1ae23_styler,
pointToLayer: geo_json_249c36123b5e5ef596e9a9b157e1ae23_pointToLayer,
});
function geo_json_249c36123b5e5ef596e9a9b157e1ae23_add (data) {
geo_json_249c36123b5e5ef596e9a9b157e1ae23
.addData(data);
}
geo_json_249c36123b5e5ef596e9a9b157e1ae23_add({"bbox": [71.7, 26.9, 71.7, 27.07], "features": [{"bbox": [71.7, 26.9, 71.7, 26.9], "geometry": {"coordinates": [71.7, 26.9], "type": "Point"}, "id": "1974-01-01T00:00:00.000", "properties": {"country": "India", "date_long": 19740518, "depth": 0.0, "id_no": 74007, "latitude": 26.9, "longitude": 71.7, "magnitude_body": 5.0, "magnitude_surface": 0.0, "name": null, "purpose": "PNE", "region": "POKHRAN", "source": "UGS", "type": "SHAFT", "year": 1974, "yield_lower": 0.0, "yield_upper": 20.0}, "type": "Feature"}, {"bbox": [71.7, 27.07, 71.7, 27.07], "geometry": {"coordinates": [71.7, 27.07], "type": "Point"}, "id": "1998-01-01T00:00:00.000", "properties": {"country": "India", "date_long": 19980511, "depth": 0.0, "id_no": 98001, "latitude": 27.07, "longitude": 71.7, "magnitude_body": 5.3, "magnitude_surface": 0.0, "name": "SHAKTI 1-3", "purpose": "WR", "region": "POKHRAN", "source": "HFS", "type": "UG", "year": 1998, "yield_lower": 0.0, "yield_upper": 20.0}, "type": "Feature"}, {"bbox": [71.7, 27.07, 71.7, 27.07], "geometry": {"coordinates": [71.7, 27.07], "type": "Point"}, "id": "1998-01-01T00:00:00.000", "properties": {"country": "India", "date_long": 19980513, "depth": 0.0, "id_no": 98003, "latitude": 27.07, "longitude": 71.7, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "POKHRAN", "source": "NRD", "type": "UG", "year": 1998, "yield_lower": 0.0, "yield_upper": 1.0}, "type": "Feature"}], "type": "FeatureCollection"});
geo_json_249c36123b5e5ef596e9a9b157e1ae23.bindTooltip(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "type"];
let aliases = ["year", "country", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i]}</th>
<td>${handleObject(layer.feature.properties[v])}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumtooltip", "sticky": true});
geo_json_249c36123b5e5ef596e9a9b157e1ae23.bindPopup(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let aliases = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i].toLocaleString()}</th>
<td>${handleObject(layer.feature.properties[v]).toLocaleString()}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumpopup"});
geo_json_249c36123b5e5ef596e9a9b157e1ae23.addTo(feature_group_7188a17ec61c4106b8722026fc1d7072);
feature_group_7188a17ec61c4106b8722026fc1d7072.addTo(map_c6caafdb2afe28f6c4ecdea0af1e1518);
var feature_group_cdd098131d11a5d8d36ccc978ff41e15 = L.featureGroup(
{}
);
function geo_json_37e99da234119b3a3d1a0cf1f5f46c83_styler(feature) {
switch(feature.properties.date_long) {
case 19980528:
return {"color": "#55a868", "radius": 10.0};
default:
return {"color": "#55a868", "radius": 50.0};
}
}
function geo_json_37e99da234119b3a3d1a0cf1f5f46c83_highlighter(feature) {
switch(feature.properties.date_long) {
default:
return {"fillOpacity": 0.8};
}
}
function geo_json_37e99da234119b3a3d1a0cf1f5f46c83_pointToLayer(feature, latlng) {
var opts = {"bubblingMouseEvents": true, "color": "#3388ff", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#3388ff", "fillOpacity": 0.4, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "opacity": 1.0, "radius": 3, "stroke": true, "weight": 3};
let style = geo_json_37e99da234119b3a3d1a0cf1f5f46c83_styler(feature)
Object.assign(opts, style)
return new L.circle(latlng, opts)
}
function geo_json_37e99da234119b3a3d1a0cf1f5f46c83_onEachFeature(feature, layer) {
layer.on({
mouseout: function(e) {
if(typeof e.target.setStyle === "function"){
geo_json_37e99da234119b3a3d1a0cf1f5f46c83.resetStyle(e.target);
}
},
mouseover: function(e) {
if(typeof e.target.setStyle === "function"){
const highlightStyle = geo_json_37e99da234119b3a3d1a0cf1f5f46c83_highlighter(e.target.feature)
e.target.setStyle(highlightStyle);
}
},
});
};
var geo_json_37e99da234119b3a3d1a0cf1f5f46c83 = L.geoJson(null, {
onEachFeature: geo_json_37e99da234119b3a3d1a0cf1f5f46c83_onEachFeature,
style: geo_json_37e99da234119b3a3d1a0cf1f5f46c83_styler,
pointToLayer: geo_json_37e99da234119b3a3d1a0cf1f5f46c83_pointToLayer,
});
function geo_json_37e99da234119b3a3d1a0cf1f5f46c83_add (data) {
geo_json_37e99da234119b3a3d1a0cf1f5f46c83
.addData(data);
}
geo_json_37e99da234119b3a3d1a0cf1f5f46c83_add({"bbox": [63.78, 28.49, 64.89, 28.9], "features": [{"bbox": [64.89, 28.9, 64.89, 28.9], "geometry": {"coordinates": [64.89, 28.9], "type": "Point"}, "id": "1998-01-01T00:00:00.000", "properties": {"country": "Pakistan", "date_long": 19980528, "depth": 0.0, "id_no": 98004, "latitude": 28.9, "longitude": 64.89, "magnitude_body": 0.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "CHAGAI", "source": "HFS", "type": "UG", "year": 1998, "yield_lower": 0.0, "yield_upper": 35.0}, "type": "Feature"}, {"bbox": [63.78, 28.49, 63.78, 28.49], "geometry": {"coordinates": [63.78, 28.49], "type": "Point"}, "id": "1998-01-01T00:00:00.000", "properties": {"country": "Pakistan", "date_long": 19980530, "depth": 0.0, "id_no": 98005, "latitude": 28.49, "longitude": 63.78, "magnitude_body": 5.0, "magnitude_surface": 0.0, "name": null, "purpose": "WR", "region": "KHARAN", "source": "HFS", "type": "UG", "year": 1998, "yield_lower": 0.0, "yield_upper": 18.0}, "type": "Feature"}], "type": "FeatureCollection"});
geo_json_37e99da234119b3a3d1a0cf1f5f46c83.bindTooltip(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "type"];
let aliases = ["year", "country", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i]}</th>
<td>${handleObject(layer.feature.properties[v])}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumtooltip", "sticky": true});
geo_json_37e99da234119b3a3d1a0cf1f5f46c83.bindPopup(
function(layer){
let div = L.DomUtil.create('div');
let handleObject = feature=>typeof(feature)=='object' ? JSON.stringify(feature) : feature;
let fields = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let aliases = ["year", "country", "region", "source", "latitude", "longitude", "magnitude_body", "magnitude_surface", "depth", "yield_lower", "yield_upper", "purpose", "name", "type"];
let table = '<table>' +
String(
fields.map(
(v,i)=>
`<tr>
<th>${aliases[i].toLocaleString()}</th>
<td>${handleObject(layer.feature.properties[v]).toLocaleString()}</td>
</tr>`).join(''))
+'</table>';
div.innerHTML=table;
return div
}
,{"className": "foliumpopup"});
geo_json_37e99da234119b3a3d1a0cf1f5f46c83.addTo(feature_group_cdd098131d11a5d8d36ccc978ff41e15);
feature_group_cdd098131d11a5d8d36ccc978ff41e15.addTo(map_c6caafdb2afe28f6c4ecdea0af1e1518);
var layer_control_c609bbb05973de1a3d8f23d2acf080fb_layers = {
base_layers : {
"cartodbpositron" : tile_layer_87f6aa03032054c8ea8806c77473daae,
},
overlays : {
"US" : feature_group_19110c701176d1c346c8504a21de7553,
"USSR" : feature_group_ab6905d87d9b7b98d487bf6f24d96629,
"France" : feature_group_9b9464a2960ff30a6b7161e7f701a3b9,
"UK" : feature_group_cde3700dcb867c4293fdc2eee3685e00,
"China" : feature_group_564f79979133595658459d3f5deac0ca,
"India" : feature_group_7188a17ec61c4106b8722026fc1d7072,
"Pakistan" : feature_group_cdd098131d11a5d8d36ccc978ff41e15,
},
};
let layer_control_c609bbb05973de1a3d8f23d2acf080fb = L.control.layers(
layer_control_c609bbb05973de1a3d8f23d2acf080fb_layers.base_layers,
layer_control_c609bbb05973de1a3d8f23d2acf080fb_layers.overlays,
{"autoZIndex": true, "collapsed": true, "position": "topright"}
).addTo(map_c6caafdb2afe28f6c4ecdea0af1e1518);
</script>
</html>