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

    類別 Icon

    Set icon style for vector features.

    Options.

    層級 (查看層級一覽)

    索引

    方法

    • 回傳 number[]

    • Get the image icon.

      參數

      • pixelRatio: number

        Pixel ratio.

      回傳 HTMLCanvasElement | ol.style.Image

      Image or Canvas element.

    • 回傳 number[]

    • Get the image URL.

      回傳 string

      Image src.

    • 回傳 Size

    • Load not yet loaded URI. When rendering a feature with an icon style, the vector renderer will automatically call this method. However, you might want to call this method yourself for preloading or other purposes.

      回傳 void

    • Get the symbolizer opacity.

      回傳 number

      Opacity.

    • Determine whether the symbolizer rotates with the map.

      回傳 boolean

      Rotate with map.

    • Get the symoblizer rotation.

      回傳 number

      Rotation.

    • Get the symbolizer scale.

      回傳 number

      Scale.

    • Determine whether the symbolizer should be snapped to a pixel.

      回傳 boolean

      The symbolizer should snap to a pixel.

    • Set the opacity.

      參數

      • opacity: number

        Opacity.

      回傳 void

    • Set the rotation.

      參數

      • rotation: number

        Rotation.

      回傳 void

    • Set the scale.

      參數

      • scale: number

        Scale.

      回傳 void

    構造函數