From 734d0fb9931ec316840a4ef6b1024357414112db Mon Sep 17 00:00:00 2001 From: petrkucerak Date: Wed, 1 May 2024 12:53:25 +0200 Subject: [PATCH 1/2] Add mapy.cz tiles --- components/map.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/map.js b/components/map.js index 9634c886..7073ca9b 100644 --- a/components/map.js +++ b/components/map.js @@ -7,6 +7,7 @@ import MapToilets from "../components/map-toilets"; import MapPicker from "./map-picker"; export default function Map() { + const API_KEY="0pDMFK05UmFV-CqGrkNGlwvIIquKNNSwUaFxI2ZLXQo" return ( @@ -25,6 +26,7 @@ export default function Map() { rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet.locatecontrol@0.76.0/dist/L.Control.Locate.min.css" /> + Mapy.cz logo ); } From 12f3e4ce8f86c3d605afc52a83a4d9420a718878 Mon Sep 17 00:00:00 2001 From: petrkucerak Date: Wed, 1 May 2024 12:56:45 +0200 Subject: [PATCH 2/2] Use rel="noreferrer" with target="_blank" links --- components/map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/map.js b/components/map.js index 7073ca9b..a4fa6640 100644 --- a/components/map.js +++ b/components/map.js @@ -17,7 +17,7 @@ export default function Map() { > @@ -26,7 +26,7 @@ export default function Map() { rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet.locatecontrol@0.76.0/dist/L.Control.Locate.min.css" /> - Mapy.cz logo + Mapy.cz logo ); }