@maptiler/client 1.0.3 → 1.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.
Files changed (72) hide show
  1. package/dist/maptiler-client.cjs +465 -21
  2. package/dist/maptiler-client.cjs.map +1 -1
  3. package/dist/maptiler-client.d.ts +395 -2
  4. package/dist/maptiler-client.min.mjs +1 -1
  5. package/dist/maptiler-client.mjs +461 -22
  6. package/dist/maptiler-client.mjs.map +1 -1
  7. package/dist/maptiler-client.umd.js +465 -21
  8. package/dist/maptiler-client.umd.js.map +1 -1
  9. package/dist/maptiler-client.umd.min.js +1 -1
  10. package/docs/assets/custom.css +28 -1
  11. package/docs/classes/config.ClientConfig.html +9 -9
  12. package/docs/classes/services_ServiceError.ServiceError.html +7 -7
  13. package/docs/functions/language.getAutoLanguageGeocoding.html +5 -5
  14. package/docs/functions/services_simplify.default.html +5 -5
  15. package/docs/index.html +98 -10
  16. package/docs/modules/config.html +5 -5
  17. package/docs/modules/language.html +5 -5
  18. package/docs/modules/services_ServiceError.html +5 -5
  19. package/docs/modules/services_coordinates.html +5 -5
  20. package/docs/modules/services_data.html +5 -5
  21. package/docs/modules/services_geocoding.html +5 -5
  22. package/docs/modules/services_geolocation.html +5 -5
  23. package/docs/modules/services_simplify.html +5 -5
  24. package/docs/modules/services_staticMaps.html +5 -5
  25. package/docs/modules.html +4 -4
  26. package/docs/types/config.FetchFunction.html +5 -5
  27. package/docs/types/language.LanguageGeocodingString.html +5 -5
  28. package/docs/types/services_coordinates.CoordinateExport.html +5 -5
  29. package/docs/types/services_coordinates.CoordinateGrid.html +5 -5
  30. package/docs/types/services_coordinates.CoordinateId.html +5 -5
  31. package/docs/types/services_coordinates.CoordinateSearch.html +5 -5
  32. package/docs/types/services_coordinates.CoordinateSearchResult.html +5 -5
  33. package/docs/types/services_coordinates.CoordinateTransformResult.html +5 -5
  34. package/docs/types/services_coordinates.CoordinateTransformation.html +5 -5
  35. package/docs/types/services_coordinates.CoordinatesSearchOptions.html +5 -5
  36. package/docs/types/services_coordinates.CoordinatesTransformOptions.html +5 -5
  37. package/docs/types/services_coordinates.XYZ.html +5 -5
  38. package/docs/types/services_data.GetDataOptions.html +5 -5
  39. package/docs/types/services_geocoding.Coordinates.html +5 -5
  40. package/docs/types/services_geocoding.FeatureHierarchy.html +5 -5
  41. package/docs/types/services_geocoding.GeocodingFeature.html +5 -5
  42. package/docs/types/services_geocoding.GeocodingOptions.html +5 -5
  43. package/docs/types/services_geocoding.GeocodingSearchResult.html +5 -5
  44. package/docs/types/services_geocoding.ReverseGeocodingOptions.html +5 -5
  45. package/docs/types/services_geolocation.GeolocationInfoOptions.html +5 -5
  46. package/docs/types/services_geolocation.GeolocationResult.html +5 -5
  47. package/docs/types/services_staticMaps.AutomaticStaticMapOptions.html +5 -5
  48. package/docs/types/services_staticMaps.BoundedStaticMapOptions.html +5 -5
  49. package/docs/types/services_staticMaps.CenteredStaticMapOptions.html +5 -5
  50. package/docs/types/services_staticMaps.StaticMapBaseOptions.html +7 -7
  51. package/docs/types/services_staticMaps.StaticMapMarker.html +5 -5
  52. package/docs/variables/config.config.html +5 -5
  53. package/docs/variables/language.LanguageGeocoding.html +5 -5
  54. package/docs/variables/services_coordinates.coordinates.html +5 -5
  55. package/docs/variables/services_data.data.html +5 -5
  56. package/docs/variables/services_geocoding.geocoding.html +5 -5
  57. package/docs/variables/services_geolocation.geolocation.html +5 -5
  58. package/docs/variables/services_staticMaps.staticMaps.html +5 -5
  59. package/docsmd/README.md +143 -36
  60. package/docsmd/assets/custom.css +28 -1
  61. package/docsmd/classes/ClientConfig.md +5 -5
  62. package/docsmd/classes/MapStyleVariant.md +217 -0
  63. package/docsmd/classes/ReferenceMapStyle.md +169 -0
  64. package/docsmd/classes/ServiceError.md +3 -3
  65. package/examples/test-browser-umd.html +1 -1
  66. package/package.json +1 -1
  67. package/readme.md +64 -5
  68. package/src/index.ts +17 -0
  69. package/src/mapstyle.ts +841 -0
  70. package/src/services/staticMaps.ts +5 -4
  71. package/tsconfig.json +0 -1
  72. package/typedoc.css +28 -1
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ServiceError | MapTiler Client - v1.0.3</title><meta name="description" content="Documentation for MapTiler Client - v1.0.3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ServiceError | MapTiler Client - v1.1.0</title><meta name="description" content="Documentation for MapTiler Client - v1.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.0.3</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">MapTiler Client - v1.0.3</a></li>
15
+ <li><a href="../modules.html">MapTiler Client - v1.1.0</a></li>
16
16
  <li><a href="../modules/services_ServiceError.html">services/ServiceError</a></li>
17
17
  <li><a href="services_ServiceError.ServiceError.html">ServiceError</a></li></ul>
18
18
  <h1>Class ServiceError</h1></div>
