mapicgc-gl-js 0.0.78 → 0.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm-publish.yml +2 -2
- package/README.md +13 -10
- package/dist/{html2canvas.esm-DbilGY6A-DB3xAFLF.mjs → html2canvas.esm-CKxSAI8P-DSC9_HHp.mjs} +2 -2
- package/dist/{index-k0DrX4BJ.mjs → index-58U3KmRv.mjs} +20029 -20169
- package/dist/{index.es-BR8y8uSW-D6xEGnjs.mjs → index.es-BWyxJuJN-BMkqIbwq.mjs} +3 -4
- package/dist/mapicgc-gl.js +206 -206
- package/dist/mapicgc-gl.mjs +1 -1
- package/dist/mapicgc-gl.umd.js +206 -206
- package/dist/purify.es-CLxMp-4V-DmiRgNNX.mjs +476 -0
- package/package.json +2 -2
- package/src/map/Map.js +1 -0
- package/src/mapicgc-config.json +13 -3
- package/test/exemples/addVectorLayerICGC.html +6 -6
- package/dist/purify.es-C-d0AVPf-BZqXIm-R.mjs +0 -464
|
@@ -14,7 +14,7 @@ jobs:
|
|
|
14
14
|
- uses: actions/checkout@v3
|
|
15
15
|
- uses: actions/setup-node@v3
|
|
16
16
|
with:
|
|
17
|
-
node-version:
|
|
17
|
+
node-version: 20
|
|
18
18
|
- run: npm ci
|
|
19
19
|
- run: npm test
|
|
20
20
|
|
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
- uses: actions/checkout@v3
|
|
26
26
|
- uses: actions/setup-node@v3
|
|
27
27
|
with:
|
|
28
|
-
node-version:
|
|
28
|
+
node-version: 20
|
|
29
29
|
registry-url: https://npm.pkg.github.com/
|
|
30
30
|
scope: '@unitatgeostart'
|
|
31
31
|
- run: npm ci
|
package/README.md
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
<
|
|
1
|
+
<div style="text-align:center">
|
|
2
|
+
<p>
|
|
2
3
|
<img src="https://tilemaps.icgc.cat/cdn/images/logo2.png" alt="MapICGC Logo" width="400px">
|
|
3
4
|
</p>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div style="text-align:center">
|
|
8
|
+
|
|
9
|
+
[](LICENSE.txt)
|
|
10
|
+
[](https://www.npmjs.com/package/mapicgc-gl-js)
|
|
11
|
+
[](https://twitter.com/icgcat)
|
|
12
|
+
<img src="https://tilemaps.icgc.cat/cdn/images/JS-logo.svg" width="20px"/>
|
|
13
|
+
</div>
|
|
11
14
|
|
|
12
|
-
<br>
|
|
13
15
|
|
|
14
16
|
# MapICGC GL JS
|
|
15
17
|
|
|
@@ -18,7 +20,7 @@
|
|
|
18
20
|
|
|
19
21
|
The MapICGC GL JS library builds upon the open-source library [**MapLibre GL JS**](https://github.com/maplibre/maplibre-gl-js), exposing its existing capabilities while introducing new features specific to the MapICGC ecosystem. This library is tailored to seamlessly integrate with the MapICGC Cloud service, offering a comprehensive set of data to enhance web mapping experiences, including vector tiles, satellite raster tiles, DEM with Terrain RGB, and customizable styles with an editor.
|
|
20
22
|
|
|
21
|
-
Our goal is to simplify the development process for MapICGC developers! With MapICGC GL JS, you won't need to load external plugins for basic functionalities, deal with complex data source URLs, or search for syntax to enable 3D terrain every time you embark on a project. All these features are either built-in, loaded dynamically when necessary, or accessible through straightforward functions.
|
|
23
|
+
Our goal is to simplify the development process for MapICGC developers! With MapICGC GL JS, you won't need to load external plugins for basic functionalities, deal with complex data source URLs, or search for syntax to enable 3D terrain every time you embark on a project. All these features are either built-in, loaded dynamically when necessary, or accessible through straightforward functions.
|
|
22
24
|
|
|
23
25
|
Moreover, MapICGC GL JS provides well-documented and user-friendly wrapper functions for MapICGC Cloud API services, including geocoding, static maps, geolocation, and a coordinate reference system search engine for transforming coordinates between different CRSs.
|
|
24
26
|
|
|
@@ -49,6 +51,7 @@ Check out the features through <a href="https://codepen.io/collection/mrvVZd" ta
|
|
|
49
51
|
<script>
|
|
50
52
|
import { Map, Config } from "mapicgc-gl-js";
|
|
51
53
|
//import * as mapicgcgl from "mapicgc-gl-js";
|
|
54
|
+
|
|
52
55
|
|
|
53
56
|
async function initMap() {
|
|
54
57
|
const data = await Config.getConfigICGC(); //load config
|
package/dist/{html2canvas.esm-DbilGY6A-DB3xAFLF.mjs → html2canvas.esm-CKxSAI8P-DSC9_HHp.mjs}
RENAMED
|
@@ -70,7 +70,7 @@ function X(e, A, r, t) {
|
|
|
70
70
|
function a(Q) {
|
|
71
71
|
Q.done ? n(Q.value) : B(Q.value).then(i, o);
|
|
72
72
|
}
|
|
73
|
-
a((t = t.apply(e,
|
|
73
|
+
a((t = t.apply(e, [])).next());
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
76
|
function N(e, A) {
|
|
@@ -154,7 +154,7 @@ function N(e, A) {
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
function le(e, A, r) {
|
|
157
|
-
if (
|
|
157
|
+
if (arguments.length === 2)
|
|
158
158
|
for (var t = 0, B = A.length, n; t < B; t++)
|
|
159
159
|
(n || !(t in A)) && (n || (n = Array.prototype.slice.call(A, 0, t)), n[t] = A[t]);
|
|
160
160
|
return e.concat(n || A);
|