Skip to content

Commit 0da3332

Browse files
authored
Merge pull request #17 from OpenICGC/devel
maplibre 5.1.0
2 parents 25f8660 + a15268d commit 0da3332

File tree

12 files changed

+121613
-67681
lines changed

12 files changed

+121613
-67681
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# MapICGC GL JS
1717

1818

19-
> 🌠 __Based on MapLibre GL JS version:__ 4.5.0
19+
> 🌠 __Based on MapLibre GL JS version:__ 5.1.0
2020
2121
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.
2222

dist/index-CFgK05pK.mjs

Lines changed: 114668 additions & 0 deletions
Large diffs are not rendered by default.

dist/index-NFWyDjBL.mjs

Lines changed: 0 additions & 64718 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { p as Ui } from "./index-NFWyDjBL.mjs";
1+
import { p as Ui } from "./index-CFgK05pK.mjs";
22
var Zt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
33
function No(i) {
44
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;

dist/mapicgc-gl.js

Lines changed: 2317 additions & 1208 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mapicgc-gl.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { C as p, a as s, M as r } from "./index-NFWyDjBL.mjs";
1+
import { C as p, a as s, M as r } from "./index-CFgK05pK.mjs";
22
export {
33
p as CompareMaps,
44
s as Config,

dist/mapicgc-gl.umd.js

Lines changed: 2317 additions & 1208 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2165 additions & 536 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "mapicgc-gl-js",
33
"homepage": "https://openicgc.github.io/mapicgc-doc/",
4-
"version": "0.0.96",
4+
"version": "0.0.97",
55
"description": "mapicgc-gl-js library",
66
"author": "Institut Cartogràfic i Geològic de Catalunya",
77
"license": "BSD-3-Clause",
88
"type": "commonjs",
9+
910
"keywords": [
1011
"map",
1112
"js",
@@ -38,7 +39,8 @@
3839
"build": "vite build",
3940
"preview": "vite preview",
4041
"publish": "npm publish --access public",
41-
"setConfig": "node nodeSetConfig.js"
42+
"setConfig": "node nodeSetConfig.js",
43+
"test": "vitest"
4244
},
4345
"devDependencies": {
4446
"@babel/core": "^7.23.9",
@@ -48,26 +50,27 @@
4850
"dotenv": "^16.3.1",
4951
"jest": "29.7.0",
5052
"jsdoc": "^4.0.2",
53+
"jsdom": "^25.0.1",
5154
"npm-run-all": "^4.1.5",
5255
"package-json-versionify": "^1.0.4",
5356
"path": "^0.12.7",
5457
"rollup-plugin-polyfill": "^4.2.0",
5558
"ssh2-sftp-client": "^9.0.4",
5659
"vite": "^5.2.10",
5760
"vite-plugin-node-polyfills": "^0.21.0",
61+
"vitest": "^2.1.8",
5862
"xml2js": "^0.6.2"
5963
},
6064
"dependencies": {
61-
"@deck.gl/core": "~8.9.35",
62-
"@deck.gl/geo-layers": "~8.9.35",
63-
"@deck.gl/mapbox": "~8.9.35",
65+
"@deck.gl/core": "^9.1.3",
66+
"@deck.gl/geo-layers": "^9.1.3",
67+
"@deck.gl/mapbox": "^9.1.3",
6468
"@loaders.gl/3d-tiles": "~3.4.14",
6569
"@maplibre/maplibre-gl-compare": "^0.5.0",
6670
"@maplibre/maplibre-gl-geocoder": "^1.5.0",
6771
"@watergis/maplibre-gl-export": "^3.7.0",
6872
"flatgeobuf": "^3.31.1",
69-
"maplibre-gl": "^4.7.1",
73+
"maplibre-gl": "^5.1.0",
7074
"utm-latlng": "^1.0.8"
71-
7275
}
7376
}

src/map/Map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3258,7 +3258,7 @@ setSky(options) {
32583258
try {
32593259

32603260
if (name == "orto3d") {
3261-
3261+
32623262
this.map.setMaxZoom(18.8);
32633263
this.map.easeTo({ pitch: 45 });
32643264
const ambientLight = new AmbientLight({

0 commit comments

Comments
 (0)