Skip to content

Commit 6e03cda

Browse files
authored
Merge pull request #6 from OpenICGC/devel
canvi url styles
2 parents 4b359ba + 3c90cee commit 6e03cda

14 files changed

+298
-218
lines changed

dist/index-DScdZFZm.mjs renamed to dist/index-ChqpbeXL.mjs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -58966,7 +58966,7 @@ function(n) {
5896658966
*/
5896758967
function(n) {
5896858968
function e() {
58969-
return (Rn.canvg ? Promise.resolve(Rn.canvg) : import("./index.es-BWyxJuJN-B8aWB3kW.mjs")).catch(function(t) {
58969+
return (Rn.canvg ? Promise.resolve(Rn.canvg) : import("./index.es-BWyxJuJN-FEZKbvRu.mjs")).catch(function(t) {
5897058970
return Promise.reject(new Error("Could not load canvg: " + t));
5897158971
}).then(function(t) {
5897258972
return t.default ? t.default : t;
@@ -61494,7 +61494,7 @@ const xq = /* @__PURE__ */ Ap(bq), wq = {
6149461494
bearing: 0,
6149561495
pitch: 0,
6149661496
hash: !1,
61497-
style: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json.json",
61497+
style: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_gris.json.json",
6149861498
maxZoom: 18,
6149961499
maxPitch: 85
6150061500
},
@@ -61530,42 +61530,42 @@ const xq = /* @__PURE__ */ Ap(bq), wq = {
6153061530
baseStyles: [
6153161531
{
6153261532
key: "TOPO",
61533-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard_general.json",
61533+
url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_topografic.json",
6153461534
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_estandard.png"
6153561535
},
6153661536
{
6153761537
key: "ORTO",
61538-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_estandard.json",
61539-
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png"
61538+
url: "https://geoserveis.icgc.cat/styles/icgc_orto_estandard.json",
61539+
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_estandard.png"
6154061540
},
6154161541
{
6154261542
key: "ORTO3D",
6154361543
url: "https://tilemaps.icgc.cat/cdn/styles/icgc_orto_3d.json",
61544-
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png"
61544+
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_estandard.png"
6154561545
},
6154661546
{
6154761547
key: "ORTOHYBRID",
61548-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_hibrida.json",
61548+
url: "https://geoserveis.icgc.cat/styles/icgc_orto_hibrida.json",
6154961549
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png"
6155061550
},
6155161551
{
6155261552
key: "ADMIN",
61553-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json",
61553+
url: "https://geoserveis.icgc.cat/styles/icgc_limits_administratius_gris.json",
6155461554
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_delimitacio_limits_administratius.png"
6155561555
},
6155661556
{
6155761557
key: "DARK",
61558-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
61558+
url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_fosc.json",
6155961559
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_fosc.png"
6156061560
},
6156161561
{
6156261562
key: "LIGHT",
61563-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json",
61563+
url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_gris.json",
6156461564
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_gris.png"
6156561565
},
6156661566
{
6156761567
key: "GEOLOGY",
61568-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_geologic_informacio.json",
61568+
url: "https://geoserveis.icgc.cat/styles/icgc_geologic_informacio.json",
6156961569
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_geologic_informacio.png"
6157061570
}
6157161571
],
@@ -62305,14 +62305,14 @@ const xq = /* @__PURE__ */ Ap(bq), wq = {
6230562305
}
6230662306
]
6230762307
}, Aq = {
62308-
TOPO: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard_general.json",
62309-
ORTO: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_estandard.json",
62308+
TOPO: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_topografic.json",
62309+
ORTO: "https://geoserveis.icgc.cat/styles/icgc_orto_estandard.json",
6231062310
ORTO3D: "https://tilemaps.icgc.cat/cdn/styles/icgc_orto_3d.json",
62311-
ORTOHYBRID: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_hibrida.json",
62312-
ADMIN: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json",
62313-
DARK: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
62314-
LIGHT: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json",
62315-
GEOLOGY: "https://geoserveis.icgc.cat/contextmaps/icgc_geologic_informacio.json"
62311+
ORTOHYBRID: "https://geoserveis.icgc.cat/styles/icgc_orto_hibrida.json",
62312+
ADMIN: "https://geoserveis.icgc.cat/styles/icgc_limits_administratius_gris.json",
62313+
DARK: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_fosc.json",
62314+
LIGHT: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_gris.json",
62315+
GEOLOGY: "https://geoserveis.icgc.cat/styles/icgc_geologic_informacio.json"
6231662316
}, Eq = {
6231762317
ICGC5M: "https://tilemaps.icgc.cat/tileserver/tileserver/terreny-5m-30m-rgb-extent/{z}/{x}/{y}.png",
6231862318
WORLD30M: "https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png"

dist/index.es-BWyxJuJN-B8aWB3kW.mjs renamed to dist/index.es-BWyxJuJN-FEZKbvRu.mjs

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-DScdZFZm.mjs";
1+
import { p as Ui } from "./index-ChqpbeXL.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: 1 addition & 1 deletion
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-DScdZFZm.mjs";
1+
import { C as p, a as s, M as r } from "./index-ChqpbeXL.mjs";
22
export {
33
p as CompareMaps,
44
s as Config,

dist/mapicgc-gl.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodeSetConfig.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,14 @@ async function getVectorLimitsLayers() {
192192
try {
193193

194194
let test= [
195-
{ key: "TOPO", url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard.json",image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_estandard.png" },
196-
{ key: "ORTO", url: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_estandard.json" , image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_estandard.png"},
195+
{ key: "TOPO", url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_topografic.json",image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_estandard.png" },
196+
{ key: "ORTO", url: "https://geoserveis.icgc.cat/styles/icgc_orto_estandard.json" , image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_estandard.png"},
197197
{ key: "ORTO3D", url: "https://tilemaps.icgc.cat/cdn/styles/icgc_orto_3d.json" , image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_estandard.png"},
198-
{ key: "ORTOHYBRID", url: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_hibrida.json" , image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png"},
199-
{ key: "ADMIN", url: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json" , image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_delimitacio_limits_administratius.png"},
200-
{ key: "DARK", url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json" , image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_fosc.png"},
201-
{ key: "LIGHT", url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json", image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_gris.png" },
202-
{ key: "GEOLOGY", url: "https://geoserveis.icgc.cat/contextmaps/icgc_geologic_informacio.json", image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_geologic_informacio.png" },
198+
{ key: "ORTOHYBRID", url: "https://geoserveis.icgc.cat/styles/icgc_orto_hibrida.json" , image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png"},
199+
{ key: "ADMIN", url: "https://geoserveis.icgc.cat/styles/icgc_limits_administratius_gris.json" , image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_delimitacio_limits_administratius.png"},
200+
{ key: "DARK", url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_fosc.json" , image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_fosc.png"},
201+
{ key: "LIGHT", url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_gris.json", image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_gris.png" },
202+
{ key: "GEOLOGY", url: "https://geoserveis.icgc.cat/styles/icgc_geologic_informacio.json", image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_geologic_informacio.png" },
203203

204204
]
205205
stylesOptions = test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mapicgc-gl-js",
33
"homepage": "https://openicgc.github.io/mapicgc-doc/",
4-
"version": "0.0.85",
4+
"version": "0.0.86",
55
"description": "mapicgc-gl-js library",
66
"author": "Institut Cartogràfic i Geològic de Catalunya",
77
"license": "BSD-3-Clause",

src/config-out.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mapOptions: {
1717
bearing: 0,
1818
pitch: 0,
1919
hash: false,
20-
style: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json.json",
20+
style: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_gris.json.json",
2121
maxZoom: 18,
2222
maxPitch: 85,
2323
},
@@ -53,12 +53,12 @@ map3dOptions: {
5353
baseStyles: {
5454
0: {
5555
key: "TOPO",
56-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard.json",
56+
url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_topografic.json",
5757
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_estandard.png",
5858
},
5959
1: {
6060
key: "ORTO",
61-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_estandard.json",
61+
url: "https://geoserveis.icgc.cat/styles/icgc_orto_estandard.json",
6262
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_estandard.png",
6363
},
6464
2: {
@@ -68,27 +68,27 @@ baseStyles: {
6868
},
6969
3: {
7070
key: "ORTOHYBRID",
71-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_hibrida.json",
71+
url: "https://geoserveis.icgc.cat/styles/icgc_orto_hibrida.json",
7272
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png",
7373
},
7474
4: {
7575
key: "ADMIN",
76-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json",
76+
url: "https://geoserveis.icgc.cat/styles/icgc_limits_administratius_gris.json",
7777
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_delimitacio_limits_administratius.png",
7878
},
7979
5: {
8080
key: "DARK",
81-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
81+
url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_fosc.json",
8282
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_fosc.png",
8383
},
8484
6: {
8585
key: "LIGHT",
86-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json",
86+
url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_gris.json",
8787
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_gris.png",
8888
},
8989
7: {
9090
key: "GEOLOGY",
91-
url: "https://geoserveis.icgc.cat/contextmaps/icgc_geologic_informacio.json",
91+
url: "https://geoserveis.icgc.cat/styles/icgc_geologic_informacio.json",
9292
image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_geologic_informacio.png",
9393
},
9494
},

0 commit comments

Comments
 (0)