@@ -26,7 +26,7 @@
26
26
  <ul class="tsd-hierarchy">
27
27
  <li><span class="target">ServiceError</span></li></ul></li></ul></section><aside class="tsd-sources">
28
28
  <ul>
29
- <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/ServiceError.ts#L4">services/ServiceError.ts:4</a></li></ul></aside>
29
+ <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/64f9493/src/services/ServiceError.ts#L4">services/ServiceError.ts:4</a></li></ul></aside>
30
30
  <section class="tsd-panel-group tsd-index-group">
31
31
  <section class="tsd-panel tsd-index-panel">
32
32
  <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@@ -57,14 +57,14 @@
57
57
  <h4 class="tsd-returns-title">Returns <a href="services_ServiceError.ServiceError.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceError</a></h4><aside class="tsd-sources">
58
58
  <p>Overrides Error.constructor</p>
59
59
  <ul>
60
- <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/ServiceError.ts#L5">services/ServiceError.ts:5</a></li></ul></aside></li></ul></section></section>
60
+ <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/64f9493/src/services/ServiceError.ts#L5">services/ServiceError.ts:5</a></li></ul></aside></li></ul></section></section>
61
61
  <section class="tsd-panel-group tsd-member-group">
62
62
  <h2>Properties</h2>
63
63
  <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="res" class="tsd-anchor"></a>
64
64
  <h3 class="tsd-anchor-link"><span>res</span><a href="#res" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
65
65
  <div class="tsd-signature">res<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Response</span></div><aside class="tsd-sources">
66
66
  <ul>
67
- <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/ServiceError.ts#L5">services/ServiceError.ts:5</a></li></ul></aside></section></section></div>
67
+ <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/64f9493/src/services/ServiceError.ts#L5">services/ServiceError.ts:5</a></li></ul></aside></section></section></div>
68
68
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
69
69
  <div class="tsd-navigation settings">
70
70
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -81,7 +81,7 @@
81
81
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
82
82
  <div class="tsd-accordion-details">
83
83
  <ul>
84
- <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.0.3</a>
84
+ <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.0</a>
85
85
  <ul>
86
86
  <li class="tsd-kind-module"><a href="../modules/config.html">config</a></li>
87
87
  <li class="tsd-kind-module"><a href="../modules/language.html">language</a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>getAutoLanguageGeocoding | MapTiler Client - v1.0.3</title><meta name="description" content="Documentation for MapTiler Client - v1.0.3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>getAutoLanguageGeocoding | MapTiler Client - v1.1.0</title><meta name="description" content="Documentation for MapTiler Client - v1.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.0.3</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">MapTiler Client - v1.0.3</a></li>
15
+ <li><a href="../modules.html">MapTiler Client - v1.1.0</a></li>
16
16
  <li><a href="../modules/language.html">language</a></li>
17
17
  <li><a href="language.getAutoLanguageGeocoding.html">getAutoLanguageGeocoding</a></li></ul>
18
18
  <h1>Function getAutoLanguageGeocoding</h1></div>
@@ -22,7 +22,7 @@
22
22
  <li class="tsd-description">
23
23
  <h4 class="tsd-returns-title">Returns <a href="../types/language.LanguageGeocodingString.html" class="tsd-signature-type" data-tsd-kind="Type alias">LanguageGeocodingString</a></h4><aside class="tsd-sources">
24
24
  <ul>
25
- <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/language.ts#L71">language.ts:71</a></li></ul></aside></li></ul></section></div>
25
+ <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/64f9493/src/language.ts#L71">language.ts:71</a></li></ul></aside></li></ul></section></div>
26
26
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
27
27
  <div class="tsd-navigation settings">
28
28
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -39,7 +39,7 @@
39
39
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
40
40
  <div class="tsd-accordion-details">
41
41
  <ul>
42
- <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.0.3</a>
42
+ <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.0</a>
43
43
  <ul>
44
44
  <li class="tsd-kind-module"><a href="../modules/config.html">config</a></li>
45
45
  <li class="current tsd-kind-module"><a href="../modules/language.html">language</a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | MapTiler Client - v1.0.3</title><meta name="description" content="Documentation for MapTiler Client - v1.0.3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>default | MapTiler Client - v1.1.0</title><meta name="description" content="Documentation for MapTiler Client - v1.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.0.3</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">MapTiler Client - v1.0.3</a></li>
15
+ <li><a href="../modules.html">MapTiler Client - v1.1.0</a></li>
16
16
  <li><a href="../modules/services_simplify.html">services/simplify</a></li>
17
17
  <li><a href="services_simplify.default.html">default</a></li></ul>
18
18
  <h1>Function default</h1></div>
@@ -29,7 +29,7 @@
29
29
  <h5>tolerance: <span class="tsd-signature-type">number</span></h5></li></ul></div>
30
30
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Position</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
31
31
  <ul>
32
- <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/simplify.ts#L76">services/simplify.ts:76</a></li></ul></aside></li></ul></section></div>
32
+ <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/64f9493/src/services/simplify.ts#L76">services/simplify.ts:76</a></li></ul></aside></li></ul></section></div>
33
33
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
34
34
  <div class="tsd-navigation settings">
35
35
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -46,7 +46,7 @@
46
46
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
47
47
  <div class="tsd-accordion-details">
48
48
  <ul>
49
- <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.0.3</a>
49
+ <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.0</a>
50
50
  <ul>
51
51
  <li class="tsd-kind-module"><a href="../modules/config.html">config</a></li>
52
52
  <li class="tsd-kind-module"><a href="../modules/language.html">language</a></li>
