typed-mapbox-gl
Type definitions for Mapbox GL JS
How to use
npm install mapbox-gl --save
typings install dt~geojson --global --save
typings install github:dobrud/typed-mapbox-gl --global --save
Usage in code:
import * as mapboxgl from 'mapbox-gl';
If you need only a single class:
import {LngLat} from 'mapbox-gl';
Run tests
typings install
tsc mapbox-gl-tests.ts