@maptiler/client 1.0.1 → 1.0.3

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 (104) hide show
  1. package/.github/workflows/npm-publish.yml +2 -12
  2. package/docs/assets/custom.css +91 -0
  3. package/docs/assets/highlight.css +10 -10
  4. package/docs/assets/main.js +56 -52
  5. package/docs/assets/search.js +1 -1
  6. package/docs/assets/style.css +23 -0
  7. package/docs/classes/{ClientConfig.html → config.ClientConfig.html} +34 -24
  8. package/docs/classes/{ServiceError.html → services_ServiceError.ServiceError.html} +26 -16
  9. package/docs/functions/language.getAutoLanguageGeocoding.html +60 -0
  10. package/docs/functions/services_simplify.default.html +65 -0
  11. package/docs/images/maptiler-logo-256.png +0 -0
  12. package/docs/index.html +27 -54
  13. package/docs/modules/config.html +71 -0
  14. package/docs/modules/language.html +71 -0
  15. package/docs/modules/services_ServiceError.html +61 -0
  16. package/docs/modules/services_coordinates.html +84 -0
  17. package/docs/modules/services_data.html +66 -0
  18. package/docs/modules/services_geocoding.html +76 -0
  19. package/docs/modules/services_geolocation.html +68 -0
  20. package/docs/modules/services_simplify.html +61 -0
  21. package/docs/modules/services_staticMaps.html +74 -0
  22. package/docs/modules.html +23 -83
  23. package/docs/types/config.FetchFunction.html +71 -0
  24. package/docs/types/language.LanguageGeocodingString.html +58 -0
  25. package/docs/types/services_coordinates.CoordinateExport.html +71 -0
  26. package/docs/types/services_coordinates.CoordinateGrid.html +69 -0
  27. package/docs/types/services_coordinates.CoordinateId.html +71 -0
  28. package/docs/types/services_coordinates.CoordinateSearch.html +93 -0
  29. package/docs/types/services_coordinates.CoordinateSearchResult.html +75 -0
  30. package/docs/types/services_coordinates.CoordinateTransformResult.html +76 -0
  31. package/docs/types/services_coordinates.CoordinateTransformation.html +89 -0
  32. package/docs/types/services_coordinates.CoordinatesSearchOptions.html +83 -0
  33. package/docs/types/services_coordinates.CoordinatesTransformOptions.html +85 -0
  34. package/docs/types/services_coordinates.XYZ.html +73 -0
  35. package/docs/types/services_data.GetDataOptions.html +64 -0
  36. package/docs/types/services_geocoding.Coordinates.html +60 -0
  37. package/docs/types/services_geocoding.FeatureHierarchy.html +71 -0
  38. package/docs/types/services_geocoding.GeocodingFeature.html +60 -0
  39. package/docs/types/services_geocoding.GeocodingOptions.html +79 -0
  40. package/docs/types/services_geocoding.GeocodingSearchResult.html +77 -0
  41. package/docs/types/services_geocoding.ReverseGeocodingOptions.html +71 -0
  42. package/docs/types/services_geolocation.GeolocationInfoOptions.html +65 -0
  43. package/docs/types/services_geolocation.GeolocationResult.html +128 -0
  44. package/docs/types/services_staticMaps.AutomaticStaticMapOptions.html +61 -0
  45. package/docs/types/services_staticMaps.BoundedStaticMapOptions.html +61 -0
  46. package/docs/types/services_staticMaps.CenteredStaticMapOptions.html +61 -0
  47. package/docs/types/{StaticMapBaseOptions.html → services_staticMaps.StaticMapBaseOptions.html} +25 -44
  48. package/docs/types/services_staticMaps.StaticMapMarker.html +61 -0
  49. package/docs/variables/config.config.html +58 -0
  50. package/docs/variables/{LanguageGeocoding.html → language.LanguageGeocoding.html} +20 -42
  51. package/docs/variables/services_coordinates.coordinates.html +110 -0
  52. package/docs/variables/services_data.data.html +80 -0
  53. package/docs/variables/{geocoding.html → services_geocoding.geocoding.html} +35 -53
  54. package/docs/variables/services_geolocation.geolocation.html +79 -0
  55. package/docs/variables/services_staticMaps.staticMaps.html +128 -0
  56. package/docsmd/README.md +35 -35
  57. package/docsmd/assets/custom.css +91 -0
  58. package/docsmd/classes/ClientConfig.md +5 -5
  59. package/docsmd/classes/ServiceError.md +3 -3
  60. package/images/maptiler-logo-256.png +0 -0
  61. package/package.json +5 -5
  62. package/readme.md +1 -0
  63. package/typedoc.css +91 -0
  64. package/typedoc.json +7 -3
  65. package/docs/types/AutomaticStaticMapOptions.html +0 -80
  66. package/docs/types/BoundedStaticMapOptions.html +0 -80
  67. package/docs/types/CenteredStaticMapOptions.html +0 -80
  68. package/docs/types/CoordinateExport.html +0 -85
  69. package/docs/types/CoordinateGrid.html +0 -83
  70. package/docs/types/CoordinateId.html +0 -85
  71. package/docs/types/CoordinateSearch.html +0 -107
  72. package/docs/types/CoordinateSearchResult.html +0 -89
  73. package/docs/types/CoordinateTransformResult.html +0 -90
  74. package/docs/types/CoordinateTransformation.html +0 -103
  75. package/docs/types/Coordinates.html +0 -78
  76. package/docs/types/CoordinatesSearchOptions.html +0 -97
  77. package/docs/types/CoordinatesTransformOptions.html +0 -99
  78. package/docs/types/FeatureHierarchy.html +0 -89
  79. package/docs/types/FetchFunction.html +0 -93
  80. package/docs/types/GeocodingFeature.html +0 -78
  81. package/docs/types/GeocodingOptions.html +0 -97
  82. package/docs/types/GeocodingSearchResult.html +0 -95
  83. package/docs/types/GeolocationInfoOptions.html +0 -87
  84. package/docs/types/GeolocationResult.html +0 -150
  85. package/docs/types/GetDataOptions.html +0 -87
  86. package/docs/types/LanguageGeocodingString.html +0 -80
  87. package/docs/types/ReverseGeocodingOptions.html +0 -89
  88. package/docs/types/StaticMapMarker.html +0 -80
  89. package/docs/types/XYZ.html +0 -87
  90. package/docs/variables/config.html +0 -80
  91. package/docs/variables/coordinates-1.html +0 -124
  92. package/docs/variables/data.html +0 -103
  93. package/docs/variables/geolocation.html +0 -101
  94. package/docs/variables/staticMaps.html +0 -147
  95. package/docsmd/images/JS-logo.svg +0 -4
  96. package/docsmd/images/TS-logo.svg +0 -6
  97. package/docsmd/images/maptiler-client-logo.afdesign +0 -0
  98. package/docsmd/images/maptiler-client-logo.svg +0 -75
  99. package/docsmd/images/maptiler-logo.svg +0 -23
  100. package/docsmd/images/screenshots/static-bounded-europe-1024.png +0 -0
  101. package/docsmd/images/screenshots/static-bounded-europe-2048.png +0 -0
  102. package/docsmd/images/screenshots/static-bounded-portugal-1024x2048.png +0 -0
  103. package/docsmd/images/screenshots/static-bounded-portugal-2048x2048.png +0 -0
  104. package/docsmd/images/screenshots/static-with-path.png +0 -0