package/docs/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MapTiler Client - v1.0.3</title><meta name="description" content="Documentation for MapTiler Client - v1.0.3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><link rel="stylesheet" href="assets/custom.css"/><script async src="assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MapTiler Client - v1.1.0</title><meta name="description" content="Documentation for MapTiler Client - v1.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><link rel="stylesheet" href="assets/custom.css"/><script async src="assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base=".">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,12 +6,12 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">MapTiler Client - v1.0.3</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">MapTiler Client - v1.1.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
- <h2>MapTiler Client - v1.0.3</h2></div>
14
+ <h2>MapTiler Client - v1.1.0</h2></div>
15
15
  <div class="tsd-panel tsd-typography"><p align="center">
16
16
  <a href="https://www.maptiler.com/">offcial page →</a><br>
17
17
  <img src="images/maptiler-client-logo.svg" width="400px">
@@ -29,8 +29,12 @@
29
29
  </p>
30
30
 
31
31
 
32
- <a href="#what-and-why" id="what-and-why" style="color: inherit; text-decoration: none;">
33
- <h1>What and why?</h1>
32
+ <a href="#api-client-library-for-javascript--typescript" id="api-client-library-for-javascript--typescript" style="color: inherit; text-decoration: none;">
33
+ <h1>API Client Library for JavaScript / TypeScript</h1>
34
+ </a>
35
+
36
+ <a href="#what" id="what" style="color: inherit; text-decoration: none;">
37
+ <h2>What?</h2>
34
38
  </a>
35
39
  <p>The <strong>MapTiler Client JS</strong> exposes a number of handy functions that wrap API call to <a href="https://docs.maptiler.com/cloud/api">MapTiler Cloud API services</a>, such as:</p>
36
40
  <ul>
@@ -40,7 +44,22 @@
40
44
  <li>User data fetching as GeoJSON</li>
41
45
  <li>Static maps of all sorts</li>
42
46
  </ul>
47
+
48
+ <a href="#why" id="why" style="color: inherit; text-decoration: none;">
49
+ <h2>Why?</h2>
50
+ </a>
43
51
  <p>The project is entirely written in TypeScript and all the function arguments are nicely documented and typed.</p>
52
+ <ul>
53
+ <li>Better developer experience of working with APIs in the code editor - with parameter info, quick info, and member lists.<ul>
54
+ <li>Code completion: reducing typos and other common mistakes</li>
55
+ <li>Content assist and code hinting providing contextual help</li>
56
+ </ul>
57
+ </li>
58
+ <li>Type safety - for higher quality code and testing</li>
59
+ <li>Backward compatibility: guaranteed on changes to API endpoints</li>
60
+ <li>Runs: in Node.js or in browser</li>
61
+ <li>Open source license</li>
62
+ </ul>
44
63
  <blockquote>
45
64
  <p>📣 <em><strong>Note:</strong></em> If you need <em>this</em> API wrapper <strong>AND</strong> a complete SDK to display beautiful interactive maps, then checkout <a href="https://github.com/maptiler/maptiler-sdk-js">MapTiler SDK JS</a>, it contains it all!</p>
46
65
  </blockquote>
@@ -54,7 +73,7 @@
54
73
  <a href="#api-documentation" id="api-documentation" style="color: inherit; text-decoration: none;">
55
74
  <h1>API documentation</h1>
56
75
  </a>
57
- <p>In addition to the details and examples provided in this readme, check out the <a href="docs/README.md">complete API documentation</a>).</p>
76
+ <p>In addition to the details and examples provided in this readme, check out the <a href="https://maptiler.github.io/maptiler-client-js">complete API documentation</a>.</p>
58
77
 
59
78
  <a href="#quick-start" id="quick-start" style="color: inherit; text-decoration: none;">
60
79
  <h1>Quick start</h1>
@@ -71,6 +90,9 @@
71
90
  <a href="#🔍-geocoding" id="🔍-geocoding" style="color: inherit; text-decoration: none;">
72
91
  <h2>🔍 Geocoding</h2>
73
92
  </a>
93
+ <blockquote>
94
+ <p>✅ Please, use geocoding responses in the context of server-side rendering, hydration or client-side rendering, but do not 🚫 store or redistribute MapTiler Cloud API data. In case of doubt, consult the <a href="https://www.maptiler.com/cloud/terms/#explicitly-prohibited-use">terms</a> ⚖️</p>
95
+ </blockquote>
74
96
 
75
97
  <a href="#forward" id="forward" style="color: inherit; text-decoration: none;">
76
98
  <h3>Forward</h3>
@@ -106,6 +128,9 @@
106
128
  <a href="#🕵️♂️-geolocation" id="🕵️♂️-geolocation" style="color: inherit; text-decoration: none;">
107
129
  <h2>🕵️‍♂️ Geolocation</h2>
108
130
  </a>
131
+ <blockquote>
132
+ <p>✅ Please, use geolocation responses in the context of server-side rendering, hydration or client-side rendering, but do not 🚫 store or redistribute MapTiler Cloud API data. In case of doubt, consult the <a href="https://www.maptiler.com/cloud/terms/#explicitly-prohibited-use">terms</a> ⚖️</p>
133
+ </blockquote>
109
134
  <p>The geolocation service provides an accurate location insight of a website visitor using its IP address.</p>
110
135
  <p>There is only a single function:</p>
111
136
  <pre><code class="language-ts"><span class="hl-2">// in an async function, or as a &#39;thenable&#39;:</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">result</span><span class="hl-0"> = </span><span class="hl-3">await</span><span class="hl-0"> </span><span class="hl-5">maptilerClient</span><span class="hl-0">.</span><span class="hl-5">geolocation</span><span class="hl-0">.</span><span class="hl-7">info</span><span class="hl-0">();</span>
@@ -115,6 +140,9 @@
115
140
  <a href="#🌐-coordinates" id="🌐-coordinates" style="color: inherit; text-decoration: none;">
116
141
  <h2>🌐 Coordinates</h2>
