WMTSLayerCreateWMTSLayer 方法 |
初始化WMTS图层(在展示前前调用)
命名空间:
GISShare.SMap.WPF.Layer
程序集:
GISShare.SMap.WPF (在 GISShare.SMap.WPF.dll 中) 版本:1.9.1.6 (1.9.1.6)
语法public void CreateWMTSLayer(
SourceStyle sourceStyle,
WMTSVersionStyle eWMTSVersionStyle,
string strLayerIdentifier,
string strTileMatrixSetIdentifier,
double dMMPixel,
IBoundingBox pExtent,
string[] strMapURLStyleArray,
string[] strMapURLHeaderArray,
string[] strStyleArray,
string[] strFormatArray,
string strCacheDirectory,
string strMapCatalogue
)
Public Sub CreateWMTSLayer (
sourceStyle As SourceStyle,
eWMTSVersionStyle As WMTSVersionStyle,
strLayerIdentifier As String,
strTileMatrixSetIdentifier As String,
dMMPixel As Double,
pExtent As IBoundingBox,
strMapURLStyleArray As String(),
strMapURLHeaderArray As String(),
strStyleArray As String(),
strFormatArray As String(),
strCacheDirectory As String,
strMapCatalogue As String
)
public:
virtual void CreateWMTSLayer(
SourceStyle sourceStyle,
WMTSVersionStyle eWMTSVersionStyle,
String^ strLayerIdentifier,
String^ strTileMatrixSetIdentifier,
double dMMPixel,
IBoundingBox^ pExtent,
array<String^>^ strMapURLStyleArray,
array<String^>^ strMapURLHeaderArray,
array<String^>^ strStyleArray,
array<String^>^ strFormatArray,
String^ strCacheDirectory,
String^ strMapCatalogue
) sealed
abstract CreateWMTSLayer :
sourceStyle : SourceStyle *
eWMTSVersionStyle : WMTSVersionStyle *
strLayerIdentifier : string *
strTileMatrixSetIdentifier : string *
dMMPixel : float *
pExtent : IBoundingBox *
strMapURLStyleArray : string[] *
strMapURLHeaderArray : string[] *
strStyleArray : string[] *
strFormatArray : string[] *
strCacheDirectory : string *
strMapCatalogue : string -> unit
override CreateWMTSLayer :
sourceStyle : SourceStyle *
eWMTSVersionStyle : WMTSVersionStyle *
strLayerIdentifier : string *
strTileMatrixSetIdentifier : string *
dMMPixel : float *
pExtent : IBoundingBox *
strMapURLStyleArray : string[] *
strMapURLHeaderArray : string[] *
strStyleArray : string[] *
strFormatArray : string[] *
strCacheDirectory : string *
strMapCatalogue : string -> unit
参数
- sourceStyle
- 类型: GISShare.SMap.WebSourceStyle
数据源类型【必填】 - eWMTSVersionStyle
- 类型: GISShare.SMap.Web.WMTSWMTSVersionStyle
版本类型【必填】 - strLayerIdentifier
- 类型: SystemString
图层唯一标识【必填】 - strTileMatrixSetIdentifier
- 类型: SystemString
瓦片矩阵唯一标识【必填】 - dMMPixel
- 类型: SystemDouble
MMPixel【必填】 - pExtent
- 类型: GISShare.SMap.GeometryIBoundingBox
图层视图范围【必填】 - strMapURLStyleArray
- 类型: SystemString
请求链接类型列表【必填】 - strMapURLHeaderArray
- 类型: SystemString
请求链接列表【必填】 - strStyleArray
- 类型: SystemString
图层渲染类型【必填】 - strFormatArray
- 类型: SystemString
图片请求的格式【必填】 - strCacheDirectory
- 类型: SystemString
缓存目录(Silverlight中无效) - strMapCatalogue
- 类型: SystemString
缓存目录名(Silverlight中无效)
实现
IWMTSLayerCreateWMTSLayer(SourceStyle, WMTSVersionStyle, String, String, Double, IBoundingBox, String, String, String, String, String, String)
参见