Skip to content

Commit aec89c4

Browse files
【feature】新增vue-mapboxgl点选组件范例 review by songym
1 parent c261863 commit aec89c4

File tree

9 files changed

+3682
-1022
lines changed

9 files changed

+3682
-1022
lines changed

dist/mapboxgl/iclient-mapboxgl-vue.css

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mapboxgl/iclient-mapboxgl-vue.js

Lines changed: 3621 additions & 1009 deletions
Large diffs are not rendered by default.

dist/mapboxgl/iclient-mapboxgl-vue.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mapboxgl/iclient-mapboxgl-vue.min.js

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!--********************************************************************
2+
* Copyright© 2000 - 2019 SuperMap Software Co.Ltd. All rights reserved.
3+
*********************************************************************-->
4+
<!DOCTYPE html>
5+
<html>
6+
<head>
7+
<meta charset="UTF-8" />
8+
<title data-i18n="resources.title_componentsIdentify_Vue"></title>
9+
<script type="text/javascript" include="vue" src="../js/include-web.js"></script>
10+
<script
11+
include="ant-design-vue,iclient-mapboxgl-vue,mapbox-gl-enhance"
12+
src="../../dist/mapboxgl/include-mapboxgl.js"
13+
></script>
14+
<style>
15+
#main {
16+
margin: 0 auto;
17+
width: 100%;
18+
height: 100%;
19+
}
20+
</style>
21+
</head>
22+
23+
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0;">
24+
<div id="main">
25+
<sm-web-map server-url="http://support.supermap.com.cn:8092/" map-id="1649097980">
26+
<!-- 点选查询组件: sm-identify -->
27+
<sm-identify :layers="['民航数']"></sm-identify>
28+
</sm-web-map>
29+
</div>
30+
31+
<script>
32+
new Vue({
33+
el: '#main'
34+
});
35+
</script>
36+
</body>
37+
</html>

examples/component/config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,13 @@ var exampleConfig = {
130130
version: '10.0.0',
131131
thumbnail: 'components_openfile_vue.png',
132132
fileName: 'components_openfile_vue'
133+
},
134+
{
135+
name: '点选查询',
136+
name_en: 'Identify',
137+
version: '10.0.0',
138+
thumbnail: 'components_identify_vue.png',
139+
fileName: 'components_identify_vue'
133140
}
134141
]
135142
},
45.6 KB
Loading

examples/locales/en-US/resources.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ window.examplesResources = {
598598
"title_componentsAnimateMarkerLayer_Vue": 'Animate Marker Layer(Vue)',
599599
"title_componentsAnimateTextLayer_Vue": 'Animate Text Layer(Vue)',
600600
"title_componentsBorder_Vue": 'Border component',
601+
"title_componentsIdentify_Vue": 'Identify component(Vue)',
601602
"title_componentsWebmap_React": 'iPortal Map component(React)',
602603
"title_componentsMap_React": 'iServer Map component(React)',
603604
"title_componentsRasterTile_React": 'Raster Layer component(React)',

examples/locales/zh-CN/resources.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ window.examplesResources = {
544544
"title_componentsAnimateMarkerLayer_Vue": '动效标记图层',
545545
"title_componentsAnimateTextLayer_Vue": '动效文本标记图层',
546546
"title_componentsBorder_Vue": '边框组件',
547+
"title_componentsIdentify_Vue": '点选查询组件(Vue)',
547548
"title_componentsTianditu_Vue": '天地图',
548549
"title_componentsTianditu_route_Vue": '路线规划',
549550
"title_componentsTianditu_search_Vue": 'POI搜索',

0 commit comments

Comments
 (0)