Skip to content

Commit 71ec9d9

Browse files
committed
【update】更新vue-iclient review by qiwei
1 parent 3d0dcc4 commit 71ec9d9

9 files changed

+3454
-423
lines changed

dist/mapboxgl/iclient9-mapboxgl-vue.css

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

dist/mapboxgl/iclient9-mapboxgl-vue.js

Lines changed: 662 additions & 397 deletions
Large diffs are not rendered by default.

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

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

dist/mapboxgl/iclient9-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.

examples/component/components_tianditu_home_vue.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@
8383
<sm-web-map :map-options="mapOptions">
8484
<!-- 天地图路线查询组件: sm-tdt-route
8585
天地图搜索组件:sm-tdt-search -->
86-
<sm-tdt-route position="top-right"></sm-tdt-route>
87-
<sm-tdt-search position="top-right"></sm-tdt-search>
88-
<sm-tdt-map-switcher position="top-right"></sm-tdt-map-switcher>
86+
<sm-tdt-route position="top-right" :data="{tk:tk}"></sm-tdt-route>
87+
<sm-tdt-search position="top-right" :data="{tk:tk}"></sm-tdt-search>
88+
<sm-tdt-map-switcher position="top-right" :data="{tk:tk}"></sm-tdt-map-switcher>
8989
</sm-web-map>
9090
</div>
9191
</div>
@@ -95,6 +95,7 @@
9595
el: '#main',
9696
data() {
9797
return {
98+
tk: '979370626f38396281484293eb175e2e',
9899
mapOptions: {
99100
center: [126.64318, 45.74141],
100101
zoom: 11,

examples/component/components_tianditu_route_vue.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<div id="main" style="position: absolute">
2323
<sm-web-map :map-options="mapOptions">
2424
<!-- 天地图路线查询组件: sm-tdt-route, 参数: token, busUrl, carUrl, searchUrl, position, theme -->
25-
<sm-tdt-route position="top-left"></sm-tdt-route>
25+
<sm-tdt-route position="top-left" :data="{tk:tk}"></sm-tdt-route>
2626
</sm-web-map>
2727
</div>
2828

@@ -31,6 +31,7 @@
3131
el: '#main',
3232
data() {
3333
return {
34+
tk: '979370626f38396281484293eb175e2e',
3435
mapOptions: {
3536
center: [126.64318, 45.74141],
3637
zoom: 11,

examples/component/components_tianditu_search_vue.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<div id="main">
2323
<sm-web-map :map-options="mapOptions">
2424
<!-- 天地图搜索组件:sm-tdt-search -->
25-
<sm-tdt-search position="top-left"></sm-tdt-search>
25+
<sm-tdt-search position="top-left" :data="{tk:tk}"></sm-tdt-search>
2626
</sm-web-map>
2727
</div>
2828

@@ -32,6 +32,7 @@
3232
el: '#main',
3333
data() {
3434
return {
35+
tk: '979370626f38396281484293eb175e2e',
3536
mapOptions: {
3637
center: [126.64318, 45.74141],
3738
zoom: 11,

examples/component/components_tianditu_switch_vue.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
<meta charset="UTF-8" />
88
<title data-i18n="resources.title_componentsTianditu_switch_Vue"></title>
99
<script type="text/javascript" include="vue" src="../js/include-web.js"></script>
10-
<script include="ant-design-vue,iclient9-mapboxgl-vue,mapbox-gl-enhance" src="../../dist/mapboxgl/include-mapboxgl.js"></script>
10+
<script
11+
include="ant-design-vue,iclient9-mapboxgl-vue,mapbox-gl-enhance"
12+
src="../../dist/mapboxgl/include-mapboxgl.js"
13+
></script>
1114
<style>
1215
#main {
1316
margin: 0 auto;
@@ -17,13 +20,11 @@
1720
</style>
1821
</head>
1922

20-
<body
21-
style=" margin: 0;overflow: hidden;background: #fff;color:#000;width: 100%;height:100%;"
22-
>
23+
<body style=" margin: 0;overflow: hidden;background: #fff;color:#000;width: 100%;height:100%;">
2324
<div id="main">
2425
<sm-web-map :map-options="mapOptions">
2526
<!-- 天地图切换组件:sm-tdt-map-switcher -->
26-
<sm-tdt-map-switcher position="top-left"></sm-tdt-map-switcher>
27+
<sm-tdt-map-switcher position="top-left" :data="{tk:tk}"></sm-tdt-map-switcher>
2728
</sm-web-map>
2829
</div>
2930

@@ -41,14 +42,14 @@
4142
baseLayer: {
4243
type: 'raster',
4344
tiles: [
44-
'http://t0.tianditu.com/img_w/wmts?tk=979370626f38396281484293eb175e2e&service=WMTS&request=GetTile&version=1.0.0&style=default&tilematrixSet=w&format=tiles&width=256&height=256&layer=img&tilematrix={z}&tilerow={y}&tilecol={x}',
45+
'http://t0.tianditu.com/img_w/wmts?tk=979370626f38396281484293eb175e2e&service=WMTS&request=GetTile&version=1.0.0&style=default&tilematrixSet=w&format=tiles&width=256&height=256&layer=img&tilematrix={z}&tilerow={y}&tilecol={x}'
4546
],
4647
tileSize: 256
4748
},
4849
labelLayer: {
4950
type: 'raster',
5051
tiles: [
51-
'http://t0.tianditu.com/cia_w/wmts?tk=979370626f38396281484293eb175e2e&service=WMTS&request=GetTile&version=1.0.0&style=default&tilematrixSet=w&format=tiles&width=256&height=256&layer=cia&tilematrix={z}&tilerow={y}&tilecol={x}',
52+
'http://t0.tianditu.com/cia_w/wmts?tk=979370626f38396281484293eb175e2e&service=WMTS&request=GetTile&version=1.0.0&style=default&tilematrixSet=w&format=tiles&width=256&height=256&layer=cia&tilematrix={z}&tilerow={y}&tilecol={x}'
5253
],
5354
tileSize: 256
5455
}
@@ -71,7 +72,8 @@
7172
]
7273
},
7374
renderWorldCopies: false
74-
}
75+
},
76+
tk: '979370626f38396281484293eb175e2e'
7577
};
7678
}
7779
});

examples/component/config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ var exampleConfig = {
291291
chart: {
292292
name: '图表',
293293
name_en: 'Chart',
294+
localIgnore: true,
294295
content: [
295296
{
296297
name: '图表',
@@ -328,6 +329,7 @@ var exampleConfig = {
328329
},
329330
basic: {
330331
name: '基础',
332+
localIgnore: true,
331333
name_en: 'Basic component',
332334
content: [
333335
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy