PilotGaea 3D O'view
    正在準備搜尋索引...

    類別 CMatrixSet

    矩陣資訊集合

    索引

    方法

    • 透過EPSG產生對應的矩陣資訊

      參數

      • epsgNum: number

        EPSG代碼

      回傳 CMatrixSet

      矩陣資訊

    • 透過服務名稱產生對應的矩陣資訊

      參數

      • patternName: string

        服務名稱

      回傳 null | CMatrixSet

      矩陣資訊

    • 透過圖層來源資訊資訊產生對應的矩陣資訊

      參數

      • layerInfo: WMTSLayerInfo

        圖層來源資訊

      回傳 null | CMatrixSet

      矩陣資訊

    • 把其他的CMatrixSet複製到自身裡面

      參數

      回傳 void

    • 移除指定索引的MatrixInfo

      參數

      • index: number

        索引

      回傳 void

    • 移除加入的全部MatrixInfo

      回傳 void

    • 新增一層MatrixInfo

      參數

      • id: string

        Id

      • lt_Point: GeoPoint

        左上角點座標

      • matrixSize: CSize

        水平與垂直的磁磚數量

      • dim: number

        每個磁磚的大小(pixel),一般都為256

      • resolution: number

        解析度(=ScaleDenominator*0.00028)

      回傳 void

      var m = new CMatrixSet();
      m.Add("0",new GeoPoint(-5372600.0,1.00011E7),new CSize(14,12),256,1.181177957593862E7*0.00028);
      m.Add("1",new GeoPoint(-5372600.0,1.00011E7),new CSize(18,15),256,9449423.660750896*0.00028);
      m.Add("2",new GeoPoint(-5372600.0,1.00011E7),new CSize(35,30),256,4724711.830375448*0.00028);
    • 取得指定索引的MatrixInfo

      參數

      • index: number

        索引

      回傳 CMatrixInfo

    • 更新指定索引的MatrixInfo

      參數

      回傳 void

    訪問器屬性

    • get length(): number

      矩陣資訊總數

      回傳 number

    • get MaxResolution(): number

      最大解析度

      回傳 number

    • get MinResolution(): number

      最小解析度

      回傳 number