@maptiler/client 1.1.1 → 1.1.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/dist/maptiler-client.umd.js +1 -1
- package/dist/maptiler-client.umd.min.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 +4 -4
- 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 +5 -5
- 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 +5 -5
- package/docs/types/services_coordinates.CoordinatesTransformOptions.html +5 -5
- package/docs/types/services_coordinates.XYZ.html +5 -5
- package/docs/types/services_data.GetDataOptions.html +5 -5
- package/docs/types/services_geocoding.Coordinates.html +5 -5
- package/docs/types/services_geocoding.FeatureHierarchy.html +5 -5
- package/docs/types/services_geocoding.GeocodingFeature.html +5 -5
- package/docs/types/services_geocoding.GeocodingOptions.html +5 -5
- package/docs/types/services_geocoding.GeocodingSearchResult.html +5 -5
- package/docs/types/services_geocoding.ReverseGeocodingOptions.html +5 -5
- package/docs/types/services_geolocation.GeolocationInfoOptions.html +5 -5
- 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 +5 -5
- 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 +5 -5
- package/docs/variables/services_geolocation.geolocation.html +5 -5
- package/docs/variables/services_staticMaps.staticMaps.html +5 -5
- package/docsmd/README.md +40 -40
- 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-es.html +2 -1
- package/examples/test-browser-umd.html +17 -16
- package/package.json +1 -1
- package/rollup.config.js +2 -2
|
@@ -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.
|
|
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.2</title><meta name="description" content="Documentation for MapTiler Client - v1.1.2"/><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.1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.2</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.1.
|
|
15
|
+
<li><a href="../modules.html">MapTiler Client - v1.1.2</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/ec0b213/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.1.
|
|
84
|
+
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.2</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.
|
|
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.2</title><meta name="description" content="Documentation for MapTiler Client - v1.1.2"/><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.1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.2</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.1.
|
|
15
|
+
<li><a href="../modules.html">MapTiler Client - v1.1.2</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/ec0b213/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.1.
|
|
63
|
+
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.2</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.
|
|
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.2</title><meta name="description" content="Documentation for MapTiler Client - v1.1.2"/><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.1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.2</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.1.
|
|
15
|
+
<li><a href="../modules.html">MapTiler Client - v1.1.2</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>
|
|
@@ -179,7 +179,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
179
179
|
<h5>options: <a href="../types/services_geocoding.ReverseGeocodingOptions.html" class="tsd-signature-type" data-tsd-kind="Type alias">ReverseGeocodingOptions</a><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
180
180
|
<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
181
|
<ul>
|
|
182
|
-
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/
|
|
182
|
+
<li>Defined in <a href="https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geocoding.ts#L233">services/geocoding.ts:233</a></li></ul></aside></div>
|
|
183
183
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
184
184
|
<div class="tsd-navigation settings">
|
|
185
185
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -196,7 +196,7 @@ Learn more on the MapTiler API reference page: <a href="https://docs.maptiler.co
|
|
|
196
196
|
<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
197
|
<div class="tsd-accordion-details">
|
|
198
198
|
<ul>
|
|
199
|
-
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.
|
|
199
|
+
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.2</a>
|
|
200
200
|
<ul>
|
|
201
201
|
<li class="tsd-kind-module"><a href="../modules/config.html">config</a></li>
|
|
202
202
|
<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>geolocation | MapTiler Client - v1.1.
|
|
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.2</title><meta name="description" content="Documentation for MapTiler Client - v1.1.2"/><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.1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.2</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.1.
|
|
15
|
+
<li><a href="../modules.html">MapTiler Client - v1.1.2</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/ec0b213/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.1.
|
|
61
|
+
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.2</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.
|
|
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.2</title><meta name="description" content="Documentation for MapTiler Client - v1.1.2"/><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.1.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MapTiler Client - v1.1.2</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.1.
|
|
15
|
+
<li><a href="../modules.html">MapTiler Client - v1.1.2</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/ec0b213/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.1.
|
|
107
|
+
<li class="current"><a href="../modules.html">Map<wbr/>Tiler <wbr/>Client -<wbr/> v1.1.2</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>
|
package/docsmd/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
MapTiler Client - v1.1.
|
|
1
|
+
MapTiler Client - v1.1.2
|
|
2
2
|
|
|
3
|
-
# MapTiler Client - v1.1.
|
|
3
|
+
# MapTiler Client - v1.1.2
|
|
4
4
|
|
|
5
5
|
## Table of contents
|
|
6
6
|
|
|
@@ -68,7 +68,7 @@ Options that can be provided to automatic static maps
|
|
|
68
68
|
|
|
69
69
|
#### Defined in
|
|
70
70
|
|
|
71
|
-
[services/staticMaps.ts:141](https://github.com/maptiler/maptiler-client-js/blob/
|
|
71
|
+
[services/staticMaps.ts:141](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/staticMaps.ts#L141)
|
|
72
72
|
|
|
73
73
|
___
|
|
74
74
|
|
|
@@ -80,7 +80,7 @@ Options that can be provided to bounded static maps
|
|
|
80
80
|
|
|
81
81
|
#### Defined in
|
|
82
82
|
|
|
83
|
-
[services/staticMaps.ts:130](https://github.com/maptiler/maptiler-client-js/blob/
|
|
83
|
+
[services/staticMaps.ts:130](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/staticMaps.ts#L130)
|
|
84
84
|
|
|
85
85
|
___
|
|
86
86
|
|
|
@@ -92,7 +92,7 @@ Options that can be provided to centered static maps
|
|
|
92
92
|
|
|
93
93
|
#### Defined in
|
|
94
94
|
|
|
95
|
-
[services/staticMaps.ts:125](https://github.com/maptiler/maptiler-client-js/blob/
|
|
95
|
+
[services/staticMaps.ts:125](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/staticMaps.ts#L125)
|
|
96
96
|
|
|
97
97
|
___
|
|
98
98
|
|
|
@@ -109,7 +109,7 @@ ___
|
|
|
109
109
|
|
|
110
110
|
#### Defined in
|
|
111
111
|
|
|
112
|
-
[services/coordinates.ts:38](https://github.com/maptiler/maptiler-client-js/blob/
|
|
112
|
+
[services/coordinates.ts:38](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L38)
|
|
113
113
|
|
|
114
114
|
___
|
|
115
115
|
|
|
@@ -125,7 +125,7 @@ ___
|
|
|
125
125
|
|
|
126
126
|
#### Defined in
|
|
127
127
|
|
|
128
|
-
[services/coordinates.ts:43](https://github.com/maptiler/maptiler-client-js/blob/
|
|
128
|
+
[services/coordinates.ts:43](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L43)
|
|
129
129
|
|
|
130
130
|
___
|
|
131
131
|
|
|
@@ -142,7 +142,7 @@ ___
|
|
|
142
142
|
|
|
143
143
|
#### Defined in
|
|
144
144
|
|
|
145
|
-
[services/coordinates.ts:33](https://github.com/maptiler/maptiler-client-js/blob/
|
|
145
|
+
[services/coordinates.ts:33](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L33)
|
|
146
146
|
|
|
147
147
|
___
|
|
148
148
|
|
|
@@ -168,7 +168,7 @@ ___
|
|
|
168
168
|
|
|
169
169
|
#### Defined in
|
|
170
170
|
|
|
171
|
-
[services/coordinates.ts:61](https://github.com/maptiler/maptiler-client-js/blob/
|
|
171
|
+
[services/coordinates.ts:61](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L61)
|
|
172
172
|
|
|
173
173
|
___
|
|
174
174
|
|
|
@@ -185,7 +185,7 @@ ___
|
|
|
185
185
|
|
|
186
186
|
#### Defined in
|
|
187
187
|
|
|
188
|
-
[services/coordinates.ts:91](https://github.com/maptiler/maptiler-client-js/blob/
|
|
188
|
+
[services/coordinates.ts:91](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L91)
|
|
189
189
|
|
|
190
190
|
___
|
|
191
191
|
|
|
@@ -202,7 +202,7 @@ ___
|
|
|
202
202
|
|
|
203
203
|
#### Defined in
|
|
204
204
|
|
|
205
|
-
[services/coordinates.ts:159](https://github.com/maptiler/maptiler-client-js/blob/
|
|
205
|
+
[services/coordinates.ts:159](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L159)
|
|
206
206
|
|
|
207
207
|
___
|
|
208
208
|
|
|
@@ -228,7 +228,7 @@ ___
|
|
|
228
228
|
|
|
229
229
|
#### Defined in
|
|
230
230
|
|
|
231
|
-
[services/coordinates.ts:47](https://github.com/maptiler/maptiler-client-js/blob/
|
|
231
|
+
[services/coordinates.ts:47](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L47)
|
|
232
232
|
|
|
233
233
|
___
|
|
234
234
|
|
|
@@ -238,7 +238,7 @@ ___
|
|
|
238
238
|
|
|
239
239
|
#### Defined in
|
|
240
240
|
|
|
241
|
-
[services/geocoding.ts:40](https://github.com/maptiler/maptiler-client-js/blob/
|
|
241
|
+
[services/geocoding.ts:40](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geocoding.ts#L40)
|
|
242
242
|
|
|
243
243
|
___
|
|
244
244
|
|
|
@@ -257,7 +257,7 @@ ___
|
|
|
257
257
|
|
|
258
258
|
#### Defined in
|
|
259
259
|
|
|
260
|
-
[services/coordinates.ts:11](https://github.com/maptiler/maptiler-client-js/blob/
|
|
260
|
+
[services/coordinates.ts:11](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L11)
|
|
261
261
|
|
|
262
262
|
___
|
|
263
263
|
|
|
@@ -278,7 +278,7 @@ Options that can be provided when transforming a coordinate from one CRS to anot
|
|
|
278
278
|
|
|
279
279
|
#### Defined in
|
|
280
280
|
|
|
281
|
-
[services/coordinates.ts:174](https://github.com/maptiler/maptiler-client-js/blob/
|
|
281
|
+
[services/coordinates.ts:174](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L174)
|
|
282
282
|
|
|
283
283
|
___
|
|
284
284
|
|
|
@@ -295,7 +295,7 @@ ___
|
|
|
295
295
|
|
|
296
296
|
#### Defined in
|
|
297
297
|
|
|
298
|
-
[services/geocoding.ts:42](https://github.com/maptiler/maptiler-client-js/blob/
|
|
298
|
+
[services/geocoding.ts:42](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geocoding.ts#L42)
|
|
299
299
|
|
|
300
300
|
___
|
|
301
301
|
|
|
@@ -320,7 +320,7 @@ ___
|
|
|
320
320
|
|
|
321
321
|
#### Defined in
|
|
322
322
|
|
|
323
|
-
[config.ts:1](https://github.com/maptiler/maptiler-client-js/blob/
|
|
323
|
+
[config.ts:1](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/config.ts#L1)
|
|
324
324
|
|
|
325
325
|
___
|
|
326
326
|
|
|
@@ -330,7 +330,7 @@ ___
|
|
|
330
330
|
|
|
331
331
|
#### Defined in
|
|
332
332
|
|
|
333
|
-
[services/geocoding.ts:54](https://github.com/maptiler/maptiler-client-js/blob/
|
|
333
|
+
[services/geocoding.ts:54](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geocoding.ts#L54)
|
|
334
334
|
|
|
335
335
|
___
|
|
336
336
|
|
|
@@ -349,7 +349,7 @@ ___
|
|
|
349
349
|
|
|
350
350
|
#### Defined in
|
|
351
351
|
|
|
352
|
-
[services/geocoding.ts:18](https://github.com/maptiler/maptiler-client-js/blob/
|
|
352
|
+
[services/geocoding.ts:18](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geocoding.ts#L18)
|
|
353
353
|
|
|
354
354
|
___
|
|
355
355
|
|
|
@@ -368,7 +368,7 @@ ___
|
|
|
368
368
|
|
|
369
369
|
#### Defined in
|
|
370
370
|
|
|
371
|
-
[services/geocoding.ts:86](https://github.com/maptiler/maptiler-client-js/blob/
|
|
371
|
+
[services/geocoding.ts:86](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geocoding.ts#L86)
|
|
372
372
|
|
|
373
373
|
___
|
|
374
374
|
|
|
@@ -386,7 +386,7 @@ Options that can be provided to get user data.
|
|
|
386
386
|
|
|
387
387
|
#### Defined in
|
|
388
388
|
|
|
389
|
-
[services/geolocation.ts:14](https://github.com/maptiler/maptiler-client-js/blob/
|
|
389
|
+
[services/geolocation.ts:14](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geolocation.ts#L14)
|
|
390
390
|
|
|
391
391
|
___
|
|
392
392
|
|
|
@@ -415,7 +415,7 @@ ___
|
|
|
415
415
|
|
|
416
416
|
#### Defined in
|
|
417
417
|
|
|
418
|
-
[services/geolocation.ts:21](https://github.com/maptiler/maptiler-client-js/blob/
|
|
418
|
+
[services/geolocation.ts:21](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geolocation.ts#L21)
|
|
419
419
|
|
|
420
420
|
___
|
|
421
421
|
|
|
@@ -433,7 +433,7 @@ Options that can be provided to get user data.
|
|
|
433
433
|
|
|
434
434
|
#### Defined in
|
|
435
435
|
|
|
436
|
-
[services/data.ts:14](https://github.com/maptiler/maptiler-client-js/blob/
|
|
436
|
+
[services/data.ts:14](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/data.ts#L14)
|
|
437
437
|
|
|
438
438
|
___
|
|
439
439
|
|
|
@@ -445,7 +445,7 @@ Built-in languages values as strings
|
|
|
445
445
|
|
|
446
446
|
#### Defined in
|
|
447
447
|
|
|
448
|
-
[language.ts:69](https://github.com/maptiler/maptiler-client-js/blob/
|
|
448
|
+
[language.ts:69](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/language.ts#L69)
|
|
449
449
|
|
|
450
450
|
___
|
|
451
451
|
|
|
@@ -466,7 +466,7 @@ Type for object containing style details
|
|
|
466
466
|
|
|
467
467
|
#### Defined in
|
|
468
468
|
|
|
469
|
-
[mapstyle.ts:29](https://github.com/maptiler/maptiler-client-js/blob/
|
|
469
|
+
[mapstyle.ts:29](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/mapstyle.ts#L29)
|
|
470
470
|
|
|
471
471
|
___
|
|
472
472
|
|
|
@@ -496,7 +496,7 @@ All the styles and variants maintained by MapTiler.
|
|
|
496
496
|
|
|
497
497
|
#### Defined in
|
|
498
498
|
|
|
499
|
-
[mapstyle.ts:258](https://github.com/maptiler/maptiler-client-js/blob/
|
|
499
|
+
[mapstyle.ts:258](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/mapstyle.ts#L258)
|
|
500
500
|
|
|
501
501
|
___
|
|
502
502
|
|
|
@@ -513,7 +513,7 @@ ___
|
|
|
513
513
|
|
|
514
514
|
#### Defined in
|
|
515
515
|
|
|
516
|
-
[services/geocoding.ts:165](https://github.com/maptiler/maptiler-client-js/blob/
|
|
516
|
+
[services/geocoding.ts:165](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geocoding.ts#L165)
|
|
517
517
|
|
|
518
518
|
___
|
|
519
519
|
|
|
@@ -544,7 +544,7 @@ Base set of options that can be provided to all the types of static maps
|
|
|
544
544
|
|
|
545
545
|
#### Defined in
|
|
546
546
|
|
|
547
|
-
[services/staticMaps.ts:10](https://github.com/maptiler/maptiler-client-js/blob/
|
|
547
|
+
[services/staticMaps.ts:10](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/staticMaps.ts#L10)
|
|
548
548
|
|
|
549
549
|
___
|
|
550
550
|
|
|
@@ -556,7 +556,7 @@ Definition of a maker to show on a static map
|
|
|
556
556
|
|
|
557
557
|
#### Defined in
|
|
558
558
|
|
|
559
|
-
[services/staticMaps.ts:146](https://github.com/maptiler/maptiler-client-js/blob/
|
|
559
|
+
[services/staticMaps.ts:146](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/staticMaps.ts#L146)
|
|
560
560
|
|
|
561
561
|
___
|
|
562
562
|
|
|
@@ -574,7 +574,7 @@ ___
|
|
|
574
574
|
|
|
575
575
|
#### Defined in
|
|
576
576
|
|
|
577
|
-
[services/coordinates.ts:153](https://github.com/maptiler/maptiler-client-js/blob/
|
|
577
|
+
[services/coordinates.ts:153](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L153)
|
|
578
578
|
|
|
579
579
|
## Variables
|
|
580
580
|
|
|
@@ -646,7 +646,7 @@ Languages. Note that not all the languages of this list are available but the co
|
|
|
646
646
|
|
|
647
647
|
#### Defined in
|
|
648
648
|
|
|
649
|
-
[language.ts:4](https://github.com/maptiler/maptiler-client-js/blob/
|
|
649
|
+
[language.ts:4](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/language.ts#L4)
|
|
650
650
|
|
|
651
651
|
___
|
|
652
652
|
|
|
@@ -662,7 +662,7 @@ For example, `MapStyle.STREETS` and the variants:
|
|
|
662
662
|
|
|
663
663
|
#### Defined in
|
|
664
664
|
|
|
665
|
-
[mapstyle.ts:874](https://github.com/maptiler/maptiler-client-js/blob/
|
|
665
|
+
[mapstyle.ts:874](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/mapstyle.ts#L874)
|
|
666
666
|
|
|
667
667
|
___
|
|
668
668
|
|
|
@@ -674,7 +674,7 @@ Configuration object
|
|
|
674
674
|
|
|
675
675
|
#### Defined in
|
|
676
676
|
|
|
677
|
-
[config.ts:63](https://github.com/maptiler/maptiler-client-js/blob/
|
|
677
|
+
[config.ts:63](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/config.ts#L63)
|
|
678
678
|
|
|
679
679
|
___
|
|
680
680
|
|
|
@@ -694,7 +694,7 @@ The goal of the **Coordinate API* is query information about spatial coordinate
|
|
|
694
694
|
|
|
695
695
|
#### Defined in
|
|
696
696
|
|
|
697
|
-
[services/coordinates.ts:253](https://github.com/maptiler/maptiler-client-js/blob/
|
|
697
|
+
[services/coordinates.ts:253](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/coordinates.ts#L253)
|
|
698
698
|
|
|
699
699
|
___
|
|
700
700
|
|
|
@@ -713,7 +713,7 @@ The **Data API** provides a way to retrieve user data in GeoJSON format.
|
|
|
713
713
|
|
|
714
714
|
#### Defined in
|
|
715
715
|
|
|
716
|
-
[services/data.ts:59](https://github.com/maptiler/maptiler-client-js/blob/
|
|
716
|
+
[services/data.ts:59](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/data.ts#L59)
|
|
717
717
|
|
|
718
718
|
___
|
|
719
719
|
|
|
@@ -790,7 +790,7 @@ and to get the location details (country, city, street, etc.) from a geographic
|
|
|
790
790
|
|
|
791
791
|
#### Defined in
|
|
792
792
|
|
|
793
|
-
[services/geocoding.ts:233](https://github.com/maptiler/maptiler-client-js/blob/
|
|
793
|
+
[services/geocoding.ts:233](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geocoding.ts#L233)
|
|
794
794
|
|
|
795
795
|
___
|
|
796
796
|
|
|
@@ -809,7 +809,7 @@ The **Geolocation API** provides a way to retrieve the IP address as well as geo
|
|
|
809
809
|
|
|
810
810
|
#### Defined in
|
|
811
811
|
|
|
812
|
-
[services/geolocation.ts:135](https://github.com/maptiler/maptiler-client-js/blob/
|
|
812
|
+
[services/geolocation.ts:135](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/geolocation.ts#L135)
|
|
813
813
|
|
|
814
814
|
___
|
|
815
815
|
|
|
@@ -819,7 +819,7 @@ ___
|
|
|
819
819
|
|
|
820
820
|
#### Defined in
|
|
821
821
|
|
|
822
|
-
[mapstyle.ts:466](https://github.com/maptiler/maptiler-client-js/blob/
|
|
822
|
+
[mapstyle.ts:466](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/mapstyle.ts#L466)
|
|
823
823
|
|
|
824
824
|
___
|
|
825
825
|
|
|
@@ -840,7 +840,7 @@ The URL of static maps can then be used within a `<img />` markup element, as th
|
|
|
840
840
|
|
|
841
841
|
#### Defined in
|
|
842
842
|
|
|
843
|
-
[services/staticMaps.ts:457](https://github.com/maptiler/maptiler-client-js/blob/
|
|
843
|
+
[services/staticMaps.ts:457](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/services/staticMaps.ts#L457)
|
|
844
844
|
|
|
845
845
|
## Functions
|
|
846
846
|
|
|
@@ -862,4 +862,4 @@ Expand the map style provided as argument of the Map constructor
|
|
|
862
862
|
|
|
863
863
|
#### Defined in
|
|
864
864
|
|
|
865
|
-
[mapstyle.ts:6](https://github.com/maptiler/maptiler-client-js/blob/
|
|
865
|
+
[mapstyle.ts:6](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/src/mapstyle.ts#L6)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[MapTiler Client - v1.1.
|
|
1
|
+
[MapTiler Client - v1.1.2](../README.md) / ClientConfig
|
|
2
2
|
|
|
3
3
|
# Class: ClientConfig
|
|
4
4
|
|
|
@@ -35,7 +35,7 @@ Get the MapTiler Cloud API key
|
|
|
35
35
|
|
|
36
36
|
#### Defined in
|
|
37
37
|
|
|
38
|
-
[config.ts:41](https://github.com/maptiler/maptiler-client-js/blob/
|
|
38
|
+
[config.ts:41](https://github.com/maptiler/maptiler-client-js/blob/ec0b213/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/ec0b213/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/ec0b213/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/ec0b213/src/config.ts#L48)
|