@maptiler/client 3.1.0-rc.5 → 3.1.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/dist/maptiler-client.cjs +50 -232
- package/dist/maptiler-client.cjs.map +1 -1
- package/dist/maptiler-client.d.ts +24 -231
- package/dist/maptiler-client.min.mjs +1 -1
- package/dist/maptiler-client.mjs +51 -159
- package/dist/maptiler-client.mjs.map +1 -1
- package/package.json +2 -3
- package/readme.md +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptiler/client",
|
|
3
|
-
"version": "3.1.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Javascript & Typescript wrapper to MapTiler Cloud API",
|
|
5
5
|
"module": "dist/maptiler-client.mjs",
|
|
6
6
|
"types": "dist/maptiler-client.d.ts",
|
|
@@ -73,14 +73,13 @@
|
|
|
73
73
|
"rollup-plugin-string": "^3.0.0",
|
|
74
74
|
"rollup-plugin-swc": "^0.2.1",
|
|
75
75
|
"serve": "^14.1.1",
|
|
76
|
-
"sharp": "^0.
|
|
76
|
+
"sharp": "^0.35.4",
|
|
77
77
|
"typedoc": "^0.25.2",
|
|
78
78
|
"typedoc-plugin-markdown": "^3.16.0",
|
|
79
79
|
"typescript": "^5.2.2",
|
|
80
80
|
"vitest": "^0.34.6"
|
|
81
81
|
},
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@googlemaps/polyline-codec": "^1.0.28",
|
|
84
83
|
"quick-lru": "^7.0.0"
|
|
85
84
|
}
|
|
86
85
|
}
|
package/readme.md
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
The **MapTiler Client JS** exposes a number of handy functions that wrap API calls to [MapTiler Cloud API services](https://docs.maptiler.com/cloud/api), such as:
|
|
6
6
|
- [Geocoding forward and reverse](#-geocoding)
|
|
7
|
-
- [Geolocation from visitor's IP address](#%EF%B8%8F%EF%B8%8F-geolocation)
|
|
7
|
+
- [Geolocation from visitor's IP address](#%EF%B8%8F%E2%80%8D%EF%B8%8F-geolocation)
|
|
8
8
|
- [Coordinate systems search and transform](#-coordinates)
|
|
9
9
|
- [User data fetching as GeoJSON](#-data)
|
|
10
10
|
- [Static maps of all sorts](#%EF%B8%8F-static-maps)
|
|
11
|
-
- [Elevation lookup with batch features](
|
|
11
|
+
- [Elevation lookup with batch features](#%EF%B8%8F-elevation)
|
|
12
12
|
|
|
13
13
|
The project is entirely written in TypeScript and all the function arguments are nicely documented and typed.
|
|
14
14
|
|