Skip to content

Commit

Permalink
chore: 添加备注
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Oct 26, 2023
1 parent 59b4b86 commit c9ab010
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/li-editor/src/utils/spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ export const getLayersBounds = (layers: LayerSchema[], datasets: EditorDataset[]
(res, b) => {
return [Math.min(res[0], b[0]), Math.min(res[1], b[1]), Math.max(res[2], b[2]), Math.max(res[3], b[3])];
},
// MAX_LONGITUDE, MAX_LATITUDE, MIN_LONGITUDE, MIN_LATITUDE
[180, 90, -180, -90],
);

Expand Down

0 comments on commit c9ab010

Please sign in to comment.