@@ -0,0 +1,128 @@
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>staticMaps | 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">
2
+ <div class="tsd-toolbar-contents container">
3
+ <div class="table-cell" id="tsd-search" data-base="..">
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>
5
+ <div class="field">
6
+ <div id="tsd-toolbar-links"></div></div>
7
+ <ul class="results">
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>
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
+ <div class="container container-main">
12
+ <div class="col-8 col-content">
13
+ <div class="tsd-page-title">
14
+ <ul class="tsd-breadcrumb">
15
+ <li><a href="../modules.html">MapTiler Client - v1.0.3</a></li>
16
+ <li><a href="../modules/services_staticMaps.html">services/staticMaps</a></li>
17
+ <li><a href="services_staticMaps.staticMaps.html">staticMaps</a></li></ul>
18
+ <h1>Variable staticMaps<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
19
+ <div class="tsd-signature">static<wbr/>Maps<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>automatic<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../types/services_staticMaps.BoundedStaticMapOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">BoundedStaticMapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>bounded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>boundingBox<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BBox</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_staticMaps.BoundedStaticMapOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">BoundedStaticMapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>centered<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>center<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Position</span>, zoom<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_staticMaps.StaticMapBaseOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">StaticMapBaseOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
20
+ <div class="tsd-comment tsd-typography"><p>The <strong>staticMaps</strong> namespace contains an synchronous function build image URL of static map, as specified by the <a href="https://docs.maptiler.com/cloud/api/static-maps/">MapTiler Static Map API</a>.
21
+ The URL of static maps can then be used within a <code>&lt;img /&gt;</code> markup element, as the <code>src</code> property value.</p>
22
+ </div>
23
+ <div class="tsd-type-declaration">
24
+ <h4>Type declaration</h4>
25
+ <ul class="tsd-parameters">
26
+ <li class="tsd-parameter">
27
+ <h5>automatic<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../types/services_staticMaps.BoundedStaticMapOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">BoundedStaticMapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span></h5>
28
+ <ul class="tsd-parameters">
29
+ <li class="tsd-parameter-signature">
30
+ <ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
31
+ <li class="tsd-signature" id="__type.automatic.__type-1.__type-2"><span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../types/services_staticMaps.BoundedStaticMapOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">BoundedStaticMapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
32
+ <li class="tsd-description">
33
+ <div class="tsd-comment tsd-typography"><p>Construct the URL for a static map automatically fitted around the provided path or markers.
34
+ Note: this function does not fetch the binary content of the image since
35
+ the purpose of a static map is generally to have its URL as a <code>src</code> property of a <img/> element.
36
+ If a path is provided and is too long, it will be simplified in an accurate way.</p>
37
+
38
+ <h3>Returns</h3></div>
39
+ <div class="tsd-parameters">
40
+ <h4 class="tsd-parameters-title">Parameters</h4>
41
+ <ul class="tsd-parameter-list">
42
+ <li>
43
+ <h5>options: <a href="../types/services_staticMaps.BoundedStaticMapOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">BoundedStaticMapOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
44
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></li></ul></li>
45
+ <li class="tsd-parameter">
46
+ <h5>bounded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>boundingBox<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BBox</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_staticMaps.BoundedStaticMapOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">BoundedStaticMapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span></h5>
47
+ <ul class="tsd-parameters">
48
+ <li class="tsd-parameter-signature">
49
+ <ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
50
+ <li class="tsd-signature" id="__type.bounded.__type-3.__type-4"><span class="tsd-signature-symbol">(</span>boundingBox<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BBox</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_staticMaps.BoundedStaticMapOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">BoundedStaticMapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
51
+ <li class="tsd-description">
52
+ <div class="tsd-comment tsd-typography"><p>Construct the URL for a static map using a bounding box
53
+ Note: this function does not fetch the binary content of the image since
54
+ the purpose of a static map is generally to have its URL as a <code>src</code> property of a <img/> element.
55
+ If a path is provided and is too long, it will be simplified in an accurate way.</p>
56
+
57
+ <h3>Returns</h3></div>
58
+ <div class="tsd-parameters">
59
+ <h4 class="tsd-parameters-title">Parameters</h4>
60
+ <ul class="tsd-parameter-list">
61
+ <li>
62
+ <h5>boundingBox: <span class="tsd-signature-type">BBox</span></h5></li>
63
+ <li>
64
+ <h5>options: <a href="../types/services_staticMaps.BoundedStaticMapOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">BoundedStaticMapOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
65
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></li></ul></li>
66
+ <li class="tsd-parameter">
67
+ <h5>centered<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>center<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Position</span>, zoom<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_staticMaps.StaticMapBaseOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">StaticMapBaseOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span></h5>
68
+ <ul class="tsd-parameters">
69
+ <li class="tsd-parameter-signature">
70
+ <ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
71
+ <li class="tsd-signature" id="__type.centered.__type-5.__type-6"><span class="tsd-signature-symbol">(</span>center<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Position</span>, zoom<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_staticMaps.StaticMapBaseOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">StaticMapBaseOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
72
+ <li class="tsd-description">
73
+ <div class="tsd-comment tsd-typography"><p>Construct the URL for a static map centered on one point.
74
+ Note: this function does not fetch the binary content of the image since
75
+ the purpose of a static map is generally to have its URL as a <code>src</code> property of a <img/> element.
76
+ If a path is provided and is too long, it will be simplified in an accurate way.</p>
77
+
78
+ <h3>Returns</h3></div>
79
+ <div class="tsd-parameters">
80
+ <h4 class="tsd-parameters-title">Parameters</h4>
81
+ <ul class="tsd-parameter-list">
82
+ <li>
83
+ <h5>center: <span class="tsd-signature-type">Position</span></h5></li>
84
+ <li>
85
+ <h5>zoom: <span class="tsd-signature-type">number</span></h5></li>
86
+ <li>
87
+ <h5>options: <a href="../types/services_staticMaps.StaticMapBaseOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">StaticMapBaseOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
88
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></li></ul></li></ul></div><aside class="tsd-sources">
89
+ <ul>
90
+ <li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/staticMaps.ts#L456">services/staticMaps.ts:456</a></li></ul></aside></div>
91
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
92
+ <div class="tsd-navigation settings">
93
+ <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
94
+ <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> Settings</h3></summary>
95
+ <div class="tsd-accordion-details">
96
+ <div class="tsd-filter-visibility">
97
+ <h4 class="uppercase">Member Visibility</h4><form>
98
+ <ul id="tsd-filter-options">
99
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
100
+ <div class="tsd-theme-toggle">
101
+ <h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
102
+ <nav class="tsd-navigation primary">
103
+ <details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
104
+ <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>
105
+ <div class="tsd-accordion-details">
106
+ <ul>
107
+ <li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.0.3</a>
108
+ <ul>
109
+ <li class="tsd-kind-module"><a href="../modules/config.html">config</a></li>
110
+ <li class="tsd-kind-module"><a href="../modules/language.html">language</a></li>
111
+ <li class="tsd-kind-module"><a href="../modules/services_ServiceError.html">services/<wbr/>Service<wbr/>Error</a></li>
112
+ <li class="tsd-kind-module"><a href="../modules/services_coordinates.html">services/coordinates</a></li>
113
+ <li class="tsd-kind-module"><a href="../modules/services_data.html">services/data</a></li>
114
+ <li class="tsd-kind-module"><a href="../modules/services_geocoding.html">services/geocoding</a></li>
115
+ <li class="tsd-kind-module"><a href="../modules/services_geolocation.html">services/geolocation</a></li>
116
+ <li class="tsd-kind-module"><a href="../modules/services_simplify.html">services/simplify</a></li>
117
+ <li class="current tsd-kind-module"><a href="../modules/services_staticMaps.html">services/static<wbr/>Maps</a></li></ul></li></ul></div></details></nav>
118
+ <nav class="tsd-navigation secondary menu-sticky">
119
+ <ul>
120
+ <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_staticMaps.AutomaticStaticMapOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg>Automatic<wbr/>Static<wbr/>Map<wbr/>Options</a></li>
121
+ <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_staticMaps.BoundedStaticMapOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Bounded<wbr/>Static<wbr/>Map<wbr/>Options</a></li>
122
+ <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_staticMaps.CenteredStaticMapOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Centered<wbr/>Static<wbr/>Map<wbr/>Options</a></li>
123
+ <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_staticMaps.StaticMapBaseOptions.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Static<wbr/>Map<wbr/>Base<wbr/>Options</a></li>
124
+ <li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_staticMaps.StaticMapMarker.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Static<wbr/>Map<wbr/>Marker</a></li>
125
+ <li class="current tsd-kind-variable tsd-parent-kind-module"><a href="services_staticMaps.staticMaps.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>static<wbr/>Maps</a></li></ul></nav></div></div>
126
+ <div class="container tsd-generator">
127
+ <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
128
+ <div class="overlay"></div><script src="../assets/main.js"></script></body></html>
package/docsmd/README.md CHANGED
@@ -1,6 +1,6 @@
1
- MapTiler Client JS
1
+ MapTiler Client - v1.0.3
2
2
 
3
- # MapTiler Client JS
3
+ # MapTiler Client - v1.0.3
4
4
 
5
5
  ## Table of contents
6
6
 
@@ -58,7 +58,7 @@ Options that can be provided to automatic static maps
58
58
 
59
59
  #### Defined in
60
60
 
61
- [services/staticMaps.ts:140](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/staticMaps.ts#L140)
61
+ [services/staticMaps.ts:140](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/staticMaps.ts#L140)
62
62
 
63
63
  ___
64
64
 
@@ -70,7 +70,7 @@ Options that can be provided to bounded static maps
70
70
 
71
71
  #### Defined in
72
72
 
73
- [services/staticMaps.ts:129](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/staticMaps.ts#L129)
73
+ [services/staticMaps.ts:129](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/staticMaps.ts#L129)
74
74
 
75
75
  ___
76
76
 
@@ -82,7 +82,7 @@ Options that can be provided to centered static maps
82
82
 
83
83
  #### Defined in
84
84
 
85
- [services/staticMaps.ts:124](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/staticMaps.ts#L124)
85
+ [services/staticMaps.ts:124](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/staticMaps.ts#L124)
86
86
 
87
87
  ___
88
88
 
@@ -99,7 +99,7 @@ ___
99
99
 
100
100
  #### Defined in
101
101
 
102
- [services/coordinates.ts:38](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L38)
102
+ [services/coordinates.ts:38](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L38)
103
103
 
104
104
  ___
105
105
 
@@ -115,7 +115,7 @@ ___
115
115
 
116
116
  #### Defined in
117
117
 
118
- [services/coordinates.ts:43](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L43)
118
+ [services/coordinates.ts:43](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L43)
119
119
 
120
120
  ___
121
121
 
@@ -132,7 +132,7 @@ ___
132
132
 
133
133
  #### Defined in
134
134
 
135
- [services/coordinates.ts:33](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L33)
135
+ [services/coordinates.ts:33](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L33)
136
136
 
137
137
  ___
138
138
 
@@ -158,7 +158,7 @@ ___
158
158
 
159
159
  #### Defined in
160
160
 
161
- [services/coordinates.ts:61](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L61)
161
+ [services/coordinates.ts:61](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L61)
162
162
 
163
163
  ___
164
164
 
@@ -175,7 +175,7 @@ ___
175
175
 
176
176
  #### Defined in
177
177
 
178
- [services/coordinates.ts:91](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L91)
178
+ [services/coordinates.ts:91](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L91)
179
179
 
180
180
  ___
181
181
 
@@ -192,7 +192,7 @@ ___
192
192
 
193
193
  #### Defined in
194
194
 
195
- [services/coordinates.ts:159](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L159)
195
+ [services/coordinates.ts:159](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L159)
196
196
 
197
197
  ___
198
198
 
@@ -218,7 +218,7 @@ ___
218
218
 
219
219
  #### Defined in
220
220
 
221
- [services/coordinates.ts:47](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L47)
221
+ [services/coordinates.ts:47](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L47)
222
222
 
223
223
  ___
224
224
 
@@ -228,7 +228,7 @@ ___
228
228
 
229
229
  #### Defined in
230
230
 
231
- [services/geocoding.ts:40](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/geocoding.ts#L40)
231
+ [services/geocoding.ts:40](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/geocoding.ts#L40)
232
232
 
233
233
  ___
234
234
 
@@ -247,7 +247,7 @@ ___
247
247
 
248
248
  #### Defined in
249
249
 
250
- [services/coordinates.ts:11](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L11)
250
+ [services/coordinates.ts:11](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L11)
251
251
 
252
252
  ___
253
253
 
@@ -268,7 +268,7 @@ Options that can be provided when transforming a coordinate from one CRS to anot
268
268
 
269
269
  #### Defined in
270
270
 
271
- [services/coordinates.ts:174](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L174)
271
+ [services/coordinates.ts:174](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L174)
272
272
 
273
273
  ___
274
274
 
@@ -285,7 +285,7 @@ ___
285
285
 
286
286
  #### Defined in
287
287
 
288
- [services/geocoding.ts:42](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/geocoding.ts#L42)
288
+ [services/geocoding.ts:42](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/geocoding.ts#L42)
289
289
 
290
290
  ___
291
291
 
@@ -310,7 +310,7 @@ ___
310
310
 
311
311
  #### Defined in
312
312
 
313
- [config.ts:1](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/config.ts#L1)
313
+ [config.ts:1](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/config.ts#L1)
314
314
 
315
315
  ___
316
316
 
@@ -320,7 +320,7 @@ ___
320
320
 
321
321
  #### Defined in
322
322
 
323
- [services/geocoding.ts:54](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/geocoding.ts#L54)
323
+ [services/geocoding.ts:54](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/geocoding.ts#L54)
324
324
 
325
325
  ___
326
326
 
@@ -339,7 +339,7 @@ ___
339
339
 
340
340
  #### Defined in
341
341
 
342
- [services/geocoding.ts:18](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/geocoding.ts#L18)
342
+ [services/geocoding.ts:18](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/geocoding.ts#L18)
343
343
 
344
344
  ___
345
345
 
@@ -358,7 +358,7 @@ ___
358
358
 
359
359
  #### Defined in
360
360
 
361
- [services/geocoding.ts:86](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/geocoding.ts#L86)
361
+ [services/geocoding.ts:86](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/geocoding.ts#L86)
362
362
 
363
363
  ___
364
364
 
@@ -376,7 +376,7 @@ Options that can be provided to get user data.
376
376
 
377
377
  #### Defined in
378
378
 
379
- [services/geolocation.ts:14](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/geolocation.ts#L14)
379
+ [services/geolocation.ts:14](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/geolocation.ts#L14)
380
380
 
381
381
  ___
382
382
 
@@ -405,7 +405,7 @@ ___
405
405
 
406
406
  #### Defined in
407
407
 
408
- [services/geolocation.ts:21](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/geolocation.ts#L21)
408
+ [services/geolocation.ts:21](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/geolocation.ts#L21)
409
409
 
410
410
  ___
411
411
 
@@ -423,7 +423,7 @@ Options that can be provided to get user data.
423
423
 
424
424
  #### Defined in
425
425
 
426
- [services/data.ts:14](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/data.ts#L14)
426
+ [services/data.ts:14](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/data.ts#L14)
427
427
 
428
428
  ___
429
429
 
@@ -435,7 +435,7 @@ Built-in languages values as strings
435
435
 
436
436
  #### Defined in
437
437
 
438
- [language.ts:69](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/language.ts#L69)
438
+ [language.ts:69](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/language.ts#L69)
439
439
 
440
440
  ___
441
441
 
@@ -452,7 +452,7 @@ ___
452
452
 
453
453
  #### Defined in
454
454
 
455
- [services/geocoding.ts:165](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/geocoding.ts#L165)
455
+ [services/geocoding.ts:165](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/geocoding.ts#L165)
456
456
 
457
457
  ___
458
458
 
@@ -483,7 +483,7 @@ Base set of options that can be provided to all the types of static maps
483
483
 
484
484
  #### Defined in
485
485
 
486
- [services/staticMaps.ts:9](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/staticMaps.ts#L9)
486
+ [services/staticMaps.ts:9](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/staticMaps.ts#L9)
487
487
 
488
488
  ___
489
489
 
@@ -495,7 +495,7 @@ Definition of a maker to show on a static map
495
495
 
496
496
  #### Defined in
497
497
 
498
- [services/staticMaps.ts:145](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/staticMaps.ts#L145)
498
+ [services/staticMaps.ts:145](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/staticMaps.ts#L145)
499
499
 
500
500
  ___
501
501
 
@@ -513,7 +513,7 @@ ___
513
513
 
514
514
  #### Defined in
515
515
 
516
- [services/coordinates.ts:153](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L153)
516
+ [services/coordinates.ts:153](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L153)
517
517
 
518
518
  ## Variables
519
519
 
@@ -585,7 +585,7 @@ Languages. Note that not all the languages of this list are available but the co
585
585
 
586
586
  #### Defined in
587
587
 
588
- [language.ts:4](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/language.ts#L4)
588
+ [language.ts:4](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/language.ts#L4)
589
589
 
590
590
  ___
591
591
 
@@ -597,7 +597,7 @@ Configuration object
597
597
 
598
598
  #### Defined in
599
599
 
600
- [config.ts:63](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/config.ts#L63)
600
+ [config.ts:63](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/config.ts#L63)
601
601
 
602
602
  ___
603
603
 
@@ -617,7 +617,7 @@ The goal of the **Coordinate API* is query information about spatial coordinate
617
617
 
618
618
  #### Defined in
619
619
 
620
- [services/coordinates.ts:253](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/coordinates.ts#L253)
620
+ [services/coordinates.ts:253](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/coordinates.ts#L253)
621
621
 
622
622
  ___
623
623
 
@@ -636,7 +636,7 @@ The **Data API** provides a way to retrieve user data in GeoJSON format.
636
636
 
637
637
  #### Defined in
638
638
 
639
- [services/data.ts:59](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/data.ts#L59)
639
+ [services/data.ts:59](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/data.ts#L59)
640
640
 
641
641
  ___
642
642
 
@@ -713,7 +713,7 @@ and to get the location details (country, city, street, etc.) from a geographic
713
713
 
714
714
  #### Defined in
715
715
 
716
- [services/geocoding.ts:233](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/geocoding.ts#L233)
716
+ [services/geocoding.ts:233](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/geocoding.ts#L233)
717
717
 
718
718
  ___
719
719
 
@@ -732,7 +732,7 @@ The **Geolocation API** provides a way to retrieve the IP address as well as geo
732
732
 
733
733
  #### Defined in
734
734
 
735
- [services/geolocation.ts:135](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/geolocation.ts#L135)
735
+ [services/geolocation.ts:135](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/geolocation.ts#L135)
736
736
 
737
737
  ___
738
738
 
@@ -753,4 +753,4 @@ The URL of static maps can then be used within a `<img />` markup element, as th
753
753
 
754
754
  #### Defined in
755
755
 
756
- [services/staticMaps.ts:456](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/staticMaps.ts#L456)
756
+ [services/staticMaps.ts:456](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/staticMaps.ts#L456)
@@ -0,0 +1,91 @@
1
+
2
+
3
+ body {
4
+ background: #fff;
5
+ font-family: "Open Sans", sans-serif;
6
+ color: #6B7C92;
7
+ }
8
+
9
+ h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
10
+ font-family: "Ubuntu","Open Sans",sans-serif;
11
+ color: #525a65;
12
+ }
13
+
14
+ .tsd-page-toolbar {
15
+ background: #fff;
16
+ }
17
+
18
+ #tsd-search > .title {
19
+ background-image: url("data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%0A%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%0A%3Csvg%20width%3D%22100%25%22%20height%3D%22100%25%22%20viewBox%3D%220%200%20161%2041%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20xml%3Aspace%3D%22preserve%22%20xmlns%3Aserif%3D%22http%3A%2F%2Fwww.serif.com%2F%22%20style%3D%22fill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bstroke-linejoin%3Around%3Bstroke-miterlimit%3A2%3B%22%3E%0A%20%20%20%20%3Cg%20transform%3D%22matrix(1%2C0%2C0%2C1%2C-1.20801%2C-0.711928)%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.965%2C33.743C14.023%2C35.769%2019.5%2C41.264%2019.497%2C41.269C19.477%2C41.305%2024.938%2C35.908%2027.113%2C33.768L19.526%2C26.3L11.965%2C33.743Z%22%20style%3D%22fill%3Argb(58%2C24%2C136)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M19.526%2C26.3L27.113%2C33.768C27.124%2C33.756%2027.138%2C33.741%2027.15%2C33.731L34.73%2C26.27L27.143%2C18.802L19.526%2C26.3Z%22%20style%3D%22fill%3Argb(3%2C161%2C196)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M34.73%2C26.27L34.749%2C26.25C38.942%2C22.123%2038.945%2C15.435%2034.762%2C11.302L27.144%2C18.802L34.73%2C26.27Z%22%20style%3D%22fill%3Argb(5%2C208%2C223)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M11.908%2C18.802L4.349%2C26.243C4.351%2C26.245%204.352%2C26.248%204.355%2C26.25L11.953%2C33.73C11.957%2C33.734%2011.961%2C33.738%2011.966%2C33.743L19.526%2C26.3L11.908%2C18.802Z%22%20style%3D%22fill%3Argb(118%2C31%2C232)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M19.526%2C11.303L27.143%2C18.802L34.762%2C11.303C34.755%2C11.298%2034.753%2C11.295%2034.749%2C11.29L27.15%2C3.81C27.149%2C3.808%2027.146%2C3.806%2027.144%2C3.804L19.526%2C11.303Z%22%20style%3D%22fill%3Argb(255%2C170%2C1)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.317%2C11.328C0.161%2C15.46%200.172%2C22.124%204.349%2C26.243L11.908%2C18.802L4.317%2C11.328Z%22%20style%3D%22fill%3Argb(241%2C23%2C93)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M19.526%2C11.303L11.934%2C3.829L4.355%2C11.29C4.341%2C11.303%204.33%2C11.317%204.316%2C11.329L11.908%2C18.802L19.526%2C11.303Z%22%20style%3D%22fill%3Argb(251%2C58%2C27)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M27.144%2C3.804C22.946%2C-0.321%2016.148%2C-0.319%2011.953%2C3.81L11.934%2C3.829L19.526%2C11.303L27.144%2C3.804Z%22%20style%3D%22fill%3Argb(251%2C201%2C53)%3Bfill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M58.567%2C28.139L58.567%2C20.497C58.567%2C18.616%2057.566%2C16.908%2055.595%2C16.908C53.654%2C16.908%2052.508%2C18.616%2052.508%2C20.497L52.508%2C28.139L48.922%2C28.139L48.922%2C13.84L52.244%2C13.84L52.508%2C15.578C53.273%2C14.129%2054.949%2C13.609%2056.33%2C13.609C58.066%2C13.609%2059.8%2C14.304%2060.624%2C16.271C61.918%2C14.245%2063.595%2C13.667%2065.476%2C13.667C69.593%2C13.667%2071.622%2C16.155%2071.622%2C20.44L71.622%2C28.139L68.034%2C28.139L68.034%2C20.44C68.034%2C18.559%2067.24%2C16.966%2065.301%2C16.966C63.359%2C16.966%2062.153%2C18.616%2062.153%2C20.497L62.153%2C28.139L58.567%2C28.139Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M86.765%2C13.87L90.206%2C13.87L90.206%2C28.139L86.824%2C28.139L86.647%2C26.056C85.825%2C27.734%2083.561%2C28.543%2081.943%2C28.573C77.651%2C28.603%2074.474%2C25.997%2074.474%2C20.989C74.474%2C16.069%2077.798%2C13.493%2082.033%2C13.522C83.973%2C13.522%2085.824%2C14.419%2086.647%2C15.838L86.765%2C13.87ZM78.062%2C20.989C78.062%2C23.71%2079.973%2C25.331%2082.355%2C25.331C88%2C25.331%2088%2C16.677%2082.355%2C16.677C79.973%2C16.677%2078.062%2C18.269%2078.062%2C20.989Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M93.236%2C34.105L93.236%2C13.87L96.589%2C13.87L96.822%2C15.838C97.94%2C14.245%2099.882%2C13.551%20101.528%2C13.551C105.996%2C13.551%20108.968%2C16.822%20108.968%2C21.019C108.968%2C25.187%20106.291%2C28.487%20101.645%2C28.487C100.118%2C28.487%2097.852%2C28.023%2096.822%2C26.461L96.822%2C34.104L93.236%2C34.104L93.236%2C34.105ZM105.381%2C21.019C105.381%2C18.791%20103.851%2C16.966%20101.264%2C16.966C98.676%2C16.966%2097.146%2C18.791%2097.146%2C21.019C97.146%2C23.247%2098.823%2C25.073%20101.264%2C25.073C103.705%2C25.073%20105.381%2C23.247%20105.381%2C21.019Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M115.378%2C9.528L115.378%2C13.84L120.319%2C13.84L120.319%2C15.026L115.378%2C15.026L115.378%2C23.739C115.378%2C25.679%20115.791%2C27.04%20118.055%2C27.04C118.76%2C27.04%20119.554%2C26.808%20120.289%2C26.461L120.789%2C27.617C119.877%2C28.054%20118.965%2C28.342%20118.055%2C28.342C114.968%2C28.342%20113.967%2C26.547%20113.967%2C23.74L113.967%2C15.027L110.879%2C15.027L110.879%2C13.84L113.967%2C13.84L113.967%2C9.672L115.378%2C9.528Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M125.554%2C9.18C125.554%2C10.685%20123.23%2C10.685%20123.23%2C9.18C123.23%2C7.675%20125.554%2C7.675%20125.554%2C9.18ZM123.643%2C13.782L123.643%2C28.14L125.082%2C28.14L125.082%2C13.782L123.643%2C13.782Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Crect%20x%3D%22129.199%22%20y%3D%227.878%22%20width%3D%221.441%22%20height%3D%2220.261%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M153.488%2C13.84L153.547%2C16.389C154.459%2C14.448%20156.518%2C13.696%20158.37%2C13.696C159.459%2C13.667%20160.515%2C13.956%20161.486%2C14.536L160.839%2C15.693C160.076%2C15.23%20159.221%2C15.027%20158.37%2C15.027C155.663%2C15.057%20153.576%2C17.198%20153.576%2C19.804L153.576%2C28.14L152.135%2C28.14L152.135%2C13.84L153.488%2C13.84Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M135.54%2C23.414C135.541%2C23.415%20135.543%2C23.417%20135.543%2C23.418L147.303%2C20.354C147.302%2C20.349%20147.302%2C20.345%20147.302%2C20.341L135.54%2C23.414Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M141.214%2C27.28C138.654%2C27.28%20136.461%2C25.701%20135.543%2C23.458L135.535%2C23.458L135.542%2C23.457C135.542%2C23.456%20135.541%2C23.455%20135.54%2C23.454L147.301%2C20.38C147.301%2C20.385%20147.302%2C20.389%20147.302%2C20.394L148.555%2C20.068C148.049%2C16.446%20144.956%2C13.658%20141.214%2C13.658C137.12%2C13.658%20133.802%2C16.996%20133.802%2C21.113C133.802%2C25.23%20137.12%2C28.569%20141.214%2C28.569C144.276%2C28.569%20146.905%2C26.7%20148.035%2C24.037L146.855%2C23.532C145.921%2C25.734%20143.747%2C27.28%20141.214%2C27.28ZM135.083%2C21.113C135.083%2C17.708%20137.828%2C14.946%20141.214%2C14.946C143.862%2C14.946%20146.117%2C16.634%20146.976%2C18.999L135.16%2C22.085C135.11%2C21.768%20135.083%2C21.444%20135.083%2C21.113Z%22%20style%3D%22fill-rule%3Anonzero%3B%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A");
20
+ background-repeat: no-repeat;
21
+ color: #0000;
22
+ font-size: 1.5em;
23
+ }
24
+
25
+ .tsd-page-title h2 {
26
+ display: none;
27
+ }
28
+
29
+ .tsd-page-toolbar--hide {
30
+ transform: none;
31
+ }
32
+
33
+ .col-menu--hide {
34
+ top: 4em;
35
+ }
36
+
37
+
38
+ .tsd-page-toolbar {
39
+ border-color: #d3dbec;
40
+ }
41
+
42
+ .col-menu {
43
+ border-left: none;
44
+ background-color: #F3F6FF;
45
+ }
46
+
47
+ .menu-sticky-wrap {
48
+ top: 2.5rem;
49
+ margin-top: 2.5rem;
50
+ /* height: 100vh; */
51
+ height: calc(100vh - 2.5rem);
52
+ }
53
+
54
+ .tsd-generator {
55
+ display: none;
56
+ }
57
+
58
+ .settings {
59
+ display: none;
60
+ }
61
+
62
+ .tsd-navigation.primary ul li a:hover {
63
+ border-color: #b3deff;
64
+ }
65
+
66
+ .tsd-navigation.primary li.selected > a,
67
+ .tsd-navigation.primary li.current > a {
68
+ border-color: #8bc9f9;
69
+ }
70
+
71
+ .tsd-index-panel > .tsd-index-heading {
72
+ display: none;
73
+ }
74
+
75
+ #tsd-search.has-focus {
76
+ background-color: #fff;
77
+ }
78
+
79
+ .tsd-navigation.secondary {
80
+ border-top: solid 1px #d3dbec;
81
+ padding-top: 1rem;
82
+ }
83
+
84
+ pre {
85
+ border-color: #d3dbec;
86
+ }
87
+
88
+ code, pre {
89
+ border-radius: 3px;
90
+ background-color: #fafbff;
91
+ }
@@ -1,4 +1,4 @@
1
- [MapTiler Client JS](../README.md) / ClientConfig
1
+ [MapTiler Client - v1.0.3](../README.md) / ClientConfig
2
2
 
3
3
  # Class: ClientConfig
4
4
 
@@ -35,7 +35,7 @@ Get the MapTiler Cloud API key
35
35
 
36
36
  #### Defined in
37
37
 
38
- [config.ts:41](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/config.ts#L41)
38
+ [config.ts:41](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/config.ts#L41)
39
39
 
40
40
  • `set` **apiKey**(`k`): `void`
41
41
 
@@ -53,7 +53,7 @@ Set the MapTiler Cloud API key
53
53
 
54
54
  #### Defined in
55
55
 
56
- [config.ts:34](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/config.ts#L34)
56
+ [config.ts:34](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/config.ts#L34)
57
57
 
58
58
  ___
59
59
 
@@ -69,7 +69,7 @@ Get the fetch fucntion
69
69
 
70
70
  #### Defined in
71
71
 
72
- [config.ts:55](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/config.ts#L55)
72
+ [config.ts:55](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/config.ts#L55)
73
73
 
74
74
  • `set` **fetch**(`f`): `void`
75
75
 
@@ -87,4 +87,4 @@ Set a the custom fetch function to replace the default one
87
87
 
88
88
  #### Defined in
89
89
 
90
- [config.ts:48](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/config.ts#L48)
90
+ [config.ts:48](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/config.ts#L48)
@@ -1,4 +1,4 @@
1
- [MapTiler Client JS](../README.md) / ServiceError
1
+ [MapTiler Client - v1.0.3](../README.md) / ServiceError
2
2
 
3
3
  # Class: ServiceError
4
4
 
@@ -39,7 +39,7 @@ Error.constructor
39
39
 
40
40
  #### Defined in
41
41
 
42
- [services/ServiceError.ts:5](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/ServiceError.ts#L5)
42
+ [services/ServiceError.ts:5](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/ServiceError.ts#L5)
43
43
 
44
44
  ## Properties
45
45
 
@@ -49,4 +49,4 @@ Error.constructor
49
49
 
50
50
  #### Defined in
51
51
 
52
- [services/ServiceError.ts:5](https://github.com/maptiler/maptiler-client-js/blob/df97475/src/services/ServiceError.ts#L5)
52
+ [services/ServiceError.ts:5](https://github.com/maptiler/maptiler-client-js/blob/05ded3a/src/services/ServiceError.ts#L5)
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/client",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
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",
@@ -34,8 +34,8 @@
34
34
  "devserve": "rm -rf dist/*; NODE_ENV=development rollup -c -w & serve && fg",
35
35
  "format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
36
36
  "lint": "eslint --fix \"src/**/*.{js,ts}\"",
37
- "docmd": "rm -rf docsmd/*; typedoc --readme none --plugin typedoc-plugin-markdown --out docsmd src/index.ts; cp -r images docsmd/",
38
- "dochtml": "rm -rf docs/*; typedoc --plugin none --out docs src/index.ts; cp -r images docs/",
37
+ "docmd": "rm -rf docsmd/*; typedoc --readme none --plugin typedoc-plugin-markdown --out docsmd src/index.ts",
38
+ "dochtml": "rm -rf docs/*; typedoc; cp -r images docs/",
39
39
  "doc": "npm run docmd; npm run dochtml",
40
40
  "prepare": "npm run format; npm run lint; npm run build; npm run doc",
41
41
  "test": "echo 'tests'"
@@ -60,8 +60,8 @@
60
60
  "rollup-plugin-string": "^3.0.0",
61
61
  "rollup-plugin-swc": "^0.2.1",
62
62
  "serve": "^14.1.1",
63
- "typedoc": "^0.23.21",
64
- "typedoc-plugin-markdown": "^3.13.6",
63
+ "typedoc": "^0.23.24",
64
+ "typedoc-plugin-markdown": "^3.14.0",
65
65
  "typescript": "^4.8.3"
66
66
  },
67
67
  "dependencies": {