Code Monkey home page Code Monkey logo

mapbox-gl-js-typescript's People

Contributors

bryanjjohnson avatar danzel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mapbox-gl-js-typescript's Issues

Adding to the project

I added some of the missing parts to the typings file. I haven't been able to make a pull request to add to the project. Is the project open for that, or would you rather I send the changes to you some other way?

Typescript Error

I am using mapbox-gl in my typescript project.
I followed your instructions and get error

TypeScript error: typings/modules/mapbox-gl/index.d.ts(224,61): Error TS1110: Type expected.

Can you please help me with this issue?

Left-hand side of assignment... with mapboxgl.accessToken

When I try to set my token with

mapboxgl.accessToken = '123favoriteToken'

my TypeScript linter complains (errors) with Left-hand side of assignment expression cannot be a constant or read-only property. I'm using a pretty generic tsconfig.json supplied by angular-cli. Should there be a setter method for this property?

error TS2314: Generic type 'Feature<T>' requires 1 type argument(s)

I'm getting this error at compilation time.
.../typings/modules/mapbox-gl/index.d.ts(238,164): error TS2314: Generic type 'Feature' requires 1 type argument(s).
.../typings/modules/mapbox-gl/index.d.ts(240,104): error TS2314: Generic type 'Feature' requires 1 type argument(s).
.../typings/modules/mapbox-gl/index.d.ts(281,13): error TS2304: Cannot find name 'undefined'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.