@maptiler/client 3.2.0 → 3.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/client",
3
- "version": "3.2.0",
3
+ "version": "3.3.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",
package/readme.md CHANGED
@@ -261,39 +261,50 @@ In the following static map functions, the `option` object features a `style` pr
261
261
 
262
262
  - `MapStyle.STREETS`, reference style for navigation and city exploration
263
263
  - `MapStyle.STREETS.DARK` (variant)
264
- - `MapStyle.STREETS.LIGHT` (variant)
265
264
  - `MapStyle.STREETS.PASTEL` (variant)
265
+ - `MapStyle.SATELLITE` reference style satellite and airborne imagery
266
+ - `MapStyle.SATELLITE.DARK` (variant)
267
+ - `MapStyle.HYBRID` reference style satellite and airborne imagery with labels
268
+ - `MapStyle.HYBRID.DARK` (variant)
266
269
  - `MapStyle.OUTDOOR` reference style for adventure
270
+ - `MapStyle.OUTDOOR.DARK` (variant)
271
+ - `MapStyle.WINTER` reference style for winter adventure
272
+ - `MapStyle.WINTER.DARK` (variant)
267
273
  - `MapStyle.DATAVIZ`, the perfect style for data visualization, with very little noise
268
274
  - `MapStyle.DATAVIZ.DARK` (variant)
269
275
  - `MapStyle.DATAVIZ.LIGHT` (variant)
270
- - `MapStyle.BACKDROP`, the perfect style for data visualization, with very little noise
276
+ - `MapStyle.BACKDROP`, great style for data visualization when hillshading matters!
271
277
  - `MapStyle.BACKDROP.DARK` (variant)
272
278
  - `MapStyle.BACKDROP.LIGHT` (variant)
273
- - `MapStyle.WINTER` reference style for winter adventure
274
- - `MapStyle.SATELLITE` reference style satellite and airborne imagery (no variants)
275
- - `MapStyle.HYBRID` reference style satellite and airborne imagery with labels (no variants)
276
279
  - `MapStyle.BASE` reference style for minimalist design and general purpose
277
280
  - `MapStyle.BASE.DARK` (variant)
278
281
  - `MapStyle.BASE.LIGHT` (variant)
279
- - `MapStyle.BRIGHT` reference style for high contrast navigation
282
+ - `MapStyle.BRIGHT` reference style for high-contrast navigation
280
283
  - `MapStyle.BRIGHT.DARK` (variant)
281
284
  - `MapStyle.BRIGHT.LIGHT` (variant)
282
285
  - `MapStyle.BRIGHT.PASTEL` (variant)
283
286
  - `MapStyle.TOPO` reference style for topographic study
284
- - `MapStyle.TOPO.SHINY` (variant)
287
+ - `MapStyle.TOPO.DARK` (variant)
285
288
  - `MapStyle.TOPO.PASTEL` (variant)
286
289
  - `MapStyle.TOPO.TOPOGRAPHIQUE` (variant)
287
- - `MapStyle.VOYAGER` reference style for stylish yet minimalist maps
290
+ - `MapStyle.VOYAGER` reference style for stylish yet minimalist maps (deprecated, with all its variants)
288
291
  - `MapStyle.VOYAGER.DARK` (variant)
289
292
  - `MapStyle.VOYAGER.LIGHT` (variant)
290
293
  - `MapStyle.VOYAGER.VINTAGE` (variant)
291
- - `MapStyle.TONER` reference style for very high contrast stylish maps
294
+ - `MapStyle.TONER` reference style for very high contrast stylish maps (deprecated, with all its variants)
292
295
  - `MapStyle.TONER.BACKGROUND` (variant)
293
296
  - `MapStyle.TONER.LITE` (variant)
294
297
  - `MapStyle.TONER.LINES` (variant)
295
- - `MapStyle.OPENSTREETMAP` (reference style, this one does not have any variants)
296
- - `MapStyle.OCEAN` (reference style, this one does not have any variants)
298
+ - `MapStyle.OCEAN` reference style with bathymetric highlights
299
+ - `MapStyle.OCEAN.DARK` (variant)
300
+ - `MapStyle.LANDSCAPE` reference style terrain map for data overlays and visualisations
301
+ - `MapStyle.LANDSCAPE.DARK` (variant)
302
+ - `MapStyle.LANDSCAPE.VIVID` (variant)
303
+ - `MapStyle.AQUARELLE` reference style watercolor map for creative use
304
+ - `MapStyle.AQUARELLE.DARK` (variant)
305
+ - `MapStyle.AQUARELLE.VIVID` (variant)
306
+ - `MapStyle.OPENSTREETMAP` (reference style)
307
+ - `MapStyle.OPENSTREETMAP.DARK` (variant)
297
308
 
298
309
  #### Centered static maps
299
310
 
@@ -393,7 +404,7 @@ const imageLink = maptilerClient.staticMaps.automatic({
393
404
  height: 1024,
394
405
 
395
406
  // A grey style on which the track will pop!
396
- style: maptilerClient.MapStyle.STREETS.LIGHT,
407
+ style: maptilerClient.MapStyle.BASE.LIGHT,
397
408
 
398
409
  // Draw a path with the trackpoints
399
410
  path: trackPoints,