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.
31 lines
627 B
31 lines
627 B
4 years ago
|
# Mapbox GL JS Supported
|
||
|
|
||
|
This library determines if a browser supports [Mapbox GL JS](http://github.com/mapbox/mapbox-gl-js).
|
||
|
|
||
|
## Testing Your Browser
|
||
|
|
||
|
You may test your browser [here](http://mapbox.github.io/mapbox-gl-supported).
|
||
|
|
||
|
## Using Mapbox GL JS Supported with a `<script>` tag
|
||
|
|
||
|
```html
|
||
|
<script src='mapbox-gl-supported.js'></script>
|
||
|
<script>
|
||
|
if (mapboxgl.supported()) {
|
||
|
...
|
||
|
} else {
|
||
|
...
|
||
|
}
|
||
|
</script>
|
||
|
```
|
||
|
|
||
|
## Using Mapbox GL JS Supported with [Browserify](http://browserify.org/)
|
||
|
|
||
|
```bash
|
||
|
npm install --save @mapbox/mapbox-gl-supported
|
||
|
```
|
||
|
|
||
|
```js
|
||
|
var isSupported = require('@mapbox/mapbox-gl-supported')();
|
||
|
```
|