百度地图结合echarts实现飞线
目前很流行的地图轨迹飞线图,咱也来实现一个,使用百度地图和echarts图表实现,示例如下,(其实百度地图api有一个位置数据可视化MapV GL也可实现,需要的小伙伴自行研究)
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>飞线</title>
<style type="text/css">
body {
margin: 0;
border: 0;
overflow: hidden;
}
#map_canvas {
width: 100%;
height: 100%;
position: absolute;
}
</style>
</head>
<body>
<div id="container" style="height