117
142
  </a>
143
+ <blockquote>
144
+ <p>✅ Please, use coordinate responses in the context of server-side rendering, hydration or client-side rendering, but do not 🚫 store or redistribute MapTiler Cloud API data. In case of doubt, consult the <a href="https://www.maptiler.com/cloud/terms/#explicitly-prohibited-use">terms</a> ⚖️</p>
145
+ </blockquote>
118
146
  <p>If you are already familiar with <a href="https://epsg.io/">epsg.io</a> (created by MapTiler), then you may find convenient to access the details of more than 10 thousands of coordinate reference systems (CRS) programmatically, as well as transforming coordinates from one system to another!</p>
119
147
 
120
148
  <a href="#search" id="search" style="color: inherit; text-decoration: none;">
@@ -146,6 +174,9 @@
146
174
  <a href="#🗺️-static-maps" id="🗺️-static-maps" style="color: inherit; text-decoration: none;">
147
175
  <h2>🗺️ Static maps</h2>
148
176
  </a>
177
+ <blockquote>
178
+ <p>✅ Please, use static maps URLs only from client side <code>&lt;img&gt;</code> elements, and do not 🚫 store or redistribute the static map files. In case of doubt, consult the <a href="https://www.maptiler.com/cloud/terms/#explicitly-prohibited-use">terms</a> ⚖️</p>
179
+ </blockquote>
149
180
  <p>Maptiler Cloud provides many possibilities for creating static maps as PNG, JPEG or WebP images. They all offer the possibilities to:</p>
150
181
  <ul>
151
182
  <li>Choose from one of the MapTiler style or your own</li>
@@ -157,11 +188,63 @@
157
188
  <p>📣 <em><strong>important:</strong></em> Contrary to the geolocation/geocoding/coordinates/data service wrappers, the static maps function <strong>does not</strong> perform any query to the MapTiler API, instead they build the image URL. We took this decision because images are most likely going to be displayed in <code>&lt;img src=&quot;path.png&quot;&gt;&lt;/img&gt;</code> markups and will naturaly be fetched by the web browser.</p>
158
189
  </blockquote>
159
190
 
191
+ <a href="#map-styles" id="map-styles" style="color: inherit; text-decoration: none;">
192
+ <h3>Map Styles</h3>
193
+ </a>
194
+ <p>In the following static map functions, the <code>option</code> object features a <code>style</code> property that can be a string or one of the built-in style shorthand. Here is the full list:</p>
195
+ <ul>
196
+ <li><code>MapStyle.STREETS</code>, reference style for navigation and city exploration<ul>
197
+ <li><code>MapStyle.STREETS.DARK</code> (variant)</li>
198
+ <li><code>MapStyle.STREETS.LIGHT</code> (variant)</li>
199
+ <li><code>MapStyle.STREETS.PASTEL</code> (variant)</li>
200
+ </ul>
201
+ </li>
202
+ <li><code>MapStyle.OUTDOOR</code> reference style for adventure</li>
203
+ <li><code>MapStyle.WINTER</code> reference style for winter adventure</li>
204
+ <li><code>MapStyle.SATELLITE</code> reference style satellite and airborne imagery (no variants)</li>
205
+ <li><code>MapStyle.HYBRID</code> reference style satellite and airborne imagery with labels (no variants)</li>
206
+ <li><code>MapStyle.BASIC</code> reference style for minimalist design and general purpose<ul>
207
+ <li><code>MapStyle.BASIC.DARK</code> (variant)</li>
208
+ <li><code>MapStyle.BASIC.LIGHT</code> (variant)</li>
209
+ </ul>
210
+ </li>
211
+ <li><code>MapStyle.BRIGHT</code> reference style for high contrast navigation<ul>
212
+ <li><code>MapStyle.BRIGHT.DARK</code> (variant)</li>
213
+ <li><code>MapStyle.BRIGHT.LIGHT</code> (variant)</li>
214
+ <li><code>MapStyle.BRIGHT.PASTEL</code> (variant)</li>
215
+ </ul>
216
+ </li>
217
+ <li><code>MapStyle.TOPO</code> reference style for topographic study<ul>
218
+ <li><code>MapStyle.TOPO.SHINY</code> (variant)</li>
219
+ <li><code>MapStyle.TOPO.PASTEL</code> (variant)</li>
220
+ <li><code>MapStyle.TOPO.TOPOGRAPHIQUE</code> (variant)</li>
221
+ </ul>
222
+ </li>
223
+ <li><code>MapStyle.VOYAGER</code> reference style for stylish yet minimalist maps<ul>
224
+ <li><code>MapStyle.VOYAGER.DARK</code> (variant)</li>
225
+ <li><code>MapStyle.VOYAGER.LIGHT</code> (variant)</li>
226
+ <li><code>MapStyle.VOYAGER.VINTAGE</code> (variant)</li>
227
+ </ul>
228
+ </li>
229
+ <li><code>MapStyle.TONER</code> reference style for very high contrast stylish maps <ul>
230
+ <li><code>MapStyle.TONER.BACKGROUND</code> (variant)</li>
231
+ <li><code>MapStyle.TONER.LITE</code> (variant)</li>
232
+ <li><code>MapStyle.TONER.LINES</code> (variant)</li>
233
+ </ul>
234
+ </li>
235
+ <li><code>MapStyle.OPENSTREETMAP</code> (reference style, this one does not have any variants)</li>
236
+ <li><code>MapStyle.STAGE</code>, the perfect style for data visualization, with very little noise<ul>
237
+ <li><code>MapStyle.STAGE.DARK</code> (variant)</li>
238
+ <li><code>MapStyle.STAGE.LIGHT</code> (variant)</li>
239
+ </ul>
240
+ </li>
241
+ </ul>
242
+
160
243
  <a href="#centered-static-maps" id="centered-static-maps" style="color: inherit; text-decoration: none;">
