Skip to content

Commit

Permalink
change default baselayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcrb3 committed Jun 14, 2024
1 parent 2b17001 commit bccc0e3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
}
</style>

<script type="module" crossorigin src="/assets/index-B2z3WzQw.js"></script>
<script type="module" crossorigin src="/assets/index-Dzs1S6jP.js"></script>
</head>

<body>
Expand All @@ -428,9 +428,9 @@
<div id="layers2">
<div class="base">Base de referència:</div>
<select id="serveiSelector2" onchange="onBaseChange()">
<option selected value="fosc">Mapa fosc</option>
<option value="fosc">Mapa fosc</option>
<option value="orto">Ortofoto</option>
<option value="topo">Topogràfic</option>
<option selected value="topo">Topogràfic</option>
</select>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,9 @@
<div id="layers2">
<div class="base">Base de referència:</div>
<select id="serveiSelector2" onchange="onBaseChange()">
<option selected value="fosc">Mapa fosc</option>
<option value="fosc">Mapa fosc</option>
<option value="orto">Ortofoto</option>
<option value="topo">Topogràfic</option>
<option selected value="topo">Topogràfic</option>
</select>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ function initMap() {
map = new maplibregl.Map({
container: "map",
style:
"https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
"https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard_general.json",
center: [2.0042, 41.7747],
zoom: 7,
maxZoom: 18,
Expand Down

0 comments on commit bccc0e3

Please sign in to comment.