-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patholec3.html
48 lines (47 loc) · 1.35 KB
/
olec3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ol3-Echarts3</title>
<style>
html, body, #map {
height: 100%;
padding: 0;
margin: 0;
width:100%;
}
</style>
<link rel="stylesheet" href="ec3/ol.css" type="text/css">
</head>
<body>
<div id="map"></div>
<script src="ec3/dat.js"></script>
<script src="ec3/ol-debug.js"></script>
<script src="ec3/jquery-2.1.1.min.js"></script>
<script src="ec3/echarts.js"></script>
<script src="ec3/AdvancedMap3.js"></script>
<script>
$(document).ready(function () {
var ext=new ADMap.MigrationLayer({
map:new ol.Map({
target: 'map',
controls: [],
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
})
],
view: new ol.View({
projection:'EPSG:4326',
center: [122.45, 37.75],
zoom: 4
})
}),
echart:echarts,
type:'migration',
source:[['北京', BJData], ['上海', SHData], ['广州', GZData]]
});
});
</script>
</body>
</html>