# all files / ol/ framestate.js

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22

    1×
    1×

    1×

    1×
     // FIXME factor out common code between usedTiles and wantedTiles

    goog.provide('ol.PostRenderFunction');
    goog.provide('ol.PreRenderFunction');

    /**
     * @typedef {function(ol.Map, ?olx.FrameState): boolean}
     */
    ol.PostRenderFunction;

    /**
     * Function to perform manipulations before rendering. This function is called
     * with the {@link ol.Map} as first and an optional {@link olx.FrameState} as
     * second argument. Return `true` to keep this function for the next frame,
     * `false` to remove it.
     * @typedef {function(ol.Map, ?olx.FrameState): boolean}
     * @api
     */
    ol.PreRenderFunction;