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 }; /** * 最小缩放等级 */