mirage2d 1.2.39 → 1.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Enum/typeEnum.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class WmtsLayer extends baseTileLayer {
|
|
|
13
13
|
* WmtsLayer
|
|
14
14
|
* @template {Options} Options
|
|
15
15
|
* @param {string} [layerid='ImageWMSLayer'] 默认图层id
|
|
16
|
-
* @param {IWmtsLayerOption}
|
|
16
|
+
* @param {IWmtsLayerOption} Options 配置项
|
|
17
17
|
*/
|
|
18
18
|
constructor(layerid: string, Options: IWmtsLayerOption);
|
|
19
19
|
}
|
|
@@ -157,11 +157,30 @@ export interface IGeoImageLayerOption extends ITileLayerOption {
|
|
|
157
157
|
imageMask?: Coordinate[];
|
|
158
158
|
hashEdit?: boolean;
|
|
159
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* IWmtsLayerOption
|
|
162
|
+
* @param {attributions} Options
|
|
163
|
+
* @param {layer} 图层layer名,需查看xml中设置
|
|
164
|
+
* @param {opacity} 图层透明度 默认值 "1.0"
|
|
165
|
+
* @param {matrixSet} 图层matrixSet
|
|
166
|
+
* @param {format} 图层格式 默认值 "image/png"
|
|
167
|
+
* @param {projection} 图层投影 默认值 "EPSG:3857
|
|
168
|
+
* @param {style} 图层样式 默认值 "default
|
|
169
|
+
* @param {offsetX} 图层X偏移 默认0 可以设置-1等
|
|
170
|
+
* @param {offsetY} 图层Y偏移 默认0 可以设置-1等
|
|
171
|
+
* @param {offsetZ} 图层Z偏移 默认0 可以设置-1等
|
|
172
|
+
*/
|
|
160
173
|
export interface IWmtsLayerOption extends ITileLayerOption {
|
|
161
174
|
attributions: string;
|
|
162
175
|
layer: string;
|
|
176
|
+
opacity: number;
|
|
163
177
|
matrixSet: string;
|
|
164
178
|
format: string;
|
|
179
|
+
projection: string;
|
|
180
|
+
style: string;
|
|
181
|
+
offsetX: number;
|
|
182
|
+
offsetY: number;
|
|
183
|
+
offsetZ: number;
|
|
165
184
|
}
|
|
166
185
|
export interface IlevelColor {
|
|
167
186
|
maxnum?: number;
|
|
@@ -146,6 +146,54 @@
|
|
|
146
146
|
"aaa": "https://gac-geo.googlecnapps.cn/maps/vt?lyrs=y&x={x}&y={y}&z={z} ",
|
|
147
147
|
"url": "http://43.153.68.232/api/GoogleMap/GetTile/?level={z}&row={x}&col={y}&t=934e80b8d980d48b95d452cbcda6aff82b2d1e61ea76c776acc51f469d9f6d56"
|
|
148
148
|
},
|
|
149
|
+
{
|
|
150
|
+
"id": 2017,
|
|
151
|
+
"pid": 10,
|
|
152
|
+
"name": "谷歌卫星2",
|
|
153
|
+
"icon": "image/basemaps/02/谷歌卫星.png",
|
|
154
|
+
"type": "xyz",
|
|
155
|
+
"url": "https://igss.cgs.gov.cn:6160/igs/rest/ogc/qg20_20210401_FCnDDRJd/WMTSServer?tk=eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJnZW9jbG91ZCIsImV4cCI6MTczOTUzMTc3MX0.160Zy5BihY96C8X_QZSRZE4RFS1mvr_rimh4s7XTvsg&Width=256&Height=256&style=default&tilematrixset=EPSG:4326_qg20_20210401_FCnDDRJd_028mm_GB&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/png&TileMatrix={z}TileCol={y}&TileRow={x}"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"id": 2017,
|
|
159
|
+
"pid": 10,
|
|
160
|
+
"name": "谷歌卫星3",
|
|
161
|
+
"icon": "image/basemaps/02/谷歌卫星.png",
|
|
162
|
+
"type": "xyz",
|
|
163
|
+
"url": "https://igss.cgs.gov.cn:6160/igs/rest/ogc/qg20_20210401_FCnDDRJd/WMTSServer?tk=eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJnZW9jbG91ZCIsImV4cCI6MTczOTUzMTc3MX0.160Zy5BihY96C8X_QZSRZE4RFS1mvr_rimh4s7XTvsg&Width=256&Height=256&style=default&tilematrixset=EPSG:4326_qg20_20210401_FCnDDRJd_028mm_GB&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image/png&TileMatrix={z}TileCol={x}&TileRow={y}"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": 2017,
|
|
167
|
+
"pid": 10,
|
|
168
|
+
"name": "谷歌卫星4",
|
|
169
|
+
"icon": "image/basemaps/02/谷歌卫星.png",
|
|
170
|
+
"type": "WmtsLayer",
|
|
171
|
+
"url": "https://data.geopf.fr/wmts?Service=WMTS&Request=GetTile&Version=1.0.0&Layer=GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2&Style=normal&Format=image/png&TileMatrixSet=PM&TileMatrix={z}&TileCol={y}&TileRow={x}",
|
|
172
|
+
"layer": "GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2",
|
|
173
|
+
"matrixSet": "PM",
|
|
174
|
+
"style": "normal",
|
|
175
|
+
"zIndex": 998
|
|
176
|
+
},{
|
|
177
|
+
"id": 2017,
|
|
178
|
+
"pid": 10,
|
|
179
|
+
"name": "谷歌卫星5",
|
|
180
|
+
"icon": "image/basemaps/02/谷歌卫星.png",
|
|
181
|
+
"type": "WmtsLayer",
|
|
182
|
+
"url": "http://www.ngac.org.cn:80/igs/rest/ogc/TAS10B520000SN/WMTSServer/1.0.0/TAS10B520000SN/default/EPSG:4326_TAS10B520000SN_dpi96_GB/{z}/{x}/{y}.png",
|
|
183
|
+
"ver": "1.0.0",
|
|
184
|
+
"opacity": 1.0,
|
|
185
|
+
"layer": "TAS10B520000SN",
|
|
186
|
+
"matrixSet": "EPSG:4326_TAS10B520000SN_dpi96_GB",
|
|
187
|
+
"format": "image/png",
|
|
188
|
+
"projection": "EPSG:4326",
|
|
189
|
+
"style": "default",
|
|
190
|
+
"zIndex": 999,
|
|
191
|
+
"offsetX": 0,
|
|
192
|
+
"offsetY": 0,
|
|
193
|
+
"offsetZ": -1
|
|
194
|
+
},
|
|
195
|
+
|
|
196
|
+
|
|
149
197
|
{
|
|
150
198
|
"pid": 10,
|
|
151
199
|
"name": "天地图地图",
|
|
@@ -497,5 +545,5 @@
|
|
|
497
545
|
},
|
|
498
546
|
"appkey": "U2FsdGVkX18tMsBEV5FfQF7ufuq4ZOmVnCreta9VsR86m1UJg6Tscxsi1wdo6GrfHTJzv/2jRln7hUu6i+y9LIKwTjrb9RK9OpHgd0ab9VKj6bgg8CRhdDxknzWMEb8UpPcn1zOmFT0xmdDId/CTX56jVlZP1+BgZKMFi/2RZAoTJhpv6+wd/IOL3YrU2OLXpaohhRLstmhGh6UGPxLuwycG1u4AmPhDpD5ggQQxOYhgbl1xHBKl8oq3l1WFKyds+rvmw/RvLyigb3ugllFKfUCQTX1Qkh5qMB5a6GtstXRt6XnYz3j6fs0LvmbX4316I5Pn9XWsE2oyxdpx0qpySp+fHtUpLv/2+eKADevxHmkIej4lMh0x/K+y213T5IXIXerwAlUXccXg8beQzc7aNkyWvod2LKa7pt/1LoncmapjWezo05TOlZ0o3KHSTJWffdrxn064FvvNXar1wsHqoKhoImtoI1cMA6uYrZME7zDHKTqQBQj0gz2N4niOvhpC87H86gt6SlIEpnfsodY7Ej1AHIQIXWJgA4DOCIORVt15er4zSMyCj0J6G1tTrHi/FkNxm8O7WQLOT3/NmiDhD3aIFfccm7hjmB9icgFI5yJ1t+++fGORjDpLeWfygINI33z5NOdfk6a1MFf4vuti5dbcfNMLVG0IrSVYZqVZdw4YG6zqTCVgyQ=="
|
|
499
547
|
|
|
500
|
-
|
|
548
|
+
|
|
501
549
|
}
|