Skip to content

Commit 9e16af3

Browse files
committed
【update|examples】增加三方软件声明,增加天地图分级显示例子 review by qiwei
1 parent ed38169 commit 9e16af3

File tree

3 files changed

+49
-10
lines changed

3 files changed

+49
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# THIRD-PARTY SOFTWARE OR TECHNOLOGY STATEMENT
2+
3+
- The third-party software or technology (including open source code and public domain code) used in this Software has been legally authorized.
4+
5+
- The third-party software or technology used in this Software is displayed by SuperMap in accordance with relevant regulations or agreements, in the form of the attachment of this agreement, or included in a specific folder of the Software installation package, or through the open source software page, which may be expressed in "Software License Agreement", "License Agreement", "Open Source Code License" or other forms. The aforementioned relevant agreements, documents and web pages displayed in various forms are all integral parts of this agreement, and have the same legal effect as this agreement. You shall comply with these requirements. If not, the third party or national authority may file a lawsuit, fine or take other sanctions against You, and request SuperMap to provide assistance. You should bear Your own legal obligations and responsibilities.
6+
7+
- Any disputes arising from the third-party software or technology used by this Software should be resolved by the third party, SuperMap does not assume any responsibility.

examples/component/components_tianditu_vue.html

+35-10
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@
1919
}
2020
</style>
2121
</head>
22-
23-
<body style=" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;">
22+
<body style="margin: 0; overflow: hidden; background: #fff; width: 100%; height: 100%;">
2423
<div id="main">
25-
<!-- 天地图 -->
2624
<sm-web-map :map-options="mapOptions"></sm-web-map>
2725
</div>
28-
2926
<script>
3027
new Vue({
3128
el: '#main',
@@ -37,34 +34,62 @@
3734
style: {
3835
version: 8,
3936
sources: {
40-
baseLayer: {
37+
baseLayer_img: {
4138
type: 'raster',
4239
tiles: [
4340
'https://t0.tianditu.gov.cn/img_w/wmts?tk=1d109683f4d84198e37a38c442d68311&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}'
4441
],
4542
tileSize: 256
4643
},
47-
labelLayer: {
44+
baseLayer_vec: {
45+
type: 'raster',
46+
tiles: [
47+
'https://t0.tianditu.gov.cn/vec_w/wmts?tk=1d109683f4d84198e37a38c442d68311&service=WMTS&request=GetTile&version=1.0.0&style=default&tilematrixSet=w&format=tiles&width=256&height=256&layer=vec&tilematrix={z}&tilerow={y}&tilecol={x}'
48+
],
49+
tileSize: 256
50+
},
51+
labelLayer_img: {
4852
type: 'raster',
4953
tiles: [
5054
'https://t0.tianditu.gov.cn/cia_w/wmts?tk=1d109683f4d84198e37a38c442d68311&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}'
5155
],
5256
tileSize: 256
57+
},
58+
labelLayer_vec: {
59+
type: 'raster',
60+
tiles: [
61+
'https://t0.tianditu.gov.cn/cva_w/wmts?tk=1d109683f4d84198e37a38c442d68311&service=WMTS&request=GetTile&version=1.0.0&style=default&tilematrixSet=w&format=tiles&width=256&height=256&layer=cva&tilematrix={z}&tilerow={y}&tilecol={x}'
62+
],
63+
tileSize: 256
5364
}
5465
},
5566
layers: [
5667
{
57-
id: 'baseLayer',
68+
id: 'baseLayer_img',
5869
type: 'raster',
59-
source: 'baseLayer',
70+
source: 'baseLayer_img',
6071
minzoom: 0,
72+
maxzoom: 12
73+
},
74+
{
75+
id: 'baseLayer_vec',
76+
type: 'raster',
77+
source: 'baseLayer_vec',
78+
minzoom: 12,
6179
maxzoom: 18
6280
},
6381
{
64-
id: 'labelLayer',
82+
id: 'labelLayer_img',
6583
type: 'raster',
66-
source: 'labelLayer',
84+
source: 'labelLayer_img',
6785
minzoom: 0,
86+
maxzoom: 12
87+
},
88+
{
89+
id: 'labelLayer_vec',
90+
type: 'raster',
91+
source: 'labelLayer_vec',
92+
minzoom: 12,
6893
maxzoom: 18
6994
}
7095
]

第三方软件安全声明.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# 第三方软件或技术声明
2+
3+
- 本软件中所使用的第三方软件或技术(包括开源代码和公共领域代码等),已经获得合法授权。
4+
5+
- 本软件中所使用的第三方软件或技术,北京超图软件股份有限公司按照相关法规或约定,将通过本协议附件、在本软件安装包特定文件夹中打包、或通过开源软件页面等形式进行展示,它们可能会以“软件使用许可协议”、“授权协议”、“开源代码许可证”或其它形式来表达。前述通过各种形式展现的相关协议、其它文件及网页,均是本协议不可分割的组成部分,与本协议具有同等的法律效力,您应当遵守这些要求。如果您没有遵守这些要求,该第三方或者国家机关可能会对你提起诉讼、罚款或采取其它制裁措施,并要求北京超图软件股份有限公司给予协助,您应当自行承担法律责任。
6+
7+
- 如因本软件使用的第三方软件或技术引发的任何纠纷,应由第三方负责解决,北京超图软件股份有限公司不承担任何责任\

0 commit comments

Comments
 (0)