@maptiler/client 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm-publish.yml +3 -12
- package/docs/classes/ClientConfig.html +5 -5
- package/docs/classes/ServiceError.html +3 -3
- package/docs/types/AutomaticStaticMapOptions.html +1 -1
- package/docs/types/BoundedStaticMapOptions.html +1 -1
- package/docs/types/CenteredStaticMapOptions.html +1 -1
- package/docs/types/CoordinateExport.html +1 -1
- package/docs/types/CoordinateGrid.html +1 -1
- package/docs/types/CoordinateId.html +1 -1
- package/docs/types/CoordinateSearch.html +1 -1
- package/docs/types/CoordinateSearchResult.html +1 -1
- package/docs/types/CoordinateTransformResult.html +1 -1
- package/docs/types/CoordinateTransformation.html +1 -1
- package/docs/types/Coordinates.html +1 -1
- package/docs/types/CoordinatesSearchOptions.html +1 -1
- package/docs/types/CoordinatesTransformOptions.html +1 -1
- package/docs/types/FeatureHierarchy.html +1 -1
- package/docs/types/FetchFunction.html +1 -1
- package/docs/types/GeocodingFeature.html +1 -1
- package/docs/types/GeocodingOptions.html +1 -1
- package/docs/types/GeocodingSearchResult.html +1 -1
- package/docs/types/GeolocationInfoOptions.html +1 -1
- package/docs/types/GeolocationResult.html +1 -1
- package/docs/types/GetDataOptions.html +1 -1
- package/docs/types/LanguageGeocodingString.html +1 -1
- package/docs/types/ReverseGeocodingOptions.html +1 -1
- package/docs/types/StaticMapBaseOptions.html +1 -1
- package/docs/types/StaticMapMarker.html +1 -1
- package/docs/types/XYZ.html +1 -1
- package/docs/variables/LanguageGeocoding.html +1 -1
- package/docs/variables/config.html +1 -1
- package/docs/variables/coordinates-1.html +1 -1
- package/docs/variables/data.html +1 -1
- package/docs/variables/geocoding.html +1 -1
- package/docs/variables/geolocation.html +1 -1
- package/docs/variables/staticMaps.html +1 -1
- package/docsmd/README.md +33 -33
- package/docsmd/classes/ClientConfig.md +4 -4
- package/docsmd/classes/ServiceError.md +2 -2
- package/package.json +1 -1
|
@@ -8,18 +8,7 @@ on:
|
|
|
8
8
|
types: [created]
|
|
9
9
|
|
|
10
10
|
jobs:
|
|
11
|
-
build:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v3
|
|
15
|
-
- uses: actions/setup-node@v3
|
|
16
|
-
with:
|
|
17
|
-
node-version: 18
|
|
18
|
-
- run: npm ci
|
|
19
|
-
- run: npm test
|
|
20
|
-
|
|
21
|
-
publish-npm:
|
|
22
|
-
needs: build
|
|
11
|
+
build-and-publish:
|
|
23
12
|
runs-on: ubuntu-latest
|
|
24
13
|
steps:
|
|
25
14
|
- uses: actions/checkout@v3
|
|
@@ -28,6 +17,8 @@ jobs:
|
|
|
28
17
|
node-version: 18
|
|
29
18
|
registry-url: https://registry.npmjs.org/
|
|
30
19
|
- run: npm ci
|
|
20
|
+
- run: npm run prepare
|
|
21
|
+
- run: npm test
|
|
31
22
|
- run: npm publish
|
|
32
23
|
env:
|
|
33
24
|
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<ul class="tsd-hierarchy">
|
|
24
24
|
<li><span class="target">ClientConfig</span></li></ul></section><aside class="tsd-sources">
|
|
25
25
|
<ul>
|
|
26
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
26
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/config.ts#L19">config.ts:19</a></li></ul></aside>
|
|
27
27
|
<section class="tsd-panel-group tsd-index-group">
|
|
28
28
|
<section class="tsd-panel tsd-index-panel">
|
|
29
29
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
</div>
|
|
58
58
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
|
|
59
59
|
<ul>
|
|
60
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
60
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/config.ts#L41">config.ts:41</a></li></ul></aside></li>
|
|
61
61
|
<li class="tsd-signature" id="apiKey.apiKey-2"><span class="tsd-signature-symbol">set</span> apiKey<span class="tsd-signature-symbol">(</span>k<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
62
62
|
<li class="tsd-description">
|
|
63
63
|
<div class="tsd-comment tsd-typography"><p>Set the MapTiler Cloud API key</p>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
<h5>k: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
70
70
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
71
71
|
<ul>
|
|
72
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
72
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/config.ts#L34">config.ts:34</a></li></ul></aside></li></ul></section>
|
|
73
73
|
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="fetch" class="tsd-anchor"></a>
|
|
74
74
|
<h3 class="tsd-anchor-link"><span>fetch</span><a href="#fetch" 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>
|
|
75
75
|
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
</div>
|
|
80
80
|
<h4 class="tsd-returns-title">Returns <a href="../types/FetchFunction.html" class="tsd-signature-type" data-tsd-kind="Type alias">FetchFunction</a></h4><aside class="tsd-sources">
|
|
81
81
|
<ul>
|
|
82
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
82
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/config.ts#L55">config.ts:55</a></li></ul></aside></li>
|
|
83
83
|
<li class="tsd-signature" id="fetch.fetch-2"><span class="tsd-signature-symbol">set</span> fetch<span class="tsd-signature-symbol">(</span>f<span class="tsd-signature-symbol">: </span><a href="../types/FetchFunction.html" class="tsd-signature-type" data-tsd-kind="Type alias">FetchFunction</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
84
84
|
<li class="tsd-description">
|
|
85
85
|
<div class="tsd-comment tsd-typography"><p>Set a the custom fetch function to replace the default one</p>
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<h5>f: <a href="../types/FetchFunction.html" class="tsd-signature-type" data-tsd-kind="Type alias">FetchFunction</a></h5></li></ul></div>
|
|
92
92
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
93
93
|
<ul>
|
|
94
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
94
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/config.ts#L48">config.ts:48</a></li></ul></aside></li></ul></section></section></div>
|
|
95
95
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
96
96
|
<div class="tsd-navigation settings">
|
|
97
97
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<ul class="tsd-hierarchy">
|
|
26
26
|
<li><span class="target">ServiceError</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
27
27
|
<ul>
|
|
28
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
28
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/ServiceError.ts#L4">services/ServiceError.ts:4</a></li></ul></aside>
|
|
29
29
|
<section class="tsd-panel-group tsd-index-group">
|
|
30
30
|
<section class="tsd-panel tsd-index-panel">
|
|
31
31
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
<h4 class="tsd-returns-title">Returns <a href="ServiceError.html" class="tsd-signature-type" data-tsd-kind="Class">ServiceError</a></h4><aside class="tsd-sources">
|
|
57
57
|
<p>Overrides Error.constructor</p>
|
|
58
58
|
<ul>
|
|
59
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
59
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/ServiceError.ts#L5">services/ServiceError.ts:5</a></li></ul></aside></li></ul></section></section>
|
|
60
60
|
<section class="tsd-panel-group tsd-member-group">
|
|
61
61
|
<h2>Properties</h2>
|
|
62
62
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="res" class="tsd-anchor"></a>
|
|
63
63
|
<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>
|
|
64
64
|
<div class="tsd-signature">res<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Response</span></div><aside class="tsd-sources">
|
|
65
65
|
<ul>
|
|
66
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
66
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/ServiceError.ts#L5">services/ServiceError.ts:5</a></li></ul></aside></section></section></div>
|
|
67
67
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
68
68
|
<div class="tsd-navigation settings">
|
|
69
69
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="tsd-comment tsd-typography"><p>Options that can be provided to automatic static maps</p>
|
|
20
20
|
</div><aside class="tsd-sources">
|
|
21
21
|
<ul>
|
|
22
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
22
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/staticMaps.ts#L140">services/staticMaps.ts:140</a></li></ul></aside></div>
|
|
23
23
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
24
|
<div class="tsd-navigation settings">
|
|
25
25
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="tsd-comment tsd-typography"><p>Options that can be provided to bounded static maps</p>
|
|
20
20
|
</div><aside class="tsd-sources">
|
|
21
21
|
<ul>
|
|
22
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
22
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/staticMaps.ts#L129">services/staticMaps.ts:129</a></li></ul></aside></div>
|
|
23
23
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
24
|
<div class="tsd-navigation settings">
|
|
25
25
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="tsd-comment tsd-typography"><p>Options that can be provided to centered static maps</p>
|
|
20
20
|
</div><aside class="tsd-sources">
|
|
21
21
|
<ul>
|
|
22
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
22
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/staticMaps.ts#L124">services/staticMaps.ts:124</a></li></ul></aside></div>
|
|
23
23
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
24
|
<div class="tsd-navigation settings">
|
|
25
25
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>wkt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L38">services/coordinates.ts:38</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<li class="tsd-parameter">
|
|
23
23
|
<h5>path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
|
|
24
24
|
<ul>
|
|
25
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
25
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L43">services/coordinates.ts:43</a></li></ul></aside></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">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>code<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BigInteger</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L33">services/coordinates.ts:33</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<li class="tsd-parameter">
|
|
47
47
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> unit<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
|
|
48
48
|
<ul>
|
|
49
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
49
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L61">services/coordinates.ts:61</a></li></ul></aside></div>
|
|
50
50
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
51
51
|
<div class="tsd-navigation settings">
|
|
52
52
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<div class="tsd-comment tsd-typography"><p>The number of results</p>
|
|
29
29
|
</div></li></ul></div><aside class="tsd-sources">
|
|
30
30
|
<ul>
|
|
31
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
31
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L91">services/coordinates.ts:91</a></li></ul></aside></div>
|
|
32
32
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
33
33
|
<div class="tsd-navigation settings">
|
|
34
34
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -29,7 +29,7 @@ If given, it may try to use a listed transformation,
|
|
|
29
29
|
then fallback to towgs84 patching, and finally boundcrs.</p>
|
|
30
30
|
</div></li></ul></div><aside class="tsd-sources">
|
|
31
31
|
<ul>
|
|
32
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
32
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L159">services/coordinates.ts:159</a></li></ul></aside></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">
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
<li class="tsd-parameter">
|
|
43
43
|
<h5>usable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></h5></li></ul></div><aside class="tsd-sources">
|
|
44
44
|
<ul>
|
|
45
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
45
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L47">services/coordinates.ts:47</a></li></ul></aside></div>
|
|
46
46
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
47
47
|
<div class="tsd-navigation settings">
|
|
48
48
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Type alias Coordinates</h1></div>
|
|
18
18
|
<div class="tsd-signature">Coordinates<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Position</span></div><aside class="tsd-sources">
|
|
19
19
|
<ul>
|
|
20
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
20
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/geocoding.ts#L40">services/geocoding.ts:40</a></li></ul></aside></div>
|
|
21
21
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
22
22
|
<div class="tsd-navigation settings">
|
|
23
23
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<div class="tsd-comment tsd-typography"><p>Show detailed transformations for each CRS (default: false)</p>
|
|
37
37
|
</div></li></ul></div><aside class="tsd-sources">
|
|
38
38
|
<ul>
|
|
39
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
39
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L11">services/coordinates.ts:11</a></li></ul></aside></div>
|
|
40
40
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
41
41
|
<div class="tsd-navigation settings">
|
|
42
42
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<div class="tsd-comment tsd-typography"><p>Target coordinate reference system (default: 4326)</p>
|
|
39
39
|
</div></li></ul></div><aside class="tsd-sources">
|
|
40
40
|
<ul>
|
|
41
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
41
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L174">services/coordinates.ts:174</a></li></ul></aside></div>
|
|
42
42
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
43
43
|
<div class="tsd-navigation settings">
|
|
44
44
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<div class="tsd-comment tsd-typography"><p>Localized feature name</p>
|
|
29
29
|
</div></li></ul></div><aside class="tsd-sources">
|
|
30
30
|
<ul>
|
|
31
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
31
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/geocoding.ts#L42">services/geocoding.ts:42</a></li></ul></aside></div>
|
|
32
32
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
33
33
|
<div class="tsd-navigation settings">
|
|
34
34
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<h5>options: <span class="tsd-signature-type">object</span></h5></li></ul></div>
|
|
33
33
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></div><aside class="tsd-sources">
|
|
34
34
|
<ul>
|
|
35
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
35
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/config.ts#L1">config.ts:1</a></li></ul></aside></div>
|
|
36
36
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
37
37
|
<div class="tsd-navigation settings">
|
|
38
38
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<h1>Type alias GeocodingFeature</h1></div>
|
|
18
18
|
<div class="tsd-signature">Geocoding<wbr/>Feature<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Feature</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>address<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>bbox<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BBox</span><span class="tsd-signature-symbol">; </span><br/><span> </span>center<span class="tsd-signature-symbol">: </span><a href="Coordinates.html" class="tsd-signature-type" data-tsd-kind="Type alias">Coordinates</a><span class="tsd-signature-symbol">; </span><br/><span> </span>context<span class="tsd-signature-symbol">?: </span><a href="FeatureHierarchy.html" class="tsd-signature-type" data-tsd-kind="Type alias">FeatureHierarchy</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span>place_name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>text<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources">
|
|
19
19
|
<ul>
|
|
20
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
20
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/geocoding.ts#L54">services/geocoding.ts:54</a></li></ul></aside></div>
|
|
21
21
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
22
22
|
<div class="tsd-navigation settings">
|
|
23
23
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<div class="tsd-comment tsd-typography"><p>Prefer results close to a specific location.</p>
|
|
37
37
|
</div></li></ul></div><aside class="tsd-sources">
|
|
38
38
|
<ul>
|
|
39
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
39
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/geocoding.ts#L18">services/geocoding.ts:18</a></li></ul></aside></div>
|
|
40
40
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
41
41
|
<div class="tsd-navigation settings">
|
|
42
42
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<li class="tsd-parameter">
|
|
35
35
|
<h5>type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"FeatureCollection"</span></h5></li></ul></div><aside class="tsd-sources">
|
|
36
36
|
<ul>
|
|
37
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
37
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/geocoding.ts#L86">services/geocoding.ts:86</a></li></ul></aside></div>
|
|
38
38
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
39
39
|
<div class="tsd-navigation settings">
|
|
40
40
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<div class="tsd-comment tsd-typography"><p>Custom mapTiler Cloud API key to use instead of the one in global <code>config</code></p>
|
|
27
27
|
</div></li></ul></div><aside class="tsd-sources">
|
|
28
28
|
<ul>
|
|
29
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
29
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/geolocation.ts#L14">services/geolocation.ts:14</a></li></ul></aside></div>
|
|
30
30
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
31
31
|
<div class="tsd-navigation settings">
|
|
32
32
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -89,7 +89,7 @@ Example: ZH</p>
|
|
|
89
89
|
Example: Europe/Zurich</p>
|
|
90
90
|
</div></li></ul></div><aside class="tsd-sources">
|
|
91
91
|
<ul>
|
|
92
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
92
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/geolocation.ts#L21">services/geolocation.ts:21</a></li></ul></aside></div>
|
|
93
93
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
94
94
|
<div class="tsd-navigation settings">
|
|
95
95
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<div class="tsd-comment tsd-typography"><p>Custom mapTiler Cloud API key to use instead of the one in global <code>config</code></p>
|
|
27
27
|
</div></li></ul></div><aside class="tsd-sources">
|
|
28
28
|
<ul>
|
|
29
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
29
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/data.ts#L14">services/data.ts:14</a></li></ul></aside></div>
|
|
30
30
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
31
31
|
<div class="tsd-navigation settings">
|
|
32
32
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="tsd-comment tsd-typography"><p>Built-in languages values as strings</p>
|
|
20
20
|
</div><aside class="tsd-sources">
|
|
21
21
|
<ul>
|
|
22
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
22
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/language.ts#L69">language.ts:69</a></li></ul></aside></div>
|
|
23
23
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
24
|
<div class="tsd-navigation settings">
|
|
25
25
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<div class="tsd-comment tsd-typography"><p>Prefer results in specific language. It’s possible to specify multiple values.</p>
|
|
29
29
|
</div></li></ul></div><aside class="tsd-sources">
|
|
30
30
|
<ul>
|
|
31
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
31
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/geocoding.ts#L165">services/geocoding.ts:165</a></li></ul></aside></div>
|
|
32
32
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
33
33
|
<div class="tsd-navigation settings">
|
|
34
34
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -115,7 +115,7 @@ Default: <code>"streets-v2"</code></p>
|
|
|
115
115
|
Default: <code>1024</code></p>
|
|
116
116
|
</div></li></ul></div><aside class="tsd-sources">
|
|
117
117
|
<ul>
|
|
118
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
118
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/staticMaps.ts#L9">services/staticMaps.ts:9</a></li></ul></aside></div>
|
|
119
119
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
120
120
|
<div class="tsd-navigation settings">
|
|
121
121
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="tsd-comment tsd-typography"><p>Definition of a maker to show on a static map</p>
|
|
20
20
|
</div><aside class="tsd-sources">
|
|
21
21
|
<ul>
|
|
22
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
22
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/staticMaps.ts#L145">services/staticMaps.ts:145</a></li></ul></aside></div>
|
|
23
23
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
24
|
<div class="tsd-navigation settings">
|
|
25
25
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
package/docs/types/XYZ.html
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<li class="tsd-parameter">
|
|
27
27
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> z<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
28
28
|
<ul>
|
|
29
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
29
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L153">services/coordinates.ts:153</a></li></ul></aside></div>
|
|
30
30
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
31
31
|
<div class="tsd-navigation settings">
|
|
32
32
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
<li class="tsd-parameter">
|
|
133
133
|
<h5>WELSH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div><aside class="tsd-sources">
|
|
134
134
|
<ul>
|
|
135
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
135
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/language.ts#L4">language.ts:4</a></li></ul></aside></div>
|
|
136
136
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
137
137
|
<div class="tsd-navigation settings">
|
|
138
138
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="tsd-comment tsd-typography"><p>Configuration object</p>
|
|
20
20
|
</div><aside class="tsd-sources">
|
|
21
21
|
<ul>
|
|
22
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
22
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/config.ts#L63">config.ts:63</a></li></ul></aside></div>
|
|
23
23
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
24
24
|
<div class="tsd-navigation settings">
|
|
25
25
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -63,7 +63,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
63
63
|
<h5>options: <a href="../types/CoordinatesTransformOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">CoordinatesTransformOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
64
64
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/CoordinateTransformResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">CoordinateTransformResult</a><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></li></ul></div><aside class="tsd-sources">
|
|
65
65
|
<ul>
|
|
66
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
66
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/coordinates.ts#L253">services/coordinates.ts:253</a></li></ul></aside></div>
|
|
67
67
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
68
68
|
<div class="tsd-navigation settings">
|
|
69
69
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
package/docs/variables/data.html
CHANGED
|
@@ -42,7 +42,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
42
42
|
<h5>options: <a href="../types/GetDataOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">GetDataOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
43
43
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">FeatureCollection</span><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></li></ul></div><aside class="tsd-sources">
|
|
44
44
|
<ul>
|
|
45
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
45
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/data.ts#L59">services/data.ts:59</a></li></ul></aside></div>
|
|
46
46
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
47
47
|
<div class="tsd-navigation settings">
|
|
48
48
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -178,7 +178,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
178
178
|
<h5>options: <a href="../types/ReverseGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ReverseGeocodingOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
179
179
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></li></ul></div><aside class="tsd-sources">
|
|
180
180
|
<ul>
|
|
181
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
181
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/geocoding.ts#L233">services/geocoding.ts:233</a></li></ul></aside></div>
|
|
182
182
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
183
183
|
<div class="tsd-navigation settings">
|
|
184
184
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -40,7 +40,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
40
40
|
<h5>options: <a href="../types/GeolocationInfoOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeolocationInfoOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
41
41
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/GeolocationResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeolocationResult</a><span class="tsd-signature-symbol">></span></h4></li></ul></li></ul></li></ul></div><aside class="tsd-sources">
|
|
42
42
|
<ul>
|
|
43
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
43
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/geolocation.ts#L135">services/geolocation.ts:135</a></li></ul></aside></div>
|
|
44
44
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
45
45
|
<div class="tsd-navigation settings">
|
|
46
46
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -86,7 +86,7 @@ If a path is provided and is too long, it will be simplified in an accurate way.
|
|
|
86
86
|
<h5>options: <a href="../types/StaticMapBaseOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">StaticMapBaseOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
87
87
|
<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">
|
|
88
88
|
<ul>
|
|
89
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
89
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/staticMaps.ts#L456">services/staticMaps.ts:456</a></li></ul></aside></div>
|
|
90
90
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
91
91
|
<div class="tsd-navigation settings">
|
|
92
92
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
package/docsmd/README.md
CHANGED
|
@@ -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/
|
|
61
|
+
[services/staticMaps.ts:140](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
73
|
+
[services/staticMaps.ts:129](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
85
|
+
[services/staticMaps.ts:124](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
102
|
+
[services/coordinates.ts:38](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
118
|
+
[services/coordinates.ts:43](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
135
|
+
[services/coordinates.ts:33](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
161
|
+
[services/coordinates.ts:61](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
178
|
+
[services/coordinates.ts:91](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
195
|
+
[services/coordinates.ts:159](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
221
|
+
[services/coordinates.ts:47](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
231
|
+
[services/geocoding.ts:40](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
250
|
+
[services/coordinates.ts:11](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
271
|
+
[services/coordinates.ts:174](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
288
|
+
[services/geocoding.ts:42](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
313
|
+
[config.ts:1](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
323
|
+
[services/geocoding.ts:54](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
342
|
+
[services/geocoding.ts:18](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
361
|
+
[services/geocoding.ts:86](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
379
|
+
[services/geolocation.ts:14](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
408
|
+
[services/geolocation.ts:21](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
426
|
+
[services/data.ts:14](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
438
|
+
[language.ts:69](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
455
|
+
[services/geocoding.ts:165](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
486
|
+
[services/staticMaps.ts:9](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
498
|
+
[services/staticMaps.ts:145](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
516
|
+
[services/coordinates.ts:153](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
588
|
+
[language.ts:4](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
600
|
+
[config.ts:63](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
620
|
+
[services/coordinates.ts:253](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
639
|
+
[services/data.ts:59](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
716
|
+
[services/geocoding.ts:233](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
735
|
+
[services/geolocation.ts:135](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
756
|
+
[services/staticMaps.ts:456](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/staticMaps.ts#L456)
|
|
@@ -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/
|
|
38
|
+
[config.ts:41](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
56
|
+
[config.ts:34](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
72
|
+
[config.ts:55](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
90
|
+
[config.ts:48](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/config.ts#L48)
|
|
@@ -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/
|
|
42
|
+
[services/ServiceError.ts:5](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/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/
|
|
52
|
+
[services/ServiceError.ts:5](https://github.com/maptiler/maptiler-client-js/blob/6dde3c9/src/services/ServiceError.ts#L5)
|