161
244
  <h3>Centered static maps</h3>
162
245
  </a>
163
246
  <p>This type of map is centered on a longitude-latitude coordinate and the zoom level must also be provided (from <code>0</code>: very zoomed out, to <code>22</code>: very zoomed in).<br>Note that if a path or markers are provided, the framing of the map will not automatically adapt to include those (use the <code>automatic</code> mode for that).</p>
164
- <pre><code class="language-ts"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">imageLink</span><span class="hl-0"> = </span><span class="hl-5">maptiler</span><span class="hl-0">.</span><span class="hl-5">staticMaps</span><span class="hl-0">.</span><span class="hl-7">centered</span><span class="hl-0">(</span><br/><span class="hl-0"> </span><span class="hl-2">// center position (Boston)</span><br/><span class="hl-0"> [-</span><span class="hl-8">71.06080</span><span class="hl-0">, </span><span class="hl-8">42.362114</span><span class="hl-0">], </span><br/><br/><span class="hl-0"> </span><span class="hl-2">// zoom level</span><br/><span class="hl-0"> </span><span class="hl-8">12.5</span><span class="hl-0">, </span><br/><span class="hl-0"> </span><br/><span class="hl-0"> </span><span class="hl-2">// Options</span><br/><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-2">// Request a hiDPI/Retina image</span><br/><span class="hl-0"> </span><span class="hl-5">hiDPI:</span><span class="hl-0"> </span><span class="hl-4">true</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Output image size</span><br/><span class="hl-0"> </span><span class="hl-5">width:</span><span class="hl-0"> </span><span class="hl-8">1000</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">height:</span><span class="hl-0"> </span><span class="hl-8">1000</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Map style</span><br/><span class="hl-0"> </span><span class="hl-5">style:</span><span class="hl-0"> </span><span class="hl-1">&#39;streets-v2&#39;</span><span class="hl-0">,</span><br/><span class="hl-0"> });</span>
247
+ <pre><code class="language-ts"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">imageLink</span><span class="hl-0"> = </span><span class="hl-5">maptiler</span><span class="hl-0">.</span><span class="hl-5">staticMaps</span><span class="hl-0">.</span><span class="hl-7">centered</span><span class="hl-0">(</span><br/><span class="hl-0"> </span><span class="hl-2">// center position (Boston)</span><br/><span class="hl-0"> [-</span><span class="hl-8">71.06080</span><span class="hl-0">, </span><span class="hl-8">42.362114</span><span class="hl-0">], </span><br/><br/><span class="hl-0"> </span><span class="hl-2">// zoom level</span><br/><span class="hl-0"> </span><span class="hl-8">12.5</span><span class="hl-0">, </span><br/><span class="hl-0"> </span><br/><span class="hl-0"> </span><span class="hl-2">// Options</span><br/><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-2">// Request a hiDPI/Retina image</span><br/><span class="hl-0"> </span><span class="hl-5">hiDPI:</span><span class="hl-0"> </span><span class="hl-4">true</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Output image size</span><br/><span class="hl-0"> </span><span class="hl-5">width:</span><span class="hl-0"> </span><span class="hl-8">1000</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">height:</span><span class="hl-0"> </span><span class="hl-8">1000</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Map style</span><br/><span class="hl-0"> </span><span class="hl-5">style:</span><span class="hl-0"> </span><span class="hl-5">maptilerClient</span><span class="hl-0">.</span><span class="hl-5">MapStyle</span><span class="hl-0">.</span><span class="hl-6">OUTDOOR</span><span class="hl-0">,</span><br/><span class="hl-0"> });</span>
165
248
  </code></pre>
166
249
  <p>Read more about centered static maps on our official <a href="https://docs.maptiler.com/cloud/api/static-maps/#center-based-image">API documentation</a>.</p>
167
250
 
@@ -169,7 +252,7 @@
169
252
  <h3>Bounded static maps</h3>
170
253
  </a>
171
254
  <p>This type of map requires a bounding box made of two points: the south-west bound and the north-east bound. The zoom level cannot be provided and is automatically deduced from the size of the bounding box.</p>
