From 3f04f93b81d6a216c002adc4218d76167f68aa5d Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Fri, 10 Jan 2020 11:20:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E4=B8=96=E7=95=8C?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/gallery/animate/demo/world.js | 2 +- examples/gallery/animate/demo/world2.js | 2 +- packages/core/src/services/map/IMapService.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/gallery/animate/demo/world.js b/examples/gallery/animate/demo/world.js index 76723065f3..97118c1a26 100644 --- a/examples/gallery/animate/demo/world.js +++ b/examples/gallery/animate/demo/world.js @@ -27,7 +27,7 @@ const scene = new Scene({ }) }); Promise.all([ - fetch('https://gw.alipayobjects.com/os/antvdemo/assets/data/world.geo.json').then(d => d.json()), + fetch('https://gw.alipayobjects.com/os/basement_prod/dbd008f1-9189-461c-88aa-569357ffc07d.json').then(d => d.json()), fetch('https://gw.alipayobjects.com/os/basement_prod/4472780b-fea1-4fc2-9e4b-3ca716933dc7.json').then(d => d.text()), fetch('https://gw.alipayobjects.com/os/basement_prod/a5ac7bce-181b-40d1-8a16-271356264ad8.json').then(d => d.text()) ]).then(function onLoad([ world, dot, flyline ]) { diff --git a/examples/gallery/animate/demo/world2.js b/examples/gallery/animate/demo/world2.js index 565996ee40..35f81e1ead 100644 --- a/examples/gallery/animate/demo/world2.js +++ b/examples/gallery/animate/demo/world2.js @@ -27,7 +27,7 @@ const scene = new Scene({ }) }); Promise.all([ - fetch('https://gw.alipayobjects.com/os/antvdemo/assets/data/world.geo.json').then(d => d.json()), + fetch('https://gw.alipayobjects.com/os/basement_prod/dbd008f1-9189-461c-88aa-569357ffc07d.json').then(d => d.json()), fetch('https://gw.alipayobjects.com/os/basement_prod/4472780b-fea1-4fc2-9e4b-3ca716933dc7.json').then(d => d.text()), fetch('https://gw.alipayobjects.com/os/basement_prod/a5ac7bce-181b-40d1-8a16-271356264ad8.json').then(d => d.text()) ]).then(function onLoad([ world, dot, flyline ]) { diff --git a/packages/core/src/services/map/IMapService.ts b/packages/core/src/services/map/IMapService.ts index 42a41b2a41..c4af094802 100644 --- a/packages/core/src/services/map/IMapService.ts +++ b/packages/core/src/services/map/IMapService.ts @@ -108,7 +108,7 @@ export interface IMapConfig { /** * 底图样式 */ - style?: string; + style?: string | { [key: string]: any }; /** * 最小缩放等级 */