Skip to content

jplante/mapbox-gl-js-typescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installing:

npm install mapbox-gl --save
typings install registry:dt/geojson --save --global 
typings install github:smartrak/mapbox-gl-js-typescript/typings.json --save

Edit your tsconfig.json to contain

{
    "files": [
        "typings/index.d.ts"
	]
}

Now you can import mapboxgl = require('mapbox-gl');

There is a working example with webpack here: https://github.com/danzel/mapboxgl-webpack-example

About

Typescript definition for mapbox-gl-js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published