@maptiler/client 1.1.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/maptiler-client.cjs +89 -38
- package/dist/maptiler-client.cjs.map +1 -1
- package/dist/maptiler-client.d.ts +70 -29
- package/dist/maptiler-client.min.mjs +1 -1
- package/dist/maptiler-client.mjs +89 -38
- package/dist/maptiler-client.mjs.map +1 -1
- package/dist/maptiler-client.umd.js +89 -38
- package/dist/maptiler-client.umd.js.map +1 -1
- package/dist/maptiler-client.umd.min.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/config.ClientConfig.html +9 -9
- package/docs/classes/services_ServiceError.ServiceError.html +7 -7
- package/docs/functions/language.getAutoLanguageGeocoding.html +5 -5
- package/docs/functions/services_simplify.default.html +5 -5
- package/docs/index.html +7 -7
- package/docs/modules/config.html +5 -5
- package/docs/modules/language.html +5 -5
- package/docs/modules/services_ServiceError.html +5 -5
- package/docs/modules/services_coordinates.html +5 -5
- package/docs/modules/services_data.html +5 -5
- package/docs/modules/services_geocoding.html +12 -6
- package/docs/modules/services_geolocation.html +5 -5
- package/docs/modules/services_simplify.html +5 -5
- package/docs/modules/services_staticMaps.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/config.FetchFunction.html +5 -5
- package/docs/types/language.LanguageGeocodingString.html +5 -5
- package/docs/types/services_coordinates.CoordinateExport.html +5 -5
- package/docs/types/services_coordinates.CoordinateGrid.html +5 -5
- package/docs/types/services_coordinates.CoordinateId.html +5 -5
- package/docs/types/services_coordinates.CoordinateSearch.html +5 -5
- package/docs/types/services_coordinates.CoordinateSearchResult.html +5 -5
- package/docs/types/services_coordinates.CoordinateTransformResult.html +5 -5
- package/docs/types/services_coordinates.CoordinateTransformation.html +5 -5
- package/docs/types/services_coordinates.CoordinatesSearchOptions.html +6 -6
- package/docs/types/services_coordinates.CoordinatesTransformOptions.html +6 -6
- package/docs/types/services_coordinates.XYZ.html +5 -5
- package/docs/types/services_data.GetDataOptions.html +6 -6
- package/docs/types/services_geocoding.ByIdGeocodingOptions.html +63 -0
- package/docs/types/services_geocoding.CommonForwardAndReverseGeocodingOptions.html +63 -0
- package/docs/types/services_geocoding.Coordinates.html +9 -6
- package/docs/types/services_geocoding.FeatureHierarchy.html +9 -6
- package/docs/types/services_geocoding.GeocodingFeature.html +9 -6
- package/docs/types/services_geocoding.GeocodingOptions.html +10 -26
- package/docs/types/services_geocoding.GeocodingSearchResult.html +9 -6
- package/docs/types/services_geocoding.LanguageGeocodingOptions.html +70 -0
- package/docs/types/services_geocoding.ReverseGeocodingOptions.html +10 -18
- package/docs/types/services_geolocation.GeolocationInfoOptions.html +6 -6
- package/docs/types/services_geolocation.GeolocationResult.html +5 -5
- package/docs/types/services_staticMaps.AutomaticStaticMapOptions.html +5 -5
- package/docs/types/services_staticMaps.BoundedStaticMapOptions.html +5 -5
- package/docs/types/services_staticMaps.CenteredStaticMapOptions.html +5 -5
- package/docs/types/services_staticMaps.StaticMapBaseOptions.html +6 -6
- package/docs/types/services_staticMaps.StaticMapMarker.html +5 -5
- package/docs/variables/config.config.html +5 -5
- package/docs/variables/language.LanguageGeocoding.html +5 -5
- package/docs/variables/services_coordinates.coordinates.html +5 -5
- package/docs/variables/services_data.data.html +5 -5
- package/docs/variables/services_geocoding.geocoding.html +36 -12
- package/docs/variables/services_geolocation.geolocation.html +5 -5
- package/docs/variables/services_staticMaps.staticMaps.html +5 -5
- package/docsmd/README.md +82 -69
- package/docsmd/classes/ClientConfig.md +5 -5
- package/docsmd/classes/MapStyleVariant.md +13 -13
- package/docsmd/classes/ReferenceMapStyle.md +9 -9
- package/docsmd/classes/ServiceError.md +3 -3
- package/examples/test-browser-umd.html +8 -8
- package/package.json +1 -1
- package/readme.md +3 -3
- package/src/index.ts +4 -0
- package/src/mapstyle.ts +52 -7
- package/src/services/coordinates.ts +2 -2
- package/src/services/data.ts +1 -1
- package/src/services/geocoding.ts +152 -61
- package/src/services/geolocation.ts +1 -1
- package/src/services/staticMaps.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>coordinates | MapTiler Client - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>coordinates | MapTiler Client - v1.3.0</title><meta name="description" content="Documentation for MapTiler Client - v1.3.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.3.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">MapTiler Client - v1.
|
|
15
|
+
<li><a href="../modules.html">MapTiler Client - v1.3.0</a></li>
|
|
16
16
|
<li><a href="../modules/services_coordinates.html">services/coordinates</a></li>
|
|
17
17
|
<li><a href="services_coordinates.coordinates.html">coordinates</a></li></ul>
|
|
18
18
|
<h1>Variable coordinates<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
@@ -64,7 +64,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
64
64
|
<h5>options: <a href="../types/services_coordinates.CoordinatesTransformOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">CoordinatesTransformOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
65
65
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_coordinates.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">
|
|
66
66
|
<ul>
|
|
67
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
67
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/46295fc/src/services/coordinates.ts#L253">services/coordinates.ts:253</a></li></ul></aside></div>
|
|
68
68
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
69
69
|
<div class="tsd-navigation settings">
|
|
70
70
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -81,7 +81,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
81
81
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
82
82
|
<div class="tsd-accordion-details">
|
|
83
83
|
<ul>
|
|
84
|
-
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.
|
|
84
|
+
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.3.0</a>
|
|
85
85
|
<ul>
|
|
86
86
|
<li class="tsd-kind-module"><a href="../modules/config.html">config</a></li>
|
|
87
87
|
<li class="tsd-kind-module"><a href="../modules/language.html">language</a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>data | MapTiler Client - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>data | MapTiler Client - v1.3.0</title><meta name="description" content="Documentation for MapTiler Client - v1.3.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.3.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">MapTiler Client - v1.
|
|
15
|
+
<li><a href="../modules.html">MapTiler Client - v1.3.0</a></li>
|
|
16
16
|
<li><a href="../modules/services_data.html">services/data</a></li>
|
|
17
17
|
<li><a href="services_data.data.html">data</a></li></ul>
|
|
18
18
|
<h1>Variable data<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
@@ -43,7 +43,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
43
43
|
<h5>options: <a href="../types/services_data.GetDataOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">GetDataOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
44
44
|
<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">
|
|
45
45
|
<ul>
|
|
46
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
46
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/46295fc/src/services/data.ts#L59">services/data.ts:59</a></li></ul></aside></div>
|
|
47
47
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
48
48
|
<div class="tsd-navigation settings">
|
|
49
49
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -60,7 +60,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
60
60
|
<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>
|
|
61
61
|
<div class="tsd-accordion-details">
|
|
62
62
|
<ul>
|
|
63
|
-
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.
|
|
63
|
+
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.3.0</a>
|
|
64
64
|
<ul>
|
|
65
65
|
<li class="tsd-kind-module"><a href="../modules/config.html">config</a></li>
|
|
66
66
|
<li class="tsd-kind-module"><a href="../modules/language.html">language</a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>geocoding | MapTiler Client - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>geocoding | MapTiler Client - v1.3.0</title><meta name="description" content="Documentation for MapTiler Client - v1.3.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.3.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">MapTiler Client - v1.
|
|
15
|
+
<li><a href="../modules.html">MapTiler Client - v1.3.0</a></li>
|
|
16
16
|
<li><a href="../modules/services_geocoding.html">services/geocoding</a></li>
|
|
17
17
|
<li><a href="services_geocoding.geocoding.html">geocoding</a></li></ul>
|
|
18
18
|
<h1>Variable geocoding<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
19
|
-
<div class="tsd-signature">geocoding<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>forward<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>query<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.GeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span> </span>language<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>ALBANIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ARABIC<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ARMENIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>AUTO<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>AZERBAIJANI<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>BELORUSSIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>BOSNIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>BRETON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>BULGARIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>CATALAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>CHINESE<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>CROATIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>CZECH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>DANISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>DUTCH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ENGLISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ESPERANTO<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ESTONIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>FINNISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>FRENCH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>FRISIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>GEORGIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>GERMAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>GREEK<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>HEBREW<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>HUNGARIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ICELANDIC<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>IRISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ITALIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>JAPANESE<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>KANNADA<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>KAZAKH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>KOREAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>LATVIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>LITHUANIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>LUXEMBOURGISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>MACEDONIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>MALTESE<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>NORWEGIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>POLISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>PORTUGUESE<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ROMANIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ROMANSH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ROMAN_LATIN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>RUSSIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SCOTTISH_GAELIC<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SERBIAN_CYRILLIC<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SLOVAK<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SLOVENE<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SPANISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SWEDISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>THAI<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>TURKISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>UKRAINIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>WELSH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>reverse<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Position</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.ReverseGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ReverseGeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></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>
|
|
19
|
+
<div class="tsd-signature">geocoding<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>byId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.LanguageGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">LanguageGeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span> </span>forward<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>query<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.GeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span> </span>language<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span><br/><span> </span>ALBANIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ARABIC<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ARMENIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>AUTO<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>AZERBAIJANI<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>BELORUSSIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>BOSNIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>BRETON<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>BULGARIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>CATALAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>CHINESE<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>CROATIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>CZECH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>DANISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>DUTCH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ENGLISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ESPERANTO<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ESTONIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>FINNISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>FRENCH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>FRISIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>GEORGIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>GERMAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>GREEK<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>HEBREW<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>HUNGARIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ICELANDIC<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>IRISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ITALIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>JAPANESE<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>KANNADA<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>KAZAKH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>KOREAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>LATVIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>LITHUANIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>LUXEMBOURGISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>MACEDONIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>MALTESE<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>NORWEGIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>POLISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>PORTUGUESE<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ROMANIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ROMANSH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>ROMAN_LATIN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>RUSSIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SCOTTISH_GAELIC<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SERBIAN_CYRILLIC<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SLOVAK<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SLOVENE<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SPANISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>SWEDISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>THAI<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>TURKISH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>UKRAINIAN<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>WELSH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">; </span><br/><span> </span>reverse<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Position</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.CommonForwardAndReverseGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">CommonForwardAndReverseGeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></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
20
|
<div class="tsd-comment tsd-typography"><p>The <strong>geocoding</strong> namespace contains asynchronous functions to call the <a href="https://docs.maptiler.com/cloud/api/geocoding/">MapTiler Geocoding API</a>.
|
|
21
21
|
The <strong>Geocoding API</strong> provides ways to get geographic coordinates from a human-readable search query of a place (forward geocoding)
|
|
22
22
|
and to get the location details (country, city, street, etc.) from a geographic coordinate (reverse geocoding);</p>
|
|
@@ -25,11 +25,32 @@ and to get the location details (country, city, street, etc.) from a geographic
|
|
|
25
25
|
<h4>Type declaration</h4>
|
|
26
26
|
<ul class="tsd-parameters">
|
|
27
27
|
<li class="tsd-parameter">
|
|
28
|
+
<h5>by<wbr/>Id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.LanguageGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">LanguageGeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></h5>
|
|
29
|
+
<ul class="tsd-parameters">
|
|
30
|
+
<li class="tsd-parameter-signature">
|
|
31
|
+
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
|
|
32
|
+
<li class="tsd-signature" id="__type.byId.__type-1.__type-2"><span class="tsd-signature-symbol">(</span>id<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.LanguageGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">LanguageGeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></span></li>
|
|
33
|
+
<li class="tsd-description">
|
|
34
|
+
<div class="tsd-comment tsd-typography"><p>Perform a geocoding query to MapTiler API to obtain fature by its ID.
|
|
35
|
+
Providing a feature ID, this function returns a feature which includes its full geometry.
|
|
36
|
+
Note that the feature ID is not stable and it changes when the database is re-indexed.
|
|
37
|
+
Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.com/cloud/api/geocoding/#search-by-feature-id">https://docs.maptiler.com/cloud/api/geocoding/#search-by-feature-id</a></p>
|
|
38
|
+
|
|
39
|
+
<h3>Returns</h3></div>
|
|
40
|
+
<div class="tsd-parameters">
|
|
41
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
42
|
+
<ul class="tsd-parameter-list">
|
|
43
|
+
<li>
|
|
44
|
+
<h5>id: <span class="tsd-signature-type">string</span></h5></li>
|
|
45
|
+
<li>
|
|
46
|
+
<h5>options: <a href="../types/services_geocoding.LanguageGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">LanguageGeocodingOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
47
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.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>
|
|
48
|
+
<li class="tsd-parameter">
|
|
28
49
|
<h5>forward<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>query<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.GeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></h5>
|
|
29
50
|
<ul class="tsd-parameters">
|
|
30
51
|
<li class="tsd-parameter-signature">
|
|
31
52
|
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
|
|
32
|
-
<li class="tsd-signature" id="__type.forward.__type-
|
|
53
|
+
<li class="tsd-signature" id="__type.forward.__type-3.__type-4"><span class="tsd-signature-symbol">(</span>query<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.GeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></span></li>
|
|
33
54
|
<li class="tsd-description">
|
|
34
55
|
<div class="tsd-comment tsd-typography"><p>Performs a forward geocoding query to MapTiler API.
|
|
35
56
|
Providing a human readable place name (of a city, country, street, etc.), the function returns
|
|
@@ -159,14 +180,14 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
159
180
|
<li class="tsd-parameter">
|
|
160
181
|
<h5>WELSH<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></li>
|
|
161
182
|
<li class="tsd-parameter">
|
|
162
|
-
<h5>reverse<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Position</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.
|
|
183
|
+
<h5>reverse<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Position</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.CommonForwardAndReverseGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">CommonForwardAndReverseGeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span></h5>
|
|
163
184
|
<ul class="tsd-parameters">
|
|
164
185
|
<li class="tsd-parameter-signature">
|
|
165
186
|
<ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
|
|
166
|
-
<li class="tsd-signature" id="__type.reverse.__type-
|
|
187
|
+
<li class="tsd-signature" id="__type.reverse.__type-6.__type-7"><span class="tsd-signature-symbol">(</span>position<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Position</span>, options<span class="tsd-signature-symbol">?: </span><a href="../types/services_geocoding.CommonForwardAndReverseGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">CommonForwardAndReverseGeocodingOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.GeocodingSearchResult.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeocodingSearchResult</a><span class="tsd-signature-symbol">></span></li>
|
|
167
188
|
<li class="tsd-description">
|
|
168
189
|
<div class="tsd-comment tsd-typography"><p>Perform a reverse geocoding query to MapTiler API.
|
|
169
|
-
Providing a longitude and latitude, this function returns a set of human readable information
|
|
190
|
+
Providing a longitude and latitude, this function returns a set of human readable information about this place (country, city, street, etc.)
|
|
170
191
|
Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.com/cloud/api/geocoding/#search-by-coordinates-reverse">https://docs.maptiler.com/cloud/api/geocoding/#search-by-coordinates-reverse</a></p>
|
|
171
192
|
|
|
172
193
|
<h3>Returns</h3></div>
|
|
@@ -176,10 +197,10 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
176
197
|
<li>
|
|
177
198
|
<h5>position: <span class="tsd-signature-type">Position</span></h5></li>
|
|
178
199
|
<li>
|
|
179
|
-
<h5>options: <a href="../types/services_geocoding.
|
|
200
|
+
<h5>options: <a href="../types/services_geocoding.CommonForwardAndReverseGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">CommonForwardAndReverseGeocodingOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
180
201
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geocoding.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">
|
|
181
202
|
<ul>
|
|
182
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
203
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/46295fc/src/services/geocoding.ts#L323">services/geocoding.ts:323</a></li></ul></aside></div>
|
|
183
204
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
184
205
|
<div class="tsd-navigation settings">
|
|
185
206
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -196,7 +217,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
196
217
|
<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>
|
|
197
218
|
<div class="tsd-accordion-details">
|
|
198
219
|
<ul>
|
|
199
|
-
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.
|
|
220
|
+
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.3.0</a>
|
|
200
221
|
<ul>
|
|
201
222
|
<li class="tsd-kind-module"><a href="../modules/config.html">config</a></li>
|
|
202
223
|
<li class="tsd-kind-module"><a href="../modules/language.html">language</a></li>
|
|
@@ -209,11 +230,14 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
209
230
|
<li class="tsd-kind-module"><a href="../modules/services_staticMaps.html">services/static<wbr/>Maps</a></li></ul></li></ul></div></details></nav>
|
|
210
231
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
211
232
|
<ul>
|
|
212
|
-
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_geocoding.
|
|
233
|
+
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_geocoding.ByIdGeocodingOptions.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>By<wbr/>Id<wbr/>Geocoding<wbr/>Options</a></li>
|
|
234
|
+
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_geocoding.CommonForwardAndReverseGeocodingOptions.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>Common<wbr/>Forward<wbr/>And<wbr/>Reverse<wbr/>Geocoding<wbr/>Options</a></li>
|
|
235
|
+
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_geocoding.Coordinates.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>Coordinates</a></li>
|
|
213
236
|
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_geocoding.FeatureHierarchy.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>Feature<wbr/>Hierarchy</a></li>
|
|
214
237
|
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_geocoding.GeocodingFeature.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>Geocoding<wbr/>Feature</a></li>
|
|
215
238
|
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_geocoding.GeocodingOptions.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>Geocoding<wbr/>Options</a></li>
|
|
216
239
|
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_geocoding.GeocodingSearchResult.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>Geocoding<wbr/>Search<wbr/>Result</a></li>
|
|
240
|
+
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_geocoding.LanguageGeocodingOptions.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>Language<wbr/>Geocoding<wbr/>Options</a></li>
|
|
217
241
|
<li class="tsd-kind-type-alias tsd-parent-kind-module"><a href="../types/services_geocoding.ReverseGeocodingOptions.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>Reverse<wbr/>Geocoding<wbr/>Options</a></li>
|
|
218
242
|
<li class="current tsd-kind-variable tsd-parent-kind-module"><a href="services_geocoding.geocoding.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>geocoding</a></li></ul></nav></div></div>
|
|
219
243
|
<div class="container tsd-generator">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>geolocation | MapTiler Client - v1.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>geolocation | MapTiler Client - v1.3.0</title><meta name="description" content="Documentation for MapTiler Client - v1.3.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.3.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">MapTiler Client - v1.
|
|
15
|
+
<li><a href="../modules.html">MapTiler Client - v1.3.0</a></li>
|
|
16
16
|
<li><a href="../modules/services_geolocation.html">services/geolocation</a></li>
|
|
17
17
|
<li><a href="services_geolocation.geolocation.html">geolocation</a></li></ul>
|
|
18
18
|
<h1>Variable geolocation<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
@@ -41,7 +41,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
41
41
|
<h5>options: <a href="../types/services_geolocation.GeolocationInfoOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">GeolocationInfoOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
42
42
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="../types/services_geolocation.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">
|
|
43
43
|
<ul>
|
|
44
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
44
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/46295fc/src/services/geolocation.ts#L135">services/geolocation.ts:135</a></li></ul></aside></div>
|
|
45
45
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
46
46
|
<div class="tsd-navigation settings">
|
|
47
47
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -58,7 +58,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
58
58
|
<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>
|
|
59
59
|
<div class="tsd-accordion-details">
|
|
60
60
|
<ul>
|
|
61
|
-
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.
|
|
61
|
+
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.3.0</a>
|
|
62
62
|
<ul>
|
|
63
63
|
<li class="tsd-kind-module"><a href="../modules/config.html">config</a></li>
|
|
64
64
|
<li class="tsd-kind-module"><a href="../modules/language.html">language</a></li>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>staticMaps | MapTiler Client - v1.
|
|
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.3.0</title><meta name="description" content="Documentation for MapTiler Client - v1.3.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.3.0</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">MapTiler Client - v1.
|
|
15
|
+
<li><a href="../modules.html">MapTiler Client - v1.3.0</a></li>
|
|
16
16
|
<li><a href="../modules/services_staticMaps.html">services/staticMaps</a></li>
|
|
17
17
|
<li><a href="services_staticMaps.staticMaps.html">staticMaps</a></li></ul>
|
|
18
18
|
<h1>Variable staticMaps<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
@@ -87,7 +87,7 @@ If a path is provided and is too long, it will be simplified in an accurate way.
|
|
|
87
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
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
89
|
<ul>
|
|
90
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
90
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/46295fc/src/services/staticMaps.ts#L457">services/staticMaps.ts:457</a></li></ul></aside></div>
|
|
91
91
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
92
92
|
<div class="tsd-navigation settings">
|
|
93
93
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -104,7 +104,7 @@ If a path is provided and is too long, it will be simplified in an accurate way.
|
|
|
104
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
105
|
<div class="tsd-accordion-details">
|
|
106
106
|
<ul>
|
|
107
|
-
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.
|
|
107
|
+
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.3.0</a>
|
|
108
108
|
<ul>
|
|
109
109
|
<li class="tsd-kind-module"><a href="../modules/config.html">config</a></li>
|
|
110
110
|
<li class="tsd-kind-module"><a href="../modules/language.html">language</a></li>
|