From 195f045dcc8adc978539a38045a71d980af12d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A8=E6=AC=A3?= Date: Fri, 12 Apr 2024 16:28:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/docs/api/image_layer/source.en.md | 2 +- site/docs/api/image_layer/source.zh.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/site/docs/api/image_layer/source.en.md b/site/docs/api/image_layer/source.en.md index a5abb7ca78..a4dc2d36ba 100644 --- a/site/docs/api/image_layer/source.en.md +++ b/site/docs/api/image_layer/source.en.md @@ -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], - ] + ], }, }); ``` diff --git a/site/docs/api/image_layer/source.zh.md b/site/docs/api/image_layer/source.zh.md index f3b053e2df..74cb4cc3aa 100644 --- a/site/docs/api/image_layer/source.zh.md +++ b/site/docs/api/image_layer/source.zh.md @@ -15,6 +15,7 @@ layer.source('https://gw.alipayobjects.com/zos/rmsportal/FnHFeFklTzKDdUESRNDv.jp }, }); ``` + 也可通过 `coordinates` 指定一系列坐,来定义图片在地图上的不规则形状范围的位置。 ```js @@ -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], - ] + ], }, }); ```