Skip to content

Commit 2fb2e7a

Browse files
committed
default center of map should be (0,0)
1 parent 7e56935 commit 2fb2e7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/components/filterFields/SightingsLocationFilter.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import Description from "../Form/Description";
88

99
export default function SightingsLocationFilter({ onChange, data }) {
1010
const intl = useIntl();
11-
const mapCenterLat = data?.mapCenterLat || 51;
12-
const mapCenterLon = data?.mapCenterLon || 7;
11+
const mapCenterLat = data?.mapCenterLat || 0;
12+
const mapCenterLon = data?.mapCenterLon || 0;
1313
const mapZoom = data?.mapZoom || 4;
1414
const mapKey = data?.googleMapsKey || "";
1515
const mapRef = useRef(null);

0 commit comments

Comments
 (0)