Skip to content

Commit

Permalink
default center of map should be (0,0)
Browse files Browse the repository at this point in the history
  • Loading branch information
erinz2020 committed Jan 30, 2025
1 parent 7e56935 commit 2fb2e7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import Description from "../Form/Description";

export default function SightingsLocationFilter({ onChange, data }) {
const intl = useIntl();
const mapCenterLat = data?.mapCenterLat || 51;
const mapCenterLon = data?.mapCenterLon || 7;
const mapCenterLat = data?.mapCenterLat || 0;
const mapCenterLon = data?.mapCenterLon || 0;
const mapZoom = data?.mapZoom || 4;
const mapKey = data?.googleMapsKey || "";
const mapRef = useRef(null);
Expand Down

0 comments on commit 2fb2e7a

Please sign in to comment.