StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
StackGenVis/frontend/node_modules/@mapbox/mapbox-gl-supported/index.html

49 lines
1.2 KiB

4 years ago
<!doctype html>
<html style='height: 100%;'>
<head>
<link href='https://www.mapbox.com/base/latest/base.css' rel='stylesheet' />
<style>
html, body {
height: 100%;
}
body {
display:flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
h1, h2 {
display: block;
}
</style>
</head>
<body class='fill-gray'>
<h2 class='fancy center'>Mapbox GL JS is</h2>
<h1 class='fancy center'>...</h1>
<script src='index.js'></script>
<script>
var bodyElement = document.body;
var h1Element = document.getElementsByTagName('h1')[0];
if (mapboxgl.supported({failIfMajorPerformanceCaveat: true})) {
h1Element.innerHTML = 'supported';
bodyElement.className = 'fill-green';
} else if (mapboxgl.supported({failIfMajorPerformanceCaveat: false})) {
h1Element.innerHTML = 'supported with a major performance caveat';
bodyElement.className = 'fill-orange';
} else {
h1Element.innerHTML = 'not supported';
bodyElement.className = 'fill-red';
}
</script>
</body>
</html>