172
- <pre><code class="language-ts"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">imageLink</span><span class="hl-0"> = </span><span class="hl-5">maptiler</span><span class="hl-0">.</span><span class="hl-5">staticMaps</span><span class="hl-0">.</span><span class="hl-7">bounded</span><span class="hl-0">(</span><br/><span class="hl-0"> </span><span class="hl-2">// The bounding box on Europe</span><br/><span class="hl-0"> [</span><br/><span class="hl-0"> -</span><span class="hl-8">24</span><span class="hl-0">, </span><span class="hl-2">// west bound (min x)</span><br/><span class="hl-0"> </span><span class="hl-8">34.5</span><span class="hl-0">, </span><span class="hl-2">// south bound (min y)</span><br/><span class="hl-0"> </span><span class="hl-8">32</span><span class="hl-0">, </span><span class="hl-2">// east bound (max x)</span><br/><span class="hl-0"> </span><span class="hl-8">71</span><span class="hl-0">, </span><span class="hl-2">// north bound (max y)</span><br/><span class="hl-0"> ],</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Options</span><br/><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-5">hiDPI:</span><span class="hl-0"> </span><span class="hl-4">true</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">width:</span><span class="hl-0"> </span><span class="hl-8">2048</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">height:</span><span class="hl-0"> </span><span class="hl-8">2048</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">style:</span><span class="hl-0"> </span><span class="hl-1">&#39;streets-v2&#39;</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Extra space that will add around the bounding box, in percentage</span><br/><span class="hl-0"> </span><span class="hl-2">// (0.1 = 10% is actually the dafault)</span><br/><span class="hl-0"> </span><span class="hl-5">padding:</span><span class="hl-0"> </span><span class="hl-8">0.1</span><br/><span class="hl-0"> });</span>
255
+ <pre><code class="language-ts"><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">imageLink</span><span class="hl-0"> = </span><span class="hl-5">maptiler</span><span class="hl-0">.</span><span class="hl-5">staticMaps</span><span class="hl-0">.</span><span class="hl-7">bounded</span><span class="hl-0">(</span><br/><span class="hl-0"> </span><span class="hl-2">// The bounding box on Europe</span><br/><span class="hl-0"> [</span><br/><span class="hl-0"> -</span><span class="hl-8">24</span><span class="hl-0">, </span><span class="hl-2">// west bound (min x)</span><br/><span class="hl-0"> </span><span class="hl-8">34.5</span><span class="hl-0">, </span><span class="hl-2">// south bound (min y)</span><br/><span class="hl-0"> </span><span class="hl-8">32</span><span class="hl-0">, </span><span class="hl-2">// east bound (max x)</span><br/><span class="hl-0"> </span><span class="hl-8">71</span><span class="hl-0">, </span><span class="hl-2">// north bound (max y)</span><br/><span class="hl-0"> ],</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Options</span><br/><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-5">hiDPI:</span><span class="hl-0"> </span><span class="hl-4">true</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">width:</span><span class="hl-0"> </span><span class="hl-8">2048</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">height:</span><span class="hl-0"> </span><span class="hl-8">2048</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">style:</span><span class="hl-0"> </span><span class="hl-5">maptilerClient</span><span class="hl-0">.</span><span class="hl-5">MapStyle</span><span class="hl-0">.</span><span class="hl-6">STREETS</span><span class="hl-0">.</span><span class="hl-6">DARK</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Extra space that will add around the bounding box, in percentage</span><br/><span class="hl-0"> </span><span class="hl-2">// (0.1 = 10% is actually the dafault)</span><br/><span class="hl-0"> </span><span class="hl-5">padding:</span><span class="hl-0"> </span><span class="hl-8">0.1</span><br/><span class="hl-0"> });</span>
173
256
  </code></pre>
174
257
  <p>Since the zoom level cannot be provided, the level of details is dictated by the size of the output image. here is an example:</p>
175
258
  <table>
@@ -204,7 +287,7 @@
204
287
  </a>
205
288
  <p>As we have seen with centered and bounded maps, providing all the parameters is nice but can be cumbersome for the simplest use cases. This is why MapTiler Cloud also provides static maps that fits automatically whatever you need to place inside: path or markers.</p>
206
289
  <p>In the following example, we are going to load a cycling track recorded by one of our team members in Montreal, Canada. The track, originally a GPX file, was pushed to MapTiler Data and is now made avalable as a GeoJSON:</p>
