Skip to content

Commit

Permalink
chore: 调整默认地图中心
Browse files Browse the repository at this point in the history
  • Loading branch information
85Ryan committed Dec 17, 2024
1 parent 47feea4 commit 091b511
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/logomap.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const logomap = ({ data, pageContext }) => {
const mapRef = useRef()
// 默认的经度、纬度和缩放级别
const defaultViewState = {
longitude: 120,
latitude: 30,
zoom: 2.5
longitude: 0,
latitude: 10,
zoom: 2.2
}
const [viewState, setViewState] = React.useState(defaultViewState)

Expand Down

0 comments on commit 091b511

Please sign in to comment.