docs(example): rm airline demo 数据量容易卡死

This commit is contained in:
thinkinggis 2019-11-26 20:20:30 +08:00
parent 3fec6cfd11
commit 0449c2fd63
3 changed files with 2 additions and 6 deletions

View File

@ -9,11 +9,6 @@
"title": "大圆弧线",
"screenshot": "https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*6Qm_QY69sBMAAAAAAAAAAABkARQnAQ"
},
{
"filename": "arc.js",
"title": "弧线",
"screenshot": "https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*ue-SRJEKUqwAAAAAAAAAAABkARQnAQ"
},
{
"filename": "trip_arc_dark.js",
"title": "3D 弧线",

View File

@ -19,6 +19,7 @@ import { inject, injectable } from 'inversify';
import { IAMapEvent, IAMapInstance } from '../../typings/index';
import { MapTheme } from './theme';
import Viewport from './Viewport';
let mapdivCount = 0;
const AMAP_API_KEY: string = '15cd8a57710d40c9b7c0e3cc120f1200';
const AMAP_VERSION: string = '1.4.15';
@ -341,7 +342,7 @@ export default class AMapService implements IMapService {
height: 100%;
width: 100%;
`;
$amapdiv.id = 'l7_amap_div';
$amapdiv.id = 'l7_amap_div' + mapdivCount++;
$wrapper.appendChild($amapdiv);
return $amapdiv;
}