forked from SuperMap/iClient-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathl_identify_vue.html
More file actions
36 lines (34 loc) · 1.28 KB
/
l_identify_vue.html
File metadata and controls
36 lines (34 loc) · 1.28 KB
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
<!--********************************************************************
* Copyright© 2000 - 2021 SuperMap Software Co.Ltd. All rights reserved.
*********************************************************************-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title data-i18n="resources.title_componentsIdentify_Vue"></title>
<script type="text/javascript" include="vue" src="../js/include-web.js"></script>
<script include="iclient-leaflet-vue" src="../../dist/leaflet/include-leaflet.js"></script>
<style>
#main {
margin: 0 auto;
width: 100%;
height: 100%;
}
</style>
</head>
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
<div id="main">
<sm-web-map server-url="https://iportal.supermap.io/iportal" map-id="801571284">
<sm-identify :layer-names="['民航数据']"></sm-identify>
</sm-web-map>
</div>
<script>
new Vue({
el: '#main',
mounted() {
this.$message.info(resources.msg_clickLayerToPopup);
}
});
</script>
</body>
</html>