Skip to content

Commit

Permalink
Updated frontend dependencies + fix map background bug
Browse files Browse the repository at this point in the history
  • Loading branch information
niconoe committed Mar 25, 2024
1 parent 228a9a0 commit 04a4c97
Show file tree
Hide file tree
Showing 4 changed files with 1,323 additions and 1,196 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Current (unreleased)

- Fixed bug with map background (https://github.com/riparias/gbif-alert/issues/276)
- Technical: got rid of webdriver-manager, now using the manager provided by selenium itself
- Technical: updated all backend dependencies
- Technical: updated the frontend dependencies

# v1.7.0 (2023-11-08)

Expand Down
6 changes: 3 additions & 3 deletions assets/ts/map_config.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import TileLayer from "ol/layer/Tile";
import Stamen from "ol/source/Stamen";
import StadiaMaps from 'ol/source/StadiaMaps.js';
import OSM from "ol/source/OSM";
import XYZ from "ol/source/XYZ";
import {BaseLayerEntry} from "./interfaces";

export const osmHotSource = new OSM({
url: "http://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",}
url: "https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",}
)

export const baseLayers = [
{
name: "toner",
layer: new TileLayer({ source: new Stamen({ layer: "toner" }) }),
layer: new TileLayer({ source: new StadiaMaps({ layer: "stamen_toner" }) }),
},
{
name: "osmHot",
Expand Down
Loading

0 comments on commit 04a4c97

Please sign in to comment.