mapbox-gl-js-supported

WebJar for mapbox-gl-js-supported

License

License

Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

mapbox-gl-js-supported
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

mapbox-gl-js-supported
WebJar for mapbox-gl-js-supported
Project URL

Project URL

http://webjars.org

Download mapbox-gl-js-supported

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/mapbox-gl-js-supported/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>mapbox-gl-js-supported</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/mapbox-gl-js-supported/
implementation 'org.webjars.npm:mapbox-gl-js-supported:1.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/mapbox-gl-js-supported/
implementation ("org.webjars.npm:mapbox-gl-js-supported:1.1.0")
'org.webjars.npm:mapbox-gl-js-supported:jar:1.1.0'
<dependency org="org.webjars.npm" name="mapbox-gl-js-supported" rev="1.1.0">
  <artifact name="mapbox-gl-js-supported" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='mapbox-gl-js-supported', version='1.1.0')
)
libraryDependencies += "org.webjars.npm" % "mapbox-gl-js-supported" % "1.1.0"
[org.webjars.npm/mapbox-gl-js-supported "1.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Mapbox GL JS Supported

This library determines if a browser supports Mapbox GL JS.

Testing Your Browser

You may test your browser here.

Using Mapbox GL JS Supported with a <script> tag

<script src='mapbox-gl-supported.js'></script>
<script>
if (mapboxgl.supported()) {
    ...
} else {
    ...
}
</script>

Using Mapbox GL JS Supported with Browserify

npm install --save @mapbox/mapbox-gl-supported
var mapboxglSupported = require('@mapbox/mapbox-gl-supported');

if (mapboxglSupported.supported()) {
    ...
}
org.webjars.npm

Mapbox

Mapbox is the location data platform for mobile and web applications. We're changing the way people move around cities and explore our world.

Versions

Version
1.1.0