mirror of https://gitee.com/antv-l7/antv-l7
fix: 更新世界地图数据
This commit is contained in:
parent
c00b10c6d8
commit
3f04f93b81
|
@ -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 ]) {
|
||||
|
|
|
@ -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 ]) {
|
||||
|
|
|
@ -108,7 +108,7 @@ export interface IMapConfig<RawMap = {}> {
|
|||
/**
|
||||
* 底图样式
|
||||
*/
|
||||
style?: string;
|
||||
style?: string | { [key: string]: any };
|
||||
/**
|
||||
* 最小缩放等级
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue