Skip to content

Commit

Permalink
chore: 格式化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
谨欣 committed Apr 12, 2024
1 parent ac19b4e commit 195f045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/docs/api/image_layer/source.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ layer.source('https://gw.alipayobjects.com/zos/rmsportal/FnHFeFklTzKDdUESRNDv.jp
[101.229887, 41.572654],
[101.16971, 41.377836],
[100.900015, 41.424628],
]
],
},
});
```
3 changes: 2 additions & 1 deletion site/docs/api/image_layer/source.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ layer.source('https://gw.alipayobjects.com/zos/rmsportal/FnHFeFklTzKDdUESRNDv.jp
},
});
```

也可通过 `coordinates` 指定一系列坐,来定义图片在地图上的不规则形状范围的位置。

```js
Expand All @@ -26,7 +27,7 @@ layer.source('https://gw.alipayobjects.com/zos/rmsportal/FnHFeFklTzKDdUESRNDv.jp
[101.229887, 41.572654],
[101.16971, 41.377836],
[100.900015, 41.424628],
]
],
},
});
```

0 comments on commit 195f045

Please sign in to comment.