File tree Expand file tree Collapse file tree 3 files changed +19
-17
lines changed Expand file tree Collapse file tree 3 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 4646 "@babel/preset-typescript" : " ^7.9.0" ,
4747 "@types/jest" : " ^25.2.1" ,
4848 "@types/lodash" : " ^4.14.150" ,
49- "@types/mapbox-gl" : " ^1.9.1" ,
5049 "@types/node" : " ^13.13.5" ,
5150 "@types/node-fetch" : " ^2.5.7" ,
5251 "@types/semver" : " ^7.1.0" ,
Original file line number Diff line number Diff line change 2020import _ from 'lodash' ;
2121import { EMSClient , EmsTmsFormat , TMSServiceConfig } from './ems_client' ;
2222import { AbstractEmsService } from './ems_service' ;
23- import { Sources , Style , VectorSource } from 'mapbox-gl' ;
2423
25- type EmsVectorSource = VectorSource & {
24+ type EmsVectorSource = {
25+ type : 'vector' ;
2626 url : string ;
2727 tiles : string [ ] ;
28+ bounds ?: number [ ] ;
29+ scheme ?: 'xyz' | 'tms' ;
30+ minzoom ?: number ;
31+ maxzoom ?: number ;
32+ attribution ?: string ;
2833} ;
2934
30- type EmsVectorSources = Sources & {
35+ type EmsVectorSources = {
3136 [ sourceName : string ] : EmsVectorSource ;
3237} ;
3338
34- type EmsVectorStyle = Style & {
39+ type EmsVectorStyle = {
3540 sources : EmsVectorSources ;
3641 sprite : string ;
3742 glyphs : string ;
43+ bearing ?: number ;
44+ center ?: number [ ] ;
45+ layers ?: unknown [ ] ;
46+ metadata ?: unknown ;
47+ name ?: string ;
48+ pitch ?: number ;
49+ light ?: unknown ;
50+ transition ?: unknown ;
51+ version : number ;
52+ zoom ?: number ;
3853} ;
3954
4055type EmsSprite = {
Original file line number Diff line number Diff line change 12211221 resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d"
12221222 integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==
12231223
1224- " @types/geojson@* " :
1225- version "7946.0.7"
1226- resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.7.tgz#c8fa532b60a0042219cdf173ca21a975ef0666ad"
1227- integrity sha512-wE2v81i4C4Ol09RtsWFAqg3BUitWbHSpSlIo+bNdsCJijO9sjme+zm+73ZMCa/qMC8UEERxzGbvmr1cffo2SiQ==
1228-
12291224" @types/graceful-fs@^4.1.2 " :
12301225 version "4.1.3"
12311226 resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.3.tgz#039af35fe26bec35003e8d86d2ee9c586354348f"
12761271 resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.150.tgz#649fe44684c3f1fcb6164d943c5a61977e8cf0bd"
12771272 integrity sha512-kMNLM5JBcasgYscD9x/Gvr6lTAv2NVgsKtet/hm93qMyf/D1pt+7jeEZklKJKxMVmXjxbRVQQGfqDSfipYCO6w==
12781273
1279- " @types/mapbox-gl@^1.9.1 " :
1280- version "1.9.1"
1281- resolved "https://registry.yarnpkg.com/@types/mapbox-gl/-/mapbox-gl-1.9.1.tgz#78b62f8a1ead78bc525a4c1db84bb71fa0fcc579"
1282- integrity sha512-5LS/fljbGjCPfjtOK5+pz8TT0PL4bBXTnN/PDbPtTQMqQdY/KWTWE4jRPuo0fL5wctd543DCptEUTydn+JK+gA==
1283- dependencies :
1284- " @types/geojson" " *"
1285-
12861274" @types/node-fetch@^2.5.7 " :
12871275 version "2.5.7"
12881276 resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.5.7.tgz#20a2afffa882ab04d44ca786449a276f9f6bbf3c"
You can’t perform that action at this time.
0 commit comments