[go: up one dir, main page]

Skip to content

Commit

Permalink
feat(playground): change the mock coordinate parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
CofCat456 committed Aug 8, 2023
1 parent ffb3358 commit 3557c20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playground/src/mock.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export function createRandomCoordinate() {
const randomLat = 24 + Math.random();
const randomLng = 121 + Math.random();
const randomLat = 22 + Math.random() * 3;
const randomLng = 120.5 + Math.random();

const lat = Number.parseFloat(randomLat.toFixed(6));
const lng = Number.parseFloat(randomLng.toFixed(6));
Expand Down

0 comments on commit 3557c20

Please sign in to comment.