Skip to content

Commit bd8cf93

Browse files
wujighostkinglzxuegemini-code-assist[bot]
authored
docs: remove the redundant semicolons (#2796)
* docs: remove the redundant semicolons * Apply suggestions from code review Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: @thinkingGIS <lzx199065@gmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent f477578 commit bd8cf93

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

site/docs/tutorial/map/tianditu.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const scene = new Scene({
2828
});
2929
scene.on('loaded', () => {
3030
// 底图服务
31-
const baseLayer = new RasterLayer({ zIndex: 1 });
31+
const baseLayer = new RasterLayer({ zIndex: 1 })
3232
.source(
3333
'https://t1.tianditu.gov.cn/DataServer?T=vec_w&X={x}&Y={y}&L={z}&tk=6557fd8a19b09d6e91ae6abf9d13ccbd',
3434
{
@@ -39,7 +39,7 @@ scene.on('loaded', () => {
3939
}
4040
);
4141
// 注记服务
42-
const annotionLayer = new RasterLayer({ zIndex: 2 });
42+
const annotationLayer = new RasterLayer({ zIndex: 2 })
4343
.source(
4444
'https://t1.tianditu.gov.cn/DataServer?T=cva_w&X={x}&Y={y}&L={z}&tk=6557fd8a19b09d6e91ae6abf9d13ccbd',
4545
{

site/docs/tutorial/map/tianditu.zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const scene = new Scene({
2828
});
2929
scene.on('loaded', () => {
3030
// 底图服务
31-
const baseLayer = new RasterLayer({ zIndex: 1 });
31+
const baseLayer = new RasterLayer({ zIndex: 1 })
3232
.source(
3333
'https://t1.tianditu.gov.cn/DataServer?T=vec_w&X={x}&Y={y}&L={z}&tk=6557fd8a19b09d6e91ae6abf9d13ccbd',
3434
{
@@ -39,7 +39,7 @@ scene.on('loaded', () => {
3939
}
4040
);
4141
// 注记服务
42-
const annotionLayer = new RasterLayer({ zIndex: 2 });
42+
const annotionLayer = new RasterLayer({ zIndex: 2 })
4343
.source(
4444
'https://t1.tianditu.gov.cn/DataServer?T=cva_w&X={x}&Y={y}&L={z}&tk=6557fd8a19b09d6e91ae6abf9d13ccbd',
4545
{

0 commit comments

Comments
 (0)