Skip to content

Commit

Permalink
New start and ziel icons
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheppner committed Aug 18, 2024
1 parent 12bbd7d commit 38bd230
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Binary file modified public/img/startpunkt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/img/zielpunkt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/components/InteractiveMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export default function InteractiveMap({ tourTitle, gpxPositions, anreiseGpxPosi

const startIcon = L.icon({
iconUrl: '/app_static/img/startpunkt.png',
iconSize: [30, 40],
iconAnchor: [15, 41],
iconSize: [33, 45],
iconAnchor: [16, 46],
});
const endIcon = L.icon({
iconUrl: '/app_static/img/zielpunkt.png',
iconSize: [30, 40],
iconAnchor: [15, 41],
iconSize: [33, 45],
iconAnchor: [16, 46],
});

const StartMarker = ({ position }) => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Map/TourMapContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ function TourMapContainer({
return L.icon({
iconUrl: "app_static/img/startpunkt.png", //the acutal picture
// shadowUrl: "app_static/img/pin-shadow.png", //the shadow of the icon
iconSize: [30, 40], //size of the icon
iconAnchor: [15, 41],
iconSize: [33, 45], //size of the icon
iconAnchor: [16, 46],
});
};

Expand Down

0 comments on commit 38bd230

Please sign in to comment.