207
- <pre><code class="language-ts"><span class="hl-2">// Fetching the GeoJSON</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">bikeTrack</span><span class="hl-0"> = </span><span class="hl-3">await</span><span class="hl-0"> </span><span class="hl-5">maptilerClient</span><span class="hl-0">.</span><span class="hl-5">data</span><span class="hl-0">.</span><span class="hl-7">get</span><span class="hl-0">(</span><span class="hl-1">&#39;the-id-of-a-bike-track-in-montreal&#39;</span><span class="hl-0">);</span><br/><br/><span class="hl-2">// Extracting the track points with the shape [[lng, lat], [lng, lat], ...]</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">trackPoints</span><span class="hl-0"> = </span><span class="hl-5">bikeTrack</span><span class="hl-0">.</span><span class="hl-5">features</span><span class="hl-0">[</span><span class="hl-8">0</span><span class="hl-0">].</span><span class="hl-5">geometry</span><span class="hl-0">.</span><span class="hl-5">coordinates</span><span class="hl-0">[</span><span class="hl-8">0</span><span class="hl-0">]</span><br/><span class="hl-0"> .</span><span class="hl-7">map</span><span class="hl-0">(</span><span class="hl-5">p</span><span class="hl-0"> </span><span class="hl-4">=&gt;</span><span class="hl-0"> </span><span class="hl-5">p</span><span class="hl-0">.</span><span class="hl-7">slice</span><span class="hl-0">(</span><span class="hl-8">0</span><span class="hl-0">, </span><span class="hl-8">2</span><span class="hl-0">));</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">imageLink</span><span class="hl-0"> = </span><span class="hl-5">maptiler</span><span class="hl-0">.</span><span class="hl-5">staticMaps</span><span class="hl-0">.</span><span class="hl-7">automatic</span><span class="hl-0">({</span><br/><span class="hl-0"> </span><span class="hl-2">// hiDPI/Retina precision</span><br/><span class="hl-0"> </span><span class="hl-5">hiDPI:</span><span class="hl-0"> </span><span class="hl-4">true</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// A farily large output image</span><br/><span class="hl-0"> </span><span class="hl-5">width:</span><span class="hl-0"> </span><span class="hl-8">2048</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">height:</span><span class="hl-0"> </span><span class="hl-8">1024</span><span class="hl-0"> ,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// A grey style on which the track will pop!</span><br/><span class="hl-0"> </span><span class="hl-5">style:</span><span class="hl-0"> </span><span class="hl-1">&#39;streets-v2-light&#39;</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Draw a path with the trackpoints</span><br/><span class="hl-0"> </span><span class="hl-5">path:</span><span class="hl-0"> </span><span class="hl-5">trackPoints</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Adding a marker for the starting point, with a custom color (array of shape [lng, lat, color])</span><br/><span class="hl-0"> </span><span class="hl-5">marker:</span><span class="hl-0"> [</span><span class="hl-5">trackPoints</span><span class="hl-0">[</span><span class="hl-8">0</span><span class="hl-0">][</span><span class="hl-8">0</span><span class="hl-0">], </span><span class="hl-5">trackPoints</span><span class="hl-0">[</span><span class="hl-8">0</span><span class="hl-0">][</span><span class="hl-8">1</span><span class="hl-0">], </span><span class="hl-1">&#39;#0a0&#39;</span><span class="hl-0">],</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Showing the track in red</span><br/><span class="hl-0"> </span><span class="hl-5">pathStrokeColor:</span><span class="hl-0"> </span><span class="hl-1">&#39;red&#39;</span><span class="hl-0">,</span><br/><span class="hl-0">});</span>
290
+ <pre><code class="language-ts"><span class="hl-2">// Fetching the GeoJSON</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">bikeTrack</span><span class="hl-0"> = </span><span class="hl-3">await</span><span class="hl-0"> </span><span class="hl-5">maptilerClient</span><span class="hl-0">.</span><span class="hl-5">data</span><span class="hl-0">.</span><span class="hl-7">get</span><span class="hl-0">(</span><span class="hl-1">&#39;the-id-of-a-bike-track-in-montreal&#39;</span><span class="hl-0">);</span><br/><br/><span class="hl-2">// Extracting the track points with the shape [[lng, lat], [lng, lat], ...]</span><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">trackPoints</span><span class="hl-0"> = </span><span class="hl-5">bikeTrack</span><span class="hl-0">.</span><span class="hl-5">features</span><span class="hl-0">[</span><span class="hl-8">0</span><span class="hl-0">].</span><span class="hl-5">geometry</span><span class="hl-0">.</span><span class="hl-5">coordinates</span><span class="hl-0">[</span><span class="hl-8">0</span><span class="hl-0">]</span><br/><span class="hl-0"> .</span><span class="hl-7">map</span><span class="hl-0">(</span><span class="hl-5">p</span><span class="hl-0"> </span><span class="hl-4">=&gt;</span><span class="hl-0"> </span><span class="hl-5">p</span><span class="hl-0">.</span><span class="hl-7">slice</span><span class="hl-0">(</span><span class="hl-8">0</span><span class="hl-0">, </span><span class="hl-8">2</span><span class="hl-0">));</span><br/><br/><span class="hl-4">const</span><span class="hl-0"> </span><span class="hl-6">imageLink</span><span class="hl-0"> = </span><span class="hl-5">maptiler</span><span class="hl-0">.</span><span class="hl-5">staticMaps</span><span class="hl-0">.</span><span class="hl-7">automatic</span><span class="hl-0">({</span><br/><span class="hl-0"> </span><span class="hl-2">// hiDPI/Retina precision</span><br/><span class="hl-0"> </span><span class="hl-5">hiDPI:</span><span class="hl-0"> </span><span class="hl-4">true</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// A farily large output image</span><br/><span class="hl-0"> </span><span class="hl-5">width:</span><span class="hl-0"> </span><span class="hl-8">2048</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">height:</span><span class="hl-0"> </span><span class="hl-8">1024</span><span class="hl-0"> ,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// A grey style on which the track will pop!</span><br/><span class="hl-0"> </span><span class="hl-5">style:</span><span class="hl-0"> </span><span class="hl-5">maptilerClient</span><span class="hl-0">.</span><span class="hl-5">MapStyle</span><span class="hl-0">.</span><span class="hl-6">STREETS</span><span class="hl-0">.</span><span class="hl-6">LIGHT</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Draw a path with the trackpoints</span><br/><span class="hl-0"> </span><span class="hl-5">path:</span><span class="hl-0"> </span><span class="hl-5">trackPoints</span><span class="hl-0">,</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Adding a marker for the starting point, with a custom color (array of shape [lng, lat, color])</span><br/><span class="hl-0"> </span><span class="hl-5">marker:</span><span class="hl-0"> [</span><span class="hl-5">trackPoints</span><span class="hl-0">[</span><span class="hl-8">0</span><span class="hl-0">][</span><span class="hl-8">0</span><span class="hl-0">], </span><span class="hl-5">trackPoints</span><span class="hl-0">[</span><span class="hl-8">0</span><span class="hl-0">][</span><span class="hl-8">1</span><span class="hl-0">], </span><span class="hl-1">&#39;#0a0&#39;</span><span class="hl-0">],</span><br/><br/><span class="hl-0"> </span><span class="hl-2">// Showing the track in red</span><br/><span class="hl-0"> </span><span class="hl-5">pathStrokeColor:</span><span class="hl-0"> </span><span class="hl-1">&#39;red&#39;</span><span class="hl-0">,</span><br/><span class="hl-0">});</span>
208
291
  </code></pre>
209
292
  <p>And voila!</p>
210
293
  <p><img src="images/screenshots/static-with-path.png" alt="static map with bike path"></p>
@@ -220,6 +303,11 @@
220
303
  <p>In <a href="examples/test-node.js">this NodeJS example</a>, you can see that the package <a href="https://www.npmjs.com/package/node-fetch">Node Fetch</a> has been <code>npm install</code>ed and is passed to the config object of the <em>MapTiler Client</em>.</p>
