12345678910111213141516171819202122232425262728293031323334353637383940 |
- <!--********************************************************************
- * 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-mapboxgl-vue,mapbox-gl-enhance"
- src="../../dist/mapboxgl/include-mapboxgl.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 -->
- <sm-identify :layers="['民航数据']"></sm-identify>
- </sm-web-map>
- </div>
- <script>
- new Vue({
- el: '#main',
- mounted() {
- this.$message.info(resources.msg_clickLayerToPopup);
- }
- });
- </script>
- </body>
- </html>
|