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

    類型別名 StyleFunction

    StyleFunction: (
        feature: ol.Feature | ol.render.Feature,
        resolution: number,
    ) => Style | Style[]

    A function that takes an ol.Feature and a {number} representing the view's resolution. The function should return a ol.style.Style or an array of them. This way e.g. a vector layer can be styled.

    類型宣告