221
304
  <pre><code class="language-js"><span class="hl-3">import</span><span class="hl-0"> {</span><br/><span class="hl-0"> </span><span class="hl-5">config</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-2">// ...</span><br/><span class="hl-0">} </span><span class="hl-3">from</span><span class="hl-0"> </span><span class="hl-1">&#39;@maptiler/client&#39;</span><span class="hl-0">;</span><br/><br/><span class="hl-2">// For this example to work, you must bring your own node-compatible fetch,</span><br/><span class="hl-2">// unles you are using a version of Nodejs that already contains fetch (&gt;=18)</span><br/><span class="hl-3">import</span><span class="hl-0"> </span><span class="hl-5">fetch</span><span class="hl-0"> </span><span class="hl-3">from</span><span class="hl-0"> </span><span class="hl-1">&#39;node-fetch&#39;</span><span class="hl-0">;</span><br/><br/><span class="hl-5">config</span><span class="hl-0">.</span><span class="hl-5">fetch</span><span class="hl-0"> = </span><span class="hl-5">fetch</span><span class="hl-0">;</span><br/><br/><span class="hl-2">// ...</span>
222
305
  </code></pre>
306
+
307
+ <a href="#terms-and-usage-limitations" id="terms-and-usage-limitations" style="color: inherit; text-decoration: none;">
308
+ <h1>Terms and usage limitations</h1>
309
+ </a>
310
+ <p>The data fetched from MapTiler Cloud API, with or without this library, cannot be stored or redistributed in any ways. If you have any doubt about your specific usecase, please consult our <a href="https://www.maptiler.com/cloud/terms/">legal terms</a> or contact us at <strong><a href="mailto:sales@maptiler.com">sales@maptiler.com</a></strong> .</p>
223
311
  </div></div>
224
312
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
225
313
  <div class="tsd-navigation settings">
@@ -237,7 +325,7 @@
237
325
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
238
326
  <div class="tsd-accordion-details">
239
327
  <ul>
240
- <li class="current selected"><a href="modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.0.3</a>
328
+ <li class="current selected"><a href="modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.0</a>
241
329
  <ul>
242
330
  <li class="tsd-kind-module"><a href="modules/config.html">config</a></li>
243
331
  <li class="tsd-kind-module"><a href="modules/language.html">language</a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>config | MapTiler Client - v1.0.3</title><meta name="description" content="Documentation for MapTiler Client - v1.0.3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>config | MapTiler Client - v1.1.0</title><meta name="description" content="Documentation for MapTiler Client - v1.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,17 +6,17 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.0.3</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">MapTiler Client - v1.0.3</a></li>
15
+ <li><a href="../modules.html">MapTiler Client - v1.1.0</a></li>
16
16
  <li><a href="config.html">config</a></li></ul>
17
17
  <h1>Module config</h1></div><aside class="tsd-sources">
18
18
  <ul>
19
- <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/config.ts#L1">config.ts:1</a></li></ul></aside>
19
+ <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/64f9493/src/config.ts#L1">config.ts:1</a></li></ul></aside>
20
20
  <section class="tsd-panel-group">
21
21
  <section class="tsd-panel tsd-typography"></section></section>
22
22
  <section class="tsd-panel-group tsd-index-group">
@@ -50,7 +50,7 @@
50
50
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
51
51
  <div class="tsd-accordion-details">
52
52
  <ul>
53
- <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.0.3</a>
53
+ <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.0</a>
54
54
  <ul>
55
55
  <li class="current selected tsd-kind-module"><a href="config.html">config</a></li>
56
56
  <li class="tsd-kind-module"><a href="language.html">language</a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>language | MapTiler Client - v1.0.3</title><meta name="description" content="Documentation for MapTiler Client - v1.0.3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>language | MapTiler Client - v1.1.0</title><meta name="description" content="Documentation for MapTiler Client - v1.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,17 +6,17 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.0.3</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">MapTiler Client - v1.0.3</a></li>
15
+ <li><a href="../modules.html">MapTiler Client - v1.1.0</a></li>
16
16
  <li><a href="language.html">language</a></li></ul>
17
17
  <h1>Module language</h1></div><aside class="tsd-sources">
18
18
  <ul>
19
- <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/language.ts#L4">language.ts:4</a></li></ul></aside>
19
+ <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/64f9493/src/language.ts#L4">language.ts:4</a></li></ul></aside>
20
20
  <section class="tsd-panel-group">
21
21
  <section class="tsd-panel tsd-typography"></section></section>
22
22
  <section class="tsd-panel-group tsd-index-group">
@@ -50,7 +50,7 @@
50
50
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
51
51
  <div class="tsd-accordion-details">
52
52
  <ul>
53
- <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.0.3</a>
53
+ <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.0</a>
54
54
  <ul>
55
55
  <li class="tsd-kind-module"><a href="config.html">config</a></li>
56
56
  <li class="current selected tsd-kind-module"><a href="language.html">language</a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>services/ServiceError | MapTiler Client - v1.0.3</title><meta name="description" content="Documentation for MapTiler Client - v1.0.3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>services/ServiceError | MapTiler Client - v1.1.0</title><meta name="description" content="Documentation for MapTiler Client - v1.1.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,17 +6,17 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.0.3</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">MapTiler Client - v1.0.3</a></li>
15
+ <li><a href="../modules.html">MapTiler Client - v1.1.0</a></li>
16
16
  <li><a href="services_ServiceError.html">services/ServiceError</a></li></ul>
17
17
  <h1>Module services/ServiceError</h1></div><aside class="tsd-sources">
18
18
  <ul>
19
- <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/ServiceError.ts#L4">services/ServiceError.ts:4</a></li></ul></aside>
19
+ <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/64f9493/src/services/ServiceError.ts#L4">services/ServiceError.ts:4</a></li></ul></aside>
20
20
  <section class="tsd-panel-group">
21
21
  <section class="tsd-panel tsd-typography"></section></section>
22
22
  <section class="tsd-panel-group tsd-index-group">
@@ -42,7 +42,7 @@
42
42
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
43
43
  <div class="tsd-accordion-details">
44
44
  <ul>
45
- <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.0.3</a>
45
+ <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.0</a>
46
46
  <ul>
47
47
  <li class="tsd-kind-module"><a href="config.html">config</a></li>
48
48
  <li class="tsd-kind-module"><a href="language.html">language</a></li>