@maptiler/client 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/pull_request_template.md +11 -0
- package/.github/workflows/format-lint.yml +24 -0
- package/CHANGELOG.md +25 -0
- package/dist/maptiler-client.cjs +388 -306
- package/dist/maptiler-client.cjs.map +1 -1
- package/dist/maptiler-client.d.ts +270 -100
- package/dist/maptiler-client.min.mjs +1 -1
- package/dist/maptiler-client.mjs +380 -294
- package/dist/maptiler-client.mjs.map +1 -1
- package/package.json +7 -5
- package/readme.md +133 -1
- package/rollup.config.js +3 -3
- package/dist/maptiler-client.umd.js +0 -1541
- package/dist/maptiler-client.umd.js.map +0 -1
- package/dist/maptiler-client.umd.min.js +0 -1
- package/examples/test-browser-es.html +0 -103
- package/examples/test-browser-umd.html +0 -90
- package/examples/test-node.js +0 -52
- package/src/callFetch.ts +0 -18
- package/src/config.ts +0 -68
- package/src/defaults.ts +0 -11
- package/src/demProfiler/getElevation.ts +0 -46
- package/src/demProfiler/index.ts +0 -240
- package/src/demProfiler/tileCover.ts +0 -96
- package/src/geometry/area.ts +0 -96
- package/src/geometry/distance.ts +0 -45
- package/src/geometry/index.ts +0 -3
- package/src/geometry/util.ts +0 -34
- package/src/index.ts +0 -114
- package/src/language.ts +0 -87
- package/src/mapstyle.ts +0 -968
- package/src/services/ServiceError.ts +0 -13
- package/src/services/coordinates.ts +0 -263
- package/src/services/data.ts +0 -63
- package/src/services/geocoding.ts +0 -461
- package/src/services/geolocation.ts +0 -139
- package/src/services/simplify.ts +0 -87
- package/src/services/staticMaps.ts +0 -463
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: Format and Lint
|
|
2
|
+
|
|
3
|
+
on: [pull_request]
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
format-and-lint:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
steps:
|
|
9
|
+
- name: Check out Git repository
|
|
10
|
+
uses: actions/checkout@v3
|
|
11
|
+
|
|
12
|
+
- name: Set up Node.js
|
|
13
|
+
uses: actions/setup-node@v3
|
|
14
|
+
with:
|
|
15
|
+
node-version: 18
|
|
16
|
+
|
|
17
|
+
- name: Install Node.js dependencies
|
|
18
|
+
run: npm ci
|
|
19
|
+
|
|
20
|
+
- name: Formatting with Prettier
|
|
21
|
+
run: npm run format
|
|
22
|
+
|
|
23
|
+
- name: Linting with ESLint
|
|
24
|
+
run: npm run lint
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# MapTiler Client Changelog
|
|
2
|
+
|
|
3
|
+
## DEVEL
|
|
4
|
+
### New Features
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
### Others
|
|
7
|
+
|
|
8
|
+
## 1.8.0
|
|
9
|
+
### New Features
|
|
10
|
+
- Rework of the elevation API to be improve developper experience (new module `elevation`)
|
|
11
|
+
- Expoing some geo math with the new `math` module
|
|
12
|
+
- synchronized geocoding types with current geocoding API
|
|
13
|
+
- added `excludeTypes` option to geocoding API
|
|
14
|
+
|
|
15
|
+
## 1.7.0
|
|
16
|
+
### New Features
|
|
17
|
+
- DEM elevation API (https://github.com/maptiler/maptiler-client-js/pull/24)
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
- `geocoding.byId` can now be used with the apiKey (https://github.com/maptiler/maptiler-client-js/pull/27)
|
|
21
|
+
- the Typescript types are now properly exported (https://github.com/maptiler/maptiler-client-js/pull/25)
|
|
22
|
+
|
|
23
|
+
### Others
|
|
24
|
+
- the Typescript `moduleResolution` is now `"Bundler"` (used to be `"Node"`) (https://github.com/maptiler/maptiler-client-js/pull/28)
|
|
25
|
+
- updated some dev-dependencies (https://github.com/maptiler/maptiler-client-js/pull/28)
|