@vtmap/vtmap-sdk-js
Version:
JS SDK for accessing Viettelmaps APIs
20 lines (17 loc) • 427 B
JavaScript
/**
* `[longitude, latitude]`
*
* @typedef {Array<number>} Coordinates
*/
/**
* `[minLongitude, minLatitude, maxLongitude, maxLatitude]`
*
* @typedef {Array<number>} BoundingBox
*/
/**
* In Node, files must be `ReadableStream`s or paths pointing for the file in the filesystem.
*
* In the browser, files must be `Blob`s or `ArrayBuffer`s.
*
* @typedef {Blob|ArrayBuffer|string|ReadableStream} UploadableFile
*/