Skip to content

Commit

Permalink
new small features :)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasurgraduate committed Sep 24, 2024
1 parent 221842c commit c5d9164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Map = ({ visitedPlaces, plannedPlaces }) => {

const defaultCenter = isMobile ? [41.505, -0.09] : [41.505, -0.09]; // Adjust for mobile if needed
const defaultZoom = isMobile ? 2.5 : 3.3; // Adjust zoom for mobile
const adjustedCenter = [defaultCenter[0], defaultCenter[1] + (isMobile ? 40 : 65.05)]; // Adjust center position for mobile
const adjustedCenter = [defaultCenter[0], defaultCenter[1] + (isMobile ? 32 : 65.05)]; // Adjust center position for mobile

useEffect(() => {
const map = mapRef.current;
Expand Down

0 comments on commit c5d9164

Please sign in to comment.