new CTileMapLayer(MapDocument, Name, UrlPatterns, MatrixSet, WMTSProxy, Token)
            openlayers/MapDocument.js, line 286
        
        
    網路圖磚圖層
不能直接使用CTileMapLayer的建構函式,您應該從已經存在的CMapDocument物件,透過NewTileMapLayer新增CTileMapLayer
| Name | Type | Description | 
|---|---|---|
MapDocument | 
            
            
            CMapDocument | undefined | 
                
                 地圖文件。  | 
        
Name | 
            
            
            string | 
                
                 客戶端自訂的圖層名稱  | 
        
UrlPatterns | 
            
            
            Array.<string> | 
                
                 網路來源的字串陣列  | 
        
MatrixSet | 
            
            
            CMatrixSet | 
                
                 矩陣資訊  | 
        
WMTSProxy | 
            
            
            boolean | string | 
                
                 是否使用代理,若輸入為字串則會當作代理網址直接串接,預設為false  | 
        
Token | 
            
            
            string | 
                
                 若有需要提供,Token  | 
        
Example
var m = CMatrixSet.MakeByEPSG(3826)
var vLayerId = myMapDoc.NewTileMapLayerByMatrixSet("我的行政區界圖", ["http://127.0.0.1/wmts?Layer=行政區界圖&style=default&TileMatrixSet=EPSG%3A3826&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fpng&TileMatrix={TileZ}&TileCol={TileC}&TileRow={TileR}"],m,0,"test")
    
    
Extends
Members
- 
    
Alpha
 - 
    
    
圖層透明度
Properties:
Name Type Description Alphanumber 透明度
 - 
    
readonlyBoundary
 - 
    
    
圖層範圍
Properties:
Name Type Description BoundaryGeoBoundary 圖層範圍
 - 
    
readonlyMaxResolution
 - 
    
    
圖層的最大解析度
Properties:
Name Type Description MaxResolutionnumber 最大解析度
 - 
    
readonlyMinResolution
 - 
    
    
圖層的最小解析度
Properties:
Name Type Description MinResolutionnumber 最小解析度
 - 
    
readonlyName
 - 
    
    
圖層名稱
Properties:
Name Type Description Namenumber 名稱
 - 
    
Show
 - 
    
    
是否顯示圖層
Properties:
Name Type Description Showboolean 是否顯示
 - 
    
readonlytype
 - 
    
    
圖層類別
Properties:
Name Type Description typeLAYER_TYPE_2D 類別
 - 
    
readonlyZIndex
 - 
    
    
圖層Z-Index
Properties:
Name Type Description Z-Indexnumber 圖層的繪製順序