From 3aaf95e27fdd96257a662928964baffed1c1095d Mon Sep 17 00:00:00 2001 From: PudgeWL Date: Sat, 20 Feb 2021 22:01:00 +0800 Subject: [PATCH 1/2] fix: GaodeMap options style -> mapStyle style: 'dark' is not work, use mapStyle instead. --- docs/tutorial/quickstart.zh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/quickstart.zh.md b/docs/tutorial/quickstart.zh.md index 392f7c7774..a0f746c324 100644 --- a/docs/tutorial/quickstart.zh.md +++ b/docs/tutorial/quickstart.zh.md @@ -61,7 +61,7 @@ const scene = new Scene({ id: 'map', map: new GaodeMap({ pitch: 35.210526315789465, - style: 'dark', + mapStyle: 'dark', center: [ 104.288144, 31.239692 ], zoom: 4.4 }) From fcec9a334f618fd4e43e92e999e0ab4147a8e4f6 Mon Sep 17 00:00:00 2001 From: PudgeWL Date: Sat, 20 Feb 2021 22:18:58 +0800 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20=E4=BF=AE=E5=A4=8D=E9=AB=98?= =?UTF-8?q?=E5=BE=B7=E5=9C=B0=E5=9B=BE=20style=20key=20=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/tutorial/quickstart.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/quickstart.en.md b/docs/tutorial/quickstart.en.md index e3fdbb54ff..293e4db16a 100644 --- a/docs/tutorial/quickstart.en.md +++ b/docs/tutorial/quickstart.en.md @@ -55,7 +55,7 @@ const scene = new Scene({ id: 'map', map: new GaodeMap({ pitch: 35.210526315789465, - style: 'dark', + mapStyle: 'dark', center: [ 104.288144, 31.239692 ], zoom: 4.4 })