new WMTSLayer(url, options)
Usage
import { WMTSLayer } from '@supermapgis/iclient-leaflet';
new WMTSLayer(url, options);<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
new L.supermap.WMTSLayer({paramsNames});
// 弃用的写法
L.supermap.wmtsLayer(url, options);
</script>
leaflet/mapping/TileLayer.WMTS.js, line 9
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
服务地址。 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
options |
Object |
参数。
|
Extends
WMTSLayer
-> L.TileLayer
Subclasses
Methods
-
getTileUrl(coords){string}
leaflet/mapping/TileLayer.WMTS.js, line 83 -
获取切片地址。
Name Type Description coordsObject 行列号。
Returns:
Type Description string 切片地址。
Type Definitions
-
matrixObject
-
瓦片矩阵。
Properties:
Name Type Description identifierstring 瓦片矩阵标识符。