From 2f9b7f48bcbf555a20d75e6dca341e4a207c5e15 Mon Sep 17 00:00:00 2001 From: tim-herbst Date: Sun, 17 Jan 2021 11:18:48 +0100 Subject: [PATCH] adjust popup-anchor in for map-station-popup --- projects/project-3/frontend/src/app/service/map.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/project-3/frontend/src/app/service/map.service.ts b/projects/project-3/frontend/src/app/service/map.service.ts index d91ac47..6760a98 100644 --- a/projects/project-3/frontend/src/app/service/map.service.ts +++ b/projects/project-3/frontend/src/app/service/map.service.ts @@ -13,7 +13,7 @@ const createIcon = color => L.icon({ iconUrl: `../../assets/bike-point-${color}.png`, iconSize: [45, 45], iconAnchor: [23, 36], - popupAnchor: [1, -35] + popupAnchor: [0, -29] }); @Injectable({