@maptiler/client 1.6.0 → 1.8.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/.github/pull_request_template.md +11 -0
- package/.github/workflows/format-lint.yml +24 -0
- package/CHANGELOG.md +25 -0
- package/dist/maptiler-client.cjs +587 -332
- package/dist/maptiler-client.cjs.map +1 -1
- package/dist/maptiler-client.d.ts +291 -12
- package/dist/maptiler-client.min.mjs +1 -1
- package/dist/maptiler-client.mjs +580 -332
- package/dist/maptiler-client.mjs.map +1 -1
- package/package.json +29 -20
- package/readme.md +134 -2
- package/rollup.config.js +3 -3
- package/tsconfig.json +1 -1
- package/dist/maptiler-client.umd.js +0 -1368
- package/dist/maptiler-client.umd.js.map +0 -1
- package/dist/maptiler-client.umd.min.js +0 -1
- package/docs/.nojekyll +0 -1
- package/docs/assets/custom.css +0 -118
- package/docs/assets/highlight.css +0 -85
- package/docs/assets/main.js +0 -58
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1280
- package/docs/classes/config.ClientConfig.html +0 -132
- package/docs/classes/services_ServiceError.ServiceError.html +0 -103
- package/docs/functions/language.getAutoLanguageGeocoding.html +0 -60
- package/docs/functions/services_simplify.default.html +0 -65
- package/docs/images/JS-logo.svg +0 -4
- package/docs/images/TS-logo.svg +0 -6
- package/docs/images/maptiler-client-logo.afdesign +0 -0
- package/docs/images/maptiler-client-logo.svg +0 -75
- package/docs/images/maptiler-logo-256.png +0 -0
- package/docs/images/maptiler-logo.svg +0 -23
- package/docs/images/screenshots/static-bounded-europe-1024.png +0 -0
- package/docs/images/screenshots/static-bounded-europe-2048.png +0 -0
- package/docs/images/screenshots/static-bounded-portugal-1024x2048.png +0 -0
- package/docs/images/screenshots/static-bounded-portugal-2048x2048.png +0 -0
- package/docs/images/screenshots/static-with-path.png +0 -0
- package/docs/index.html +0 -340
- package/docs/modules/config.html +0 -71
- package/docs/modules/language.html +0 -71
- package/docs/modules/services_ServiceError.html +0 -61
- package/docs/modules/services_coordinates.html +0 -84
- package/docs/modules/services_data.html +0 -66
- package/docs/modules/services_geocoding.html +0 -82
- package/docs/modules/services_geolocation.html +0 -68
- package/docs/modules/services_simplify.html +0 -61
- package/docs/modules/services_staticMaps.html +0 -74
- package/docs/modules.html +0 -59
- package/docs/types/config.FetchFunction.html +0 -71
- package/docs/types/language.LanguageGeocodingString.html +0 -58
- package/docs/types/services_coordinates.CoordinateExport.html +0 -71
- package/docs/types/services_coordinates.CoordinateGrid.html +0 -69
- package/docs/types/services_coordinates.CoordinateId.html +0 -71
- package/docs/types/services_coordinates.CoordinateSearch.html +0 -93
- package/docs/types/services_coordinates.CoordinateSearchResult.html +0 -75
- package/docs/types/services_coordinates.CoordinateTransformResult.html +0 -76
- package/docs/types/services_coordinates.CoordinateTransformation.html +0 -89
- package/docs/types/services_coordinates.CoordinatesSearchOptions.html +0 -83
- package/docs/types/services_coordinates.CoordinatesTransformOptions.html +0 -85
- package/docs/types/services_coordinates.XYZ.html +0 -73
- package/docs/types/services_data.GetDataOptions.html +0 -64
- package/docs/types/services_geocoding.ByIdGeocodingOptions.html +0 -63
- package/docs/types/services_geocoding.CommonForwardAndReverseGeocodingOptions.html +0 -63
- package/docs/types/services_geocoding.Coordinates.html +0 -63
- package/docs/types/services_geocoding.FeatureHierarchy.html +0 -63
- package/docs/types/services_geocoding.GeocodingFeature.html +0 -63
- package/docs/types/services_geocoding.GeocodingOptions.html +0 -63
- package/docs/types/services_geocoding.GeocodingSearchResult.html +0 -80
- package/docs/types/services_geocoding.LanguageGeocodingOptions.html +0 -70
- package/docs/types/services_geocoding.ReverseGeocodingOptions.html +0 -63
- package/docs/types/services_geolocation.GeolocationInfoOptions.html +0 -65
- package/docs/types/services_geolocation.GeolocationResult.html +0 -128
- package/docs/types/services_staticMaps.AutomaticStaticMapOptions.html +0 -61
- package/docs/types/services_staticMaps.BoundedStaticMapOptions.html +0 -61
- package/docs/types/services_staticMaps.CenteredStaticMapOptions.html +0 -61
- package/docs/types/services_staticMaps.StaticMapBaseOptions.html +0 -157
- package/docs/types/services_staticMaps.StaticMapMarker.html +0 -61
- package/docs/variables/config.config.html +0 -58
- package/docs/variables/language.LanguageGeocoding.html +0 -171
- package/docs/variables/services_coordinates.coordinates.html +0 -110
- package/docs/variables/services_data.data.html +0 -80
- package/docs/variables/services_geocoding.geocoding.html +0 -265
- package/docs/variables/services_geolocation.geolocation.html +0 -79
- package/docs/variables/services_staticMaps.staticMaps.html +0 -128
- package/docsmd/.nojekyll +0 -1
- package/docsmd/README.md +0 -873
- package/docsmd/assets/custom.css +0 -118
- package/docsmd/classes/ClientConfig.md +0 -90
- package/docsmd/classes/MapStyleVariant.md +0 -234
- package/docsmd/classes/ReferenceMapStyle.md +0 -169
- package/docsmd/classes/ServiceError.md +0 -52
- package/examples/test-browser-es.html +0 -103
- package/examples/test-browser-umd.html +0 -90
- package/examples/test-node.js +0 -52
- package/images/JS-logo.svg +0 -4
- package/images/TS-logo.svg +0 -6
- package/images/maptiler-client-logo.afdesign +0 -0
- package/images/maptiler-client-logo.svg +0 -75
- package/images/maptiler-logo-256.png +0 -0
- package/images/maptiler-logo.svg +0 -23
- package/images/screenshots/static-bounded-europe-1024.png +0 -0
- package/images/screenshots/static-bounded-europe-2048.png +0 -0
- package/images/screenshots/static-bounded-portugal-1024x2048.png +0 -0
- package/images/screenshots/static-bounded-portugal-2048x2048.png +0 -0
- package/images/screenshots/static-with-path.png +0 -0
- package/src/callFetch.ts +0 -18
- package/src/config.ts +0 -65
- package/src/defaults.ts +0 -11
- package/src/index.ts +0 -111
- package/src/language.ts +0 -87
- package/src/mapstyle.ts +0 -968
- package/src/services/ServiceError.ts +0 -10
- package/src/services/coordinates.ts +0 -258
- package/src/services/data.ts +0 -63
- package/src/services/geocoding.ts +0 -458
- package/src/services/geolocation.ts +0 -139
- package/src/services/simplify.ts +0 -87
- package/src/services/staticMaps.ts +0 -463
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>tslib</title>
|
|
4
|
-
</head>
|
|
5
|
-
|
|
6
|
-
<body>
|
|
7
|
-
<p>
|
|
8
|
-
This demo is using the ES module.
|
|
9
|
-
</p>
|
|
10
|
-
<p>
|
|
11
|
-
Open JS console.
|
|
12
|
-
</p>
|
|
13
|
-
|
|
14
|
-
<div id="images"></div>
|
|
15
|
-
|
|
16
|
-
<script type="module">
|
|
17
|
-
import {
|
|
18
|
-
config,
|
|
19
|
-
geocoding,
|
|
20
|
-
geolocation,
|
|
21
|
-
coordinates,
|
|
22
|
-
data,
|
|
23
|
-
staticMaps,
|
|
24
|
-
LanguageGeocoding,
|
|
25
|
-
} from '../dist/maptiler-client.mjs';
|
|
26
|
-
|
|
27
|
-
console.log(LanguageGeocoding);
|
|
28
|
-
|
|
29
|
-
// The API key must be in the URL param as `?key=ABCD1234`
|
|
30
|
-
config.apiKey = (new URLSearchParams(location.search)).get("key");
|
|
31
|
-
|
|
32
|
-
async function testGeocoding() {
|
|
33
|
-
console.log(await geocoding.forward('bordeaux', {language: [geocoding.language.SPANISH, geocoding.language.ENGLISH]}));
|
|
34
|
-
console.log(await geocoding.forward('bordeaux', {
|
|
35
|
-
bbox: [-7.638157121837139, 33.595474163650685, -7.624914050102235, 33.600446760011856]
|
|
36
|
-
}));
|
|
37
|
-
console.log(await geocoding.reverse([6.249638, 46.402056], {language: ['es', 'en']}));
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
async function testGeolocation() {
|
|
41
|
-
console.log(await geolocation.info());
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
async function testCoordinates() {
|
|
45
|
-
// searching
|
|
46
|
-
console.log(await coordinates.search('mercator', {transformations: true}));
|
|
47
|
-
console.log(await coordinates.search('plate carree'));
|
|
48
|
-
console.log(await coordinates.search('france'));
|
|
49
|
-
console.log(await coordinates.search('4326', {transformations: true}));
|
|
50
|
-
console.log(await coordinates.search('4326'));
|
|
51
|
-
|
|
52
|
-
// Transforming from wgs84 (default) to lambert93
|
|
53
|
-
console.log(await coordinates.transform([1, 45], {targetCrs: 9793}));
|
|
54
|
-
console.log(await coordinates.transform([[10, 48], [1, 45]], {targetCrs: 9793}));
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
async function testData() {
|
|
58
|
-
console.log(await data.get('2dd5ecc4-3ae1-4d1e-99a2-182256486357'));
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
function addImage(url) {
|
|
62
|
-
const img = document.createElement("img");
|
|
63
|
-
img.src = url;
|
|
64
|
-
document.getElementById("images").appendChild(img);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
function staticMapTest() {
|
|
68
|
-
const imageLinkCentered = staticMaps.centered([7, 46.8], 5, {
|
|
69
|
-
hiDPI: true,
|
|
70
|
-
width: 1000,
|
|
71
|
-
height: 500,
|
|
72
|
-
style: 'winter',
|
|
73
|
-
markers: [[7, 46, 'green'], [8, 47, '#982']],
|
|
74
|
-
apiKey: "YOUR_PRO_API_KEY",
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
addImage(imageLinkCentered);
|
|
78
|
-
|
|
79
|
-
const imageLinkBounded = staticMaps.bounded([-9.8905, 36.6274, -6.0453, 42.3208], {
|
|
80
|
-
hiDPI: true,
|
|
81
|
-
width: 1024,
|
|
82
|
-
height: 2048,
|
|
83
|
-
style: 'streets-v2',
|
|
84
|
-
path: [[-9.8905, 36.6274], [-9.8905, 42.3208], [-6.0453, 42.3208], [-6.0453, 36.6274], [-9.8905, 36.6274]],
|
|
85
|
-
pathStrokeColor: 'red',
|
|
86
|
-
pathWidth: 4,
|
|
87
|
-
apiKey: "YOUR_PRO_API_KEY",
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
addImage(imageLinkBounded);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
(async () => {
|
|
95
|
-
await testGeocoding();
|
|
96
|
-
await testGeolocation();
|
|
97
|
-
await testCoordinates();
|
|
98
|
-
await testData();
|
|
99
|
-
staticMapTest();
|
|
100
|
-
})()
|
|
101
|
-
</script>
|
|
102
|
-
</body>
|
|
103
|
-
</html>
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>tslib</title>
|
|
4
|
-
</head>
|
|
5
|
-
|
|
6
|
-
<body>
|
|
7
|
-
<p>
|
|
8
|
-
This demo is using the UMD bundle. Add <code>?key=YOUR_API_KEY</code> to the URL.
|
|
9
|
-
</p>
|
|
10
|
-
<p>
|
|
11
|
-
Open JS console.
|
|
12
|
-
</p>
|
|
13
|
-
<div id="images"></div>
|
|
14
|
-
|
|
15
|
-
<script src ="../dist/maptiler-client.umd.js"></script>
|
|
16
|
-
|
|
17
|
-
<script>
|
|
18
|
-
// The API key must be in the URL param as `?key=ABCD1234`
|
|
19
|
-
maptilerClient.config.apiKey = (new URLSearchParams(location.search)).get("key");
|
|
20
|
-
|
|
21
|
-
async function testGeocoding() {
|
|
22
|
-
console.log(await maptilerClient.geocoding.forward('bordeaux', {language: [maptilerClient.LanguageGeocoding.SPANISH, maptilerClient.LanguageGeocoding.ENGLISH]}));
|
|
23
|
-
console.log(await maptilerClient.geocoding.forward('bordeaux'));
|
|
24
|
-
console.log(await maptilerClient.geocoding.reverse([6.249638, 46.402056], {language: ['es', 'en']}));
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
async function testGeolocation() {
|
|
28
|
-
console.log(await maptilerClient.geolocation.info());
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
async function testCoordinates() {
|
|
32
|
-
// searching
|
|
33
|
-
console.log(await maptilerClient.coordinates.search('mercator', {transformations: true}));
|
|
34
|
-
console.log(await maptilerClient.coordinates.search('plate carree'));
|
|
35
|
-
console.log(await maptilerClient.coordinates.search('france'));
|
|
36
|
-
console.log(await maptilerClient.coordinates.search('4326', {transformations: true}));
|
|
37
|
-
console.log(await maptilerClient.coordinates.search('4326'));
|
|
38
|
-
|
|
39
|
-
// // Transforming from wgs84 (default) to lambert93
|
|
40
|
-
console.log(await maptilerClient.coordinates.transform([1, 45], {targetCrs: 9793}));
|
|
41
|
-
console.log(await maptilerClient.coordinates.transform([[10, 48], [1, 45]], {targetCrs: 9793}));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
async function testData() {
|
|
45
|
-
console.log(await maptilerClient.data.get('2dd5ecc4-3ae1-4d1e-99a2-182256486357'));
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function addImage(url) {
|
|
49
|
-
const img = document.createElement("img");
|
|
50
|
-
img.src = url;
|
|
51
|
-
document.getElementById("images").appendChild(img);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function staticMapTest() {
|
|
55
|
-
const imageLinkCentered = maptilerClient.staticMaps.centered([7, 46.8], 5, {
|
|
56
|
-
hiDPI: true,
|
|
57
|
-
width: 1000,
|
|
58
|
-
height: 500,
|
|
59
|
-
style: 'winter',
|
|
60
|
-
markers: [[7, 46, 'green'], [8, 47, '#982']],
|
|
61
|
-
// apiKey: "YOUR_PRO_API_KEY",
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
addImage(imageLinkCentered);
|
|
65
|
-
|
|
66
|
-
const imageLinkBounded = maptilerClient.staticMaps.bounded([-9.8905, 36.6274, -6.0453, 42.3208], {
|
|
67
|
-
hiDPI: true,
|
|
68
|
-
width: 1024,
|
|
69
|
-
height: 2048,
|
|
70
|
-
style: maptilerClient.MapStyle.DATAVIZ.DARK,
|
|
71
|
-
path: [[-9.8905, 36.6274], [-9.8905, 42.3208], [-6.0453, 42.3208], [-6.0453, 36.6274], [-9.8905, 36.6274]],
|
|
72
|
-
pathStrokeColor: 'red',
|
|
73
|
-
pathWidth: 4,
|
|
74
|
-
// apiKey: "YOUR_PRO_API_KEY",
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
addImage(imageLinkBounded);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
(async () => {
|
|
82
|
-
// await testGeocoding();
|
|
83
|
-
// await testGeolocation();
|
|
84
|
-
// await testCoordinates();
|
|
85
|
-
// await testData();
|
|
86
|
-
staticMapTest();
|
|
87
|
-
})()
|
|
88
|
-
</script>
|
|
89
|
-
</body>
|
|
90
|
-
</html>
|
package/examples/test-node.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
config,
|
|
3
|
-
geocoding,
|
|
4
|
-
geolocation,
|
|
5
|
-
coordinates,
|
|
6
|
-
data,
|
|
7
|
-
LanguageGeocoding,
|
|
8
|
-
} from '../dist/maptiler-client.mjs';
|
|
9
|
-
|
|
10
|
-
// For this examople to work, you must bring your own node-compatible fetch,
|
|
11
|
-
// unles you are using a version of Nodejs that already contains fetch (>=18)
|
|
12
|
-
// import fetch from 'node-fetch';
|
|
13
|
-
|
|
14
|
-
// config.fetch = fetch;
|
|
15
|
-
config.apiKey = 'YOUR_MAPTILER_CLOUD_API_KEY';
|
|
16
|
-
|
|
17
|
-
async function testGeocoding() {
|
|
18
|
-
// const result1 = await geocoding.forward('bordeaux', {language: [LanguageGeocoding.AUTO, LanguageGeocoding.ENGLISH]});
|
|
19
|
-
// console.log(result1);
|
|
20
|
-
|
|
21
|
-
const result2 = await geocoding.reverse([6.249638, 46.402056], {language: ['es', 'en']});
|
|
22
|
-
console.log(result2);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
async function testGeolocation() {
|
|
26
|
-
const result = await geolocation.info();
|
|
27
|
-
console.log(result);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
async function testCoordinates() {
|
|
31
|
-
// searching
|
|
32
|
-
console.log(await coordinates.search('mercator', {transformations: true}));
|
|
33
|
-
console.log(await coordinates.search('plate carree'));
|
|
34
|
-
console.log(await coordinates.search('france'));
|
|
35
|
-
console.log(await coordinates.search('4326', {transformations: true}));
|
|
36
|
-
console.log(await coordinates.search('4326'));
|
|
37
|
-
|
|
38
|
-
// Transforming from wgs84 (default) to lambert93
|
|
39
|
-
console.log(await coordinates.transform({lng: 1, lat: 45}, {targetCrs: 9793}));
|
|
40
|
-
console.log(await coordinates.transform([{lng: 10, lat: 48},{lng: 1, lat: 45}], {targetCrs: 9793}));
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
async function testData() {
|
|
44
|
-
console.log(await data.get('2dd5ecc4-3ae1-4d1e-99a2-182256486357'));
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
(async () => {
|
|
48
|
-
await testGeocoding();
|
|
49
|
-
// await testGeolocation();
|
|
50
|
-
// await testCoordinates();
|
|
51
|
-
// await testData();
|
|
52
|
-
})()
|
package/images/JS-logo.svg
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 630 630">
|
|
2
|
-
<rect width="630" height="630" fill="#f7df1e"/>
|
|
3
|
-
<path d="m423.2 492.19c12.69 20.72 29.2 35.95 58.4 35.95 24.53 0 40.2-12.26 40.2-29.2 0-20.3-16.1-27.49-43.1-39.3l-14.8-6.35c-42.72-18.2-71.1-41-71.1-89.2 0-44.4 33.83-78.2 86.7-78.2 37.64 0 64.7 13.1 84.2 47.4l-46.1 29.6c-10.15-18.2-21.1-25.37-38.1-25.37-17.34 0-28.33 11-28.33 25.37 0 17.76 11 24.95 36.4 35.95l14.8 6.34c50.3 21.57 78.7 43.56 78.7 93 0 53.3-41.87 82.5-98.1 82.5-54.98 0-90.5-26.2-107.88-60.54zm-209.13 5.13c9.3 16.5 17.76 30.45 38.1 30.45 19.45 0 31.72-7.61 31.72-37.2v-201.3h59.2v202.1c0 61.3-35.94 89.2-88.4 89.2-47.4 0-74.85-24.53-88.81-54.075z"/>
|
|
4
|
-
</svg>
|
package/images/TS-logo.svg
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="512" height="512" fill="none" version="1.1" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
|
3
|
-
<title>TypeScript logo</title>
|
|
4
|
-
<rect width="512" height="512" rx="0" fill="#3178c6"/>
|
|
5
|
-
<path d="m317 407v50c8.1 4.2 18 7.3 29 9.4s23 3.1 35 3.1c12 0 23-1.1 34-3.4 11-2.3 20-6.1 28-11 8.1-5.3 15-12 19-21s7.1-19 7.1-32c0-9.1-1.4-17-4.1-24s-6.6-13-12-18c-5.1-5.3-11-10-18-14s-15-8.2-24-12c-6.6-2.7-12-5.3-18-7.9-5.2-2.6-9.7-5.2-13-7.8-3.7-2.7-6.5-5.5-8.5-8.4-2-3-3-6.3-3-10 0-3.4 0.89-6.5 2.7-9.3s4.3-5.1 7.5-7.1c3.2-2 7.2-3.5 12-4.6 4.7-1.1 9.9-1.6 16-1.6 4.2 0 8.6 0.31 13 0.94 4.6 0.63 9.3 1.6 14 2.9 4.7 1.3 9.3 2.9 14 4.9 4.4 2 8.5 4.3 12 6.9v-47c-7.6-2.9-16-5.1-25-6.5s-19-2.1-31-2.1c-12 0-23 1.3-34 3.8s-20 6.5-28 12c-8.1 5.4-14 12-19 21-4.7 8.4-7 18-7 30 0 15 4.3 28 13 38 8.6 11 22 19 39 27 6.9 2.8 13 5.6 19 8.3s11 5.5 15 8.4c4.3 2.9 7.7 6.1 10 9.5 2.5 3.4 3.8 7.4 3.8 12 0 3.2-0.78 6.2-2.3 9s-3.9 5.2-7.1 7.2-7.1 3.6-12 4.8c-4.7 1.1-10 1.7-17 1.7-11 0-22-1.9-32-5.7-11-3.8-21-9.5-30-17zm-84-123h64v-41h-179v41h64v183h51z" clip-rule="evenodd" fill="#fff" fill-rule="evenodd" style="fill:#fff"/>
|
|
6
|
-
</svg>
|
|
Binary file
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 231 41" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g transform="matrix(1,0,0,1,-9.41979e-05,0.000178727)">
|
|
5
|
-
<g transform="matrix(1,0,0,1,-1.20801,-0.711928)">
|
|
6
|
-
<path d="M58.567,28.139L58.567,20.497C58.567,18.616 57.566,16.908 55.595,16.908C53.654,16.908 52.508,18.616 52.508,20.497L52.508,28.139L48.922,28.139L48.922,13.84L52.244,13.84L52.508,15.578C53.273,14.129 54.949,13.609 56.33,13.609C58.066,13.609 59.8,14.304 60.624,16.271C61.918,14.245 63.595,13.667 65.476,13.667C69.593,13.667 71.622,16.155 71.622,20.44L71.622,28.139L68.034,28.139L68.034,20.44C68.034,18.559 67.24,16.966 65.301,16.966C63.359,16.966 62.153,18.616 62.153,20.497L62.153,28.139L58.567,28.139Z" style="fill:rgb(51,51,89);fill-rule:nonzero;"/>
|
|
7
|
-
<path d="M86.765,13.87L90.206,13.87L90.206,28.139L86.824,28.139L86.647,26.056C85.825,27.734 83.561,28.543 81.943,28.573C77.651,28.603 74.474,25.997 74.474,20.989C74.474,16.069 77.798,13.493 82.033,13.522C83.973,13.522 85.824,14.419 86.647,15.838L86.765,13.87ZM78.062,20.989C78.062,23.71 79.973,25.331 82.355,25.331C88,25.331 88,16.677 82.355,16.677C79.973,16.677 78.062,18.269 78.062,20.989Z" style="fill:rgb(51,51,89);fill-rule:nonzero;"/>
|
|
8
|
-
<path d="M93.236,34.105L93.236,13.87L96.589,13.87L96.822,15.838C97.94,14.245 99.882,13.551 101.528,13.551C105.996,13.551 108.968,16.822 108.968,21.019C108.968,25.187 106.291,28.487 101.645,28.487C100.118,28.487 97.852,28.023 96.822,26.461L96.822,34.104L93.236,34.104L93.236,34.105ZM105.381,21.019C105.381,18.791 103.851,16.966 101.264,16.966C98.676,16.966 97.146,18.791 97.146,21.019C97.146,23.247 98.823,25.073 101.264,25.073C103.705,25.073 105.381,23.247 105.381,21.019Z" style="fill:rgb(51,51,89);fill-rule:nonzero;"/>
|
|
9
|
-
<path d="M115.378,9.528L115.378,13.84L120.319,13.84L120.319,15.026L115.378,15.026L115.378,23.739C115.378,25.679 115.791,27.04 118.055,27.04C118.76,27.04 119.554,26.808 120.289,26.461L120.789,27.617C119.877,28.054 118.965,28.342 118.055,28.342C114.968,28.342 113.967,26.547 113.967,23.74L113.967,15.027L110.879,15.027L110.879,13.84L113.967,13.84L113.967,9.672L115.378,9.528Z" style="fill:rgb(51,51,89);fill-rule:nonzero;"/>
|
|
10
|
-
<path d="M125.554,9.18C125.554,10.685 123.23,10.685 123.23,9.18C123.23,7.675 125.554,7.675 125.554,9.18ZM123.643,13.782L123.643,28.14L125.082,28.14L125.082,13.782L123.643,13.782Z" style="fill:rgb(51,51,89);fill-rule:nonzero;"/>
|
|
11
|
-
<rect x="129.199" y="7.878" width="1.441" height="20.261" style="fill:rgb(51,51,89);"/>
|
|
12
|
-
<path d="M153.488,13.84L153.547,16.389C154.459,14.448 156.518,13.696 158.37,13.696C159.459,13.667 160.515,13.956 161.486,14.536L160.839,15.693C160.076,15.23 159.221,15.027 158.37,15.027C155.663,15.057 153.576,17.198 153.576,19.804L153.576,28.14L152.135,28.14L152.135,13.84L153.488,13.84Z" style="fill:rgb(51,51,89);fill-rule:nonzero;"/>
|
|
13
|
-
<path d="M135.54,23.414C135.541,23.415 135.543,23.417 135.543,23.418L147.303,20.354C147.302,20.349 147.302,20.345 147.302,20.341L135.54,23.414Z" style="fill:rgb(51,51,89);fill-rule:nonzero;"/>
|
|
14
|
-
<path d="M141.214,27.28C138.654,27.28 136.461,25.701 135.543,23.458L135.535,23.458L135.542,23.457C135.542,23.456 135.541,23.455 135.54,23.454L147.301,20.38C147.301,20.385 147.302,20.389 147.302,20.394L148.555,20.068C148.049,16.446 144.956,13.658 141.214,13.658C137.12,13.658 133.802,16.996 133.802,21.113C133.802,25.23 137.12,28.569 141.214,28.569C144.276,28.569 146.905,26.7 148.035,24.037L146.855,23.532C145.921,25.734 143.747,27.28 141.214,27.28ZM135.083,21.113C135.083,17.708 137.828,14.946 141.214,14.946C143.862,14.946 146.117,16.634 146.976,18.999L135.16,22.085C135.11,21.768 135.083,21.444 135.083,21.113Z" style="fill:rgb(51,51,89);fill-rule:nonzero;"/>
|
|
15
|
-
</g>
|
|
16
|
-
<g transform="matrix(1,0,0,1,-1.20801,-0.711928)">
|
|
17
|
-
<path d="M11.965,33.743C14.023,35.769 19.5,41.264 19.497,41.269C19.477,41.305 24.938,35.908 27.113,33.768L19.526,26.3L11.965,33.743Z" style="fill:rgb(58,24,136);fill-rule:nonzero;"/>
|
|
18
|
-
<path d="M19.526,26.3L27.113,33.768C27.124,33.756 27.138,33.741 27.15,33.731L34.73,26.27L27.143,18.802L19.526,26.3Z" style="fill:rgb(3,161,196);fill-rule:nonzero;"/>
|
|
19
|
-
<path d="M34.73,26.27L34.749,26.25C38.942,22.123 38.945,15.435 34.762,11.302L27.144,18.802L34.73,26.27Z" style="fill:rgb(5,208,223);fill-rule:nonzero;"/>
|
|
20
|
-
<path d="M11.908,18.802L4.349,26.243C4.351,26.245 4.352,26.248 4.355,26.25L11.953,33.73C11.957,33.734 11.961,33.738 11.966,33.743L19.526,26.3L11.908,18.802Z" style="fill:rgb(118,31,232);fill-rule:nonzero;"/>
|
|
21
|
-
<path d="M19.526,11.303L27.143,18.802L34.762,11.303C34.755,11.298 34.753,11.295 34.749,11.29L27.15,3.81C27.149,3.808 27.146,3.806 27.144,3.804L19.526,11.303Z" style="fill:rgb(255,170,1);fill-rule:nonzero;"/>
|
|
22
|
-
<path d="M4.317,11.328C0.161,15.46 0.172,22.124 4.349,26.243L11.908,18.802L4.317,11.328Z" style="fill:rgb(241,23,93);fill-rule:nonzero;"/>
|
|
23
|
-
<path d="M19.526,11.303L11.934,3.829L4.355,11.29C4.341,11.303 4.33,11.317 4.316,11.329L11.908,18.802L19.526,11.303Z" style="fill:rgb(251,58,27);fill-rule:nonzero;"/>
|
|
24
|
-
<path d="M27.144,3.804C22.946,-0.321 16.148,-0.319 11.953,3.81L11.934,3.829L19.526,11.303L27.144,3.804Z" style="fill:rgb(251,201,53);fill-rule:nonzero;"/>
|
|
25
|
-
</g>
|
|
26
|
-
<g>
|
|
27
|
-
<g transform="matrix(1.45413,0,0,1,-169.409,0.0892285)">
|
|
28
|
-
<clipPath id="_clip1">
|
|
29
|
-
<path d="M231.731,-0.54L263.099,11.149L258.296,38.404L226.928,26.715L231.731,-0.54Z"/>
|
|
30
|
-
</clipPath>
|
|
31
|
-
<g clip-path="url(#_clip1)">
|
|
32
|
-
<path d="M270.382,12.81L232.413,12.81C231.562,12.81 230.871,13.815 230.871,15.052L230.871,25.472C230.871,26.692 231.552,27.683 232.391,27.683L270.382,27.683L270.382,12.81Z" style="fill:rgb(3,161,196);"/>
|
|
33
|
-
</g>
|
|
34
|
-
</g>
|
|
35
|
-
<g transform="matrix(0.364213,0,0,0.364213,-18.0413,0.200674)">
|
|
36
|
-
<g transform="matrix(30.2678,0,0,30.2678,514.098,66.0889)">
|
|
37
|
-
<path d="M0.558,-0.487C0.553,-0.508 0.545,-0.527 0.536,-0.544C0.527,-0.561 0.515,-0.576 0.5,-0.589C0.485,-0.602 0.468,-0.612 0.449,-0.619C0.429,-0.626 0.406,-0.629 0.38,-0.629C0.342,-0.629 0.309,-0.621 0.282,-0.606C0.254,-0.591 0.231,-0.57 0.214,-0.545C0.197,-0.519 0.184,-0.49 0.176,-0.457C0.167,-0.424 0.163,-0.391 0.163,-0.357C0.163,-0.323 0.167,-0.29 0.176,-0.257C0.184,-0.224 0.197,-0.195 0.214,-0.17C0.231,-0.144 0.254,-0.123 0.282,-0.108C0.309,-0.093 0.342,-0.085 0.38,-0.085C0.408,-0.085 0.433,-0.09 0.454,-0.1C0.475,-0.109 0.494,-0.123 0.509,-0.14C0.524,-0.157 0.536,-0.176 0.545,-0.199C0.554,-0.222 0.559,-0.246 0.562,-0.272L0.684,-0.272C0.681,-0.229 0.672,-0.19 0.657,-0.155C0.641,-0.12 0.62,-0.089 0.593,-0.064C0.566,-0.038 0.535,-0.018 0.499,-0.004C0.463,0.01 0.423,0.017 0.38,0.017C0.327,0.017 0.279,0.007 0.237,-0.013C0.194,-0.032 0.158,-0.059 0.129,-0.093C0.1,-0.127 0.077,-0.167 0.062,-0.212C0.046,-0.257 0.038,-0.306 0.038,-0.357C0.038,-0.408 0.046,-0.456 0.062,-0.501C0.077,-0.546 0.1,-0.586 0.129,-0.62C0.158,-0.654 0.194,-0.681 0.237,-0.701C0.279,-0.721 0.327,-0.731 0.38,-0.731C0.42,-0.731 0.458,-0.725 0.493,-0.715C0.528,-0.704 0.56,-0.688 0.587,-0.667C0.614,-0.646 0.635,-0.62 0.652,-0.59C0.669,-0.56 0.679,-0.526 0.683,-0.487L0.558,-0.487Z" style="fill:white;fill-rule:nonzero;"/>
|
|
38
|
-
</g>
|
|
39
|
-
<g transform="matrix(30.2678,0,0,30.2678,535.951,66.0889)">
|
|
40
|
-
<path d="M0.076,-0.714L0.201,-0.714L0.201,-0.108L0.564,-0.108L0.564,-0L0.076,-0L0.076,-0.714Z" style="fill:white;fill-rule:nonzero;"/>
|
|
41
|
-
</g>
|
|
42
|
-
<g transform="matrix(30.2678,0,0,30.2678,553.325,66.0889)">
|
|
43
|
-
<rect x="0.076" y="-0.714" width="0.125" height="0.714" style="fill:white;fill-rule:nonzero;"/>
|
|
44
|
-
</g>
|
|
45
|
-
<g transform="matrix(30.2678,0,0,30.2678,561.74,66.0889)">
|
|
46
|
-
<path d="M0.076,-0.714L0.59,-0.714L0.59,-0.606L0.201,-0.606L0.201,-0.419L0.561,-0.419L0.561,-0.317L0.201,-0.317L0.201,-0.108L0.597,-0.108L0.597,-0L0.076,-0L0.076,-0.714Z" style="fill:white;fill-rule:nonzero;"/>
|
|
47
|
-
</g>
|
|
48
|
-
<g transform="matrix(30.2678,0,0,30.2678,580.808,66.0889)">
|
|
49
|
-
<path d="M0.071,-0.714L0.203,-0.714L0.529,-0.188L0.531,-0.188L0.531,-0.714L0.65,-0.714L0.65,-0L0.518,-0L0.193,-0.525L0.19,-0.525L0.19,-0L0.071,-0L0.071,-0.714Z" style="fill:white;fill-rule:nonzero;"/>
|
|
50
|
-
</g>
|
|
51
|
-
<g transform="matrix(30.2678,0,0,30.2678,602.662,66.0889)">
|
|
52
|
-
<path d="M0.008,-0.714L0.586,-0.714L0.586,-0.606L0.359,-0.606L0.359,-0L0.234,-0L0.234,-0.606L0.008,-0.606L0.008,-0.714Z" style="fill:white;fill-rule:nonzero;"/>
|
|
53
|
-
</g>
|
|
54
|
-
</g>
|
|
55
|
-
</g>
|
|
56
|
-
<g transform="matrix(1,0,0,1,-4.85769,0)">
|
|
57
|
-
<g transform="matrix(-1.1073,-1.35605e-16,1.40521e-16,-1.14744,491.39,43.567)">
|
|
58
|
-
<clipPath id="_clip2">
|
|
59
|
-
<path d="M222.883,26.693L244.255,31.978L249.737,11.334L228.365,6.049L222.883,26.693Z"/>
|
|
60
|
-
</clipPath>
|
|
61
|
-
<g clip-path="url(#_clip2)">
|
|
62
|
-
<path d="M270.382,12.81L233.848,12.81C232.205,12.81 230.871,14.097 230.871,15.683L230.871,24.808C230.871,26.395 232.206,27.683 233.85,27.683L270.382,27.683L270.382,12.81Z" style="fill:rgb(251,201,53);"/>
|
|
63
|
-
</g>
|
|
64
|
-
</g>
|
|
65
|
-
<g transform="matrix(0.364213,0,0,0.364213,32.4999,0.200674)">
|
|
66
|
-
<g transform="matrix(30.2678,0,0,30.2678,514.098,66.0889)">
|
|
67
|
-
<path d="M0.461,-0.23C0.461,-0.199 0.458,-0.168 0.453,-0.139C0.448,-0.11 0.437,-0.083 0.421,-0.06C0.404,-0.037 0.381,-0.018 0.35,-0.004C0.319,0.01 0.277,0.017 0.226,0.017C0.188,0.017 0.156,0.011 0.129,-0.001C0.102,-0.012 0.08,-0.028 0.063,-0.049C0.046,-0.069 0.033,-0.093 0.025,-0.121C0.017,-0.149 0.013,-0.179 0.013,-0.212L0.013,-0.25L0.138,-0.25L0.138,-0.213C0.138,-0.172 0.145,-0.141 0.159,-0.119C0.172,-0.096 0.198,-0.085 0.236,-0.085C0.256,-0.085 0.273,-0.088 0.286,-0.094C0.299,-0.1 0.309,-0.109 0.317,-0.121C0.324,-0.132 0.329,-0.147 0.332,-0.164C0.335,-0.181 0.336,-0.201 0.336,-0.223L0.336,-0.714L0.461,-0.714L0.461,-0.23Z" style="fill:white;fill-rule:nonzero;"/>
|
|
68
|
-
</g>
|
|
69
|
-
<g transform="matrix(30.2678,0,0,30.2678,530.352,66.0889)">
|
|
70
|
-
<path d="M0.158,-0.238C0.158,-0.211 0.163,-0.187 0.172,-0.168C0.181,-0.149 0.194,-0.133 0.211,-0.121C0.228,-0.108 0.247,-0.099 0.269,-0.094C0.29,-0.088 0.314,-0.085 0.339,-0.085C0.366,-0.085 0.39,-0.088 0.409,-0.095C0.428,-0.101 0.444,-0.109 0.456,-0.119C0.468,-0.129 0.477,-0.14 0.482,-0.154C0.487,-0.167 0.49,-0.18 0.49,-0.193C0.49,-0.22 0.484,-0.241 0.472,-0.254C0.459,-0.267 0.446,-0.276 0.431,-0.281C0.406,-0.29 0.376,-0.299 0.343,-0.308C0.309,-0.316 0.267,-0.327 0.218,-0.34C0.187,-0.348 0.162,-0.359 0.142,-0.372C0.121,-0.385 0.105,-0.399 0.093,-0.415C0.081,-0.431 0.073,-0.448 0.068,-0.466C0.063,-0.484 0.06,-0.502 0.06,-0.521C0.06,-0.557 0.068,-0.588 0.083,-0.615C0.097,-0.641 0.117,-0.663 0.142,-0.68C0.167,-0.697 0.195,-0.71 0.226,-0.719C0.257,-0.727 0.289,-0.731 0.321,-0.731C0.358,-0.731 0.393,-0.726 0.427,-0.717C0.46,-0.707 0.489,-0.692 0.514,-0.673C0.539,-0.654 0.558,-0.63 0.573,-0.602C0.588,-0.573 0.595,-0.54 0.595,-0.503L0.47,-0.503C0.467,-0.549 0.451,-0.582 0.423,-0.601C0.395,-0.62 0.359,-0.629 0.316,-0.629C0.301,-0.629 0.286,-0.628 0.271,-0.625C0.256,-0.622 0.242,-0.616 0.229,-0.61C0.216,-0.603 0.206,-0.593 0.198,-0.581C0.189,-0.569 0.185,-0.554 0.185,-0.536C0.185,-0.511 0.193,-0.491 0.209,-0.477C0.224,-0.462 0.245,-0.451 0.27,-0.444C0.273,-0.443 0.283,-0.44 0.302,-0.436C0.32,-0.431 0.34,-0.425 0.363,-0.419C0.386,-0.413 0.408,-0.407 0.43,-0.402C0.451,-0.396 0.467,-0.392 0.476,-0.389C0.499,-0.382 0.52,-0.372 0.537,-0.359C0.554,-0.346 0.569,-0.332 0.581,-0.316C0.592,-0.299 0.601,-0.282 0.607,-0.263C0.612,-0.244 0.615,-0.226 0.615,-0.207C0.615,-0.167 0.607,-0.133 0.591,-0.105C0.574,-0.076 0.553,-0.053 0.526,-0.035C0.499,-0.017 0.469,-0.004 0.435,0.005C0.401,0.013 0.366,0.017 0.331,0.017C0.29,0.017 0.252,0.012 0.216,0.002C0.18,-0.008 0.149,-0.023 0.122,-0.044C0.095,-0.065 0.074,-0.091 0.058,-0.124C0.042,-0.156 0.034,-0.194 0.033,-0.238L0.158,-0.238Z" style="fill:white;fill-rule:nonzero;"/>
|
|
71
|
-
</g>
|
|
72
|
-
</g>
|
|
73
|
-
</g>
|
|
74
|
-
</g>
|
|
75
|
-
</svg>
|
|
Binary file
|
package/images/maptiler-logo.svg
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 161 41" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g transform="matrix(1,0,0,1,-1.20801,-0.711928)">
|
|
5
|
-
<path d="M11.965,33.743C14.023,35.769 19.5,41.264 19.497,41.269C19.477,41.305 24.938,35.908 27.113,33.768L19.526,26.3L11.965,33.743Z" style="fill:rgb(58,24,136);fill-rule:nonzero;"/>
|
|
6
|
-
<path d="M19.526,26.3L27.113,33.768C27.124,33.756 27.138,33.741 27.15,33.731L34.73,26.27L27.143,18.802L19.526,26.3Z" style="fill:rgb(3,161,196);fill-rule:nonzero;"/>
|
|
7
|
-
<path d="M34.73,26.27L34.749,26.25C38.942,22.123 38.945,15.435 34.762,11.302L27.144,18.802L34.73,26.27Z" style="fill:rgb(5,208,223);fill-rule:nonzero;"/>
|
|
8
|
-
<path d="M11.908,18.802L4.349,26.243C4.351,26.245 4.352,26.248 4.355,26.25L11.953,33.73C11.957,33.734 11.961,33.738 11.966,33.743L19.526,26.3L11.908,18.802Z" style="fill:rgb(118,31,232);fill-rule:nonzero;"/>
|
|
9
|
-
<path d="M19.526,11.303L27.143,18.802L34.762,11.303C34.755,11.298 34.753,11.295 34.749,11.29L27.15,3.81C27.149,3.808 27.146,3.806 27.144,3.804L19.526,11.303Z" style="fill:rgb(255,170,1);fill-rule:nonzero;"/>
|
|
10
|
-
<path d="M4.317,11.328C0.161,15.46 0.172,22.124 4.349,26.243L11.908,18.802L4.317,11.328Z" style="fill:rgb(241,23,93);fill-rule:nonzero;"/>
|
|
11
|
-
<path d="M19.526,11.303L11.934,3.829L4.355,11.29C4.341,11.303 4.33,11.317 4.316,11.329L11.908,18.802L19.526,11.303Z" style="fill:rgb(251,58,27);fill-rule:nonzero;"/>
|
|
12
|
-
<path d="M27.144,3.804C22.946,-0.321 16.148,-0.319 11.953,3.81L11.934,3.829L19.526,11.303L27.144,3.804Z" style="fill:rgb(251,201,53);fill-rule:nonzero;"/>
|
|
13
|
-
<path d="M58.567,28.139L58.567,20.497C58.567,18.616 57.566,16.908 55.595,16.908C53.654,16.908 52.508,18.616 52.508,20.497L52.508,28.139L48.922,28.139L48.922,13.84L52.244,13.84L52.508,15.578C53.273,14.129 54.949,13.609 56.33,13.609C58.066,13.609 59.8,14.304 60.624,16.271C61.918,14.245 63.595,13.667 65.476,13.667C69.593,13.667 71.622,16.155 71.622,20.44L71.622,28.139L68.034,28.139L68.034,20.44C68.034,18.559 67.24,16.966 65.301,16.966C63.359,16.966 62.153,18.616 62.153,20.497L62.153,28.139L58.567,28.139Z" style="fill-rule:nonzero;"/>
|
|
14
|
-
<path d="M86.765,13.87L90.206,13.87L90.206,28.139L86.824,28.139L86.647,26.056C85.825,27.734 83.561,28.543 81.943,28.573C77.651,28.603 74.474,25.997 74.474,20.989C74.474,16.069 77.798,13.493 82.033,13.522C83.973,13.522 85.824,14.419 86.647,15.838L86.765,13.87ZM78.062,20.989C78.062,23.71 79.973,25.331 82.355,25.331C88,25.331 88,16.677 82.355,16.677C79.973,16.677 78.062,18.269 78.062,20.989Z" style="fill-rule:nonzero;"/>
|
|
15
|
-
<path d="M93.236,34.105L93.236,13.87L96.589,13.87L96.822,15.838C97.94,14.245 99.882,13.551 101.528,13.551C105.996,13.551 108.968,16.822 108.968,21.019C108.968,25.187 106.291,28.487 101.645,28.487C100.118,28.487 97.852,28.023 96.822,26.461L96.822,34.104L93.236,34.104L93.236,34.105ZM105.381,21.019C105.381,18.791 103.851,16.966 101.264,16.966C98.676,16.966 97.146,18.791 97.146,21.019C97.146,23.247 98.823,25.073 101.264,25.073C103.705,25.073 105.381,23.247 105.381,21.019Z" style="fill-rule:nonzero;"/>
|
|
16
|
-
<path d="M115.378,9.528L115.378,13.84L120.319,13.84L120.319,15.026L115.378,15.026L115.378,23.739C115.378,25.679 115.791,27.04 118.055,27.04C118.76,27.04 119.554,26.808 120.289,26.461L120.789,27.617C119.877,28.054 118.965,28.342 118.055,28.342C114.968,28.342 113.967,26.547 113.967,23.74L113.967,15.027L110.879,15.027L110.879,13.84L113.967,13.84L113.967,9.672L115.378,9.528Z" style="fill-rule:nonzero;"/>
|
|
17
|
-
<path d="M125.554,9.18C125.554,10.685 123.23,10.685 123.23,9.18C123.23,7.675 125.554,7.675 125.554,9.18ZM123.643,13.782L123.643,28.14L125.082,28.14L125.082,13.782L123.643,13.782Z" style="fill-rule:nonzero;"/>
|
|
18
|
-
<rect x="129.199" y="7.878" width="1.441" height="20.261" style="fill-rule:nonzero;"/>
|
|
19
|
-
<path d="M153.488,13.84L153.547,16.389C154.459,14.448 156.518,13.696 158.37,13.696C159.459,13.667 160.515,13.956 161.486,14.536L160.839,15.693C160.076,15.23 159.221,15.027 158.37,15.027C155.663,15.057 153.576,17.198 153.576,19.804L153.576,28.14L152.135,28.14L152.135,13.84L153.488,13.84Z" style="fill-rule:nonzero;"/>
|
|
20
|
-
<path d="M135.54,23.414C135.541,23.415 135.543,23.417 135.543,23.418L147.303,20.354C147.302,20.349 147.302,20.345 147.302,20.341L135.54,23.414Z" style="fill-rule:nonzero;"/>
|
|
21
|
-
<path d="M141.214,27.28C138.654,27.28 136.461,25.701 135.543,23.458L135.535,23.458L135.542,23.457C135.542,23.456 135.541,23.455 135.54,23.454L147.301,20.38C147.301,20.385 147.302,20.389 147.302,20.394L148.555,20.068C148.049,16.446 144.956,13.658 141.214,13.658C137.12,13.658 133.802,16.996 133.802,21.113C133.802,25.23 137.12,28.569 141.214,28.569C144.276,28.569 146.905,26.7 148.035,24.037L146.855,23.532C145.921,25.734 143.747,27.28 141.214,27.28ZM135.083,21.113C135.083,17.708 137.828,14.946 141.214,14.946C143.862,14.946 146.117,16.634 146.976,18.999L135.16,22.085C135.11,21.768 135.083,21.444 135.083,21.113Z" style="fill-rule:nonzero;"/>
|
|
22
|
-
</g>
|
|
23
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/callFetch.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { config } from "./config";
|
|
2
|
-
|
|
3
|
-
export async function callFetch(resource, options = {}) {
|
|
4
|
-
if (config.fetch === null) {
|
|
5
|
-
throw new Error(
|
|
6
|
-
"The fetch function was not found. If on NodeJS < 18 please specify the fetch function with config.fetch"
|
|
7
|
-
);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// Control if URL contains the api key
|
|
11
|
-
if (new URL(resource).searchParams.get("key").trim() === "") {
|
|
12
|
-
throw new Error(
|
|
13
|
-
"The MapTiler Cloud API key is missing. Set it in `config.apiKey` or get one for free at https://maptiler.com"
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
return config.fetch(resource, options);
|
|
18
|
-
}
|
package/src/config.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
export type FetchFunction = (url: string, options: object) => Promise<any>;
|
|
2
|
-
|
|
3
|
-
function tryGettingFetch() {
|
|
4
|
-
// this is browser, fetch exists
|
|
5
|
-
if (typeof self !== "undefined") {
|
|
6
|
-
return fetch.bind(self);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
if (typeof global !== "undefined" && global.fetch) {
|
|
10
|
-
return global.fetch;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
return null;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The configuration object definition
|
|
18
|
-
*/
|
|
19
|
-
class ClientConfig {
|
|
20
|
-
/**
|
|
21
|
-
* MapTiler Cloud API key
|
|
22
|
-
*/
|
|
23
|
-
private _apiKey = "";
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* The fetch function. To be set if in Node < 18, otherwise
|
|
27
|
-
* will be automatically resolved.
|
|
28
|
-
*/
|
|
29
|
-
private _fetch: FetchFunction | null = tryGettingFetch();
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Set the MapTiler Cloud API key
|
|
33
|
-
*/
|
|
34
|
-
set apiKey(k: string) {
|
|
35
|
-
this._apiKey = k;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Get the MapTiler Cloud API key
|
|
40
|
-
*/
|
|
41
|
-
get apiKey(): string {
|
|
42
|
-
return this._apiKey;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Set a the custom fetch function to replace the default one
|
|
47
|
-
*/
|
|
48
|
-
set fetch(f: FetchFunction) {
|
|
49
|
-
this._fetch = f;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Get the fetch fucntion
|
|
54
|
-
*/
|
|
55
|
-
get fetch(): FetchFunction | null {
|
|
56
|
-
return this._fetch;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Configuration object
|
|
62
|
-
*/
|
|
63
|
-
const config = new ClientConfig();
|
|
64
|
-
|
|
65
|
-
export { ClientConfig, config };
|
package/src/defaults.ts
DELETED
package/src/index.ts
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { BBox, Position } from "geojson";
|
|
2
|
-
import { ClientConfig, config } from "./config";
|
|
3
|
-
import type { FetchFunction } from "./config";
|
|
4
|
-
import { LanguageGeocoding, LanguageGeocodingString } from "./language";
|
|
5
|
-
|
|
6
|
-
// Importing services
|
|
7
|
-
import { geocoding } from "./services/geocoding";
|
|
8
|
-
import type {
|
|
9
|
-
GeocodingOptions,
|
|
10
|
-
ReverseGeocodingOptions,
|
|
11
|
-
LanguageGeocodingOptions,
|
|
12
|
-
CommonForwardAndReverseGeocodingOptions,
|
|
13
|
-
GeocodingSearchResult,
|
|
14
|
-
GeocodingFeature,
|
|
15
|
-
FeatureHierarchy,
|
|
16
|
-
Coordinates,
|
|
17
|
-
} from "./services/geocoding";
|
|
18
|
-
import { geolocation } from "./services/geolocation";
|
|
19
|
-
import type {
|
|
20
|
-
GeolocationInfoOptions,
|
|
21
|
-
GeolocationResult,
|
|
22
|
-
} from "./services/geolocation";
|
|
23
|
-
import { coordinates } from "./services/coordinates";
|
|
24
|
-
import type {
|
|
25
|
-
CoordinatesSearchOptions,
|
|
26
|
-
CoordinatesTransformOptions,
|
|
27
|
-
CoordinateTransformResult,
|
|
28
|
-
CoordinateSearchResult,
|
|
29
|
-
CoordinateSearch,
|
|
30
|
-
XYZ,
|
|
31
|
-
CoordinateTransformation,
|
|
32
|
-
CoordinateId,
|
|
33
|
-
CoordinateExport,
|
|
34
|
-
CoordinateGrid,
|
|
35
|
-
} from "./services/coordinates";
|
|
36
|
-
import { data } from "./services/data";
|
|
37
|
-
import type { GetDataOptions } from "./services/data";
|
|
38
|
-
import { staticMaps } from "./services/staticMaps";
|
|
39
|
-
import type {
|
|
40
|
-
StaticMapMarker,
|
|
41
|
-
StaticMapBaseOptions,
|
|
42
|
-
CenteredStaticMapOptions,
|
|
43
|
-
AutomaticStaticMapOptions,
|
|
44
|
-
BoundedStaticMapOptions,
|
|
45
|
-
} from "./services/staticMaps";
|
|
46
|
-
|
|
47
|
-
import { ServiceError } from "./services/ServiceError";
|
|
48
|
-
|
|
49
|
-
import type { MapStylePreset, MapStyleType } from "./mapstyle";
|
|
50
|
-
|
|
51
|
-
import {
|
|
52
|
-
MapStyleVariant,
|
|
53
|
-
ReferenceMapStyle,
|
|
54
|
-
mapStylePresetList,
|
|
55
|
-
MapStyle,
|
|
56
|
-
expandMapStyle,
|
|
57
|
-
} from "./mapstyle";
|
|
58
|
-
|
|
59
|
-
// Exporting types
|
|
60
|
-
export type {
|
|
61
|
-
Position,
|
|
62
|
-
BBox,
|
|
63
|
-
GeocodingOptions,
|
|
64
|
-
ReverseGeocodingOptions,
|
|
65
|
-
LanguageGeocodingOptions,
|
|
66
|
-
CommonForwardAndReverseGeocodingOptions,
|
|
67
|
-
GeocodingSearchResult,
|
|
68
|
-
GeocodingFeature,
|
|
69
|
-
CoordinateExport,
|
|
70
|
-
CoordinateGrid,
|
|
71
|
-
CoordinateTransformation,
|
|
72
|
-
CoordinateId,
|
|
73
|
-
FeatureHierarchy,
|
|
74
|
-
Coordinates,
|
|
75
|
-
CoordinatesTransformOptions,
|
|
76
|
-
CoordinateTransformResult,
|
|
77
|
-
CoordinateSearchResult,
|
|
78
|
-
XYZ,
|
|
79
|
-
CoordinateSearch,
|
|
80
|
-
CoordinatesSearchOptions,
|
|
81
|
-
StaticMapMarker,
|
|
82
|
-
StaticMapBaseOptions,
|
|
83
|
-
CenteredStaticMapOptions,
|
|
84
|
-
BoundedStaticMapOptions,
|
|
85
|
-
AutomaticStaticMapOptions,
|
|
86
|
-
FetchFunction,
|
|
87
|
-
LanguageGeocodingString,
|
|
88
|
-
GetDataOptions,
|
|
89
|
-
GeolocationInfoOptions,
|
|
90
|
-
GeolocationResult,
|
|
91
|
-
MapStylePreset,
|
|
92
|
-
MapStyleType,
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
// Exporting classes, objects, functions, etc.
|
|
96
|
-
export {
|
|
97
|
-
config,
|
|
98
|
-
ClientConfig,
|
|
99
|
-
ServiceError,
|
|
100
|
-
geocoding,
|
|
101
|
-
geolocation,
|
|
102
|
-
coordinates,
|
|
103
|
-
data,
|
|
104
|
-
staticMaps,
|
|
105
|
-
LanguageGeocoding,
|
|
106
|
-
MapStyleVariant,
|
|
107
|
-
ReferenceMapStyle,
|
|
108
|
-
mapStylePresetList,
|
|
109
|
-
MapStyle,
|
|
110
|
-
expandMapStyle,
|
|
111
|
-
};
|