# all files / ol/ tileloadfunction.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
    231×
    1×

    1×

    1×
     goog.provide('ol.TileLoadFunctionType');
    goog.provide('ol.TileVectorLoadFunctionType');

    /**
     * A function that takes an {@link ol.Tile} for the tile and a
     * `{string}` for the url as arguments.
     *
     * @typedef {function(ol.Tile, string)}
     * @api
     */
    ol.TileLoadFunctionType;

    /**
     * A function that is called with a tile url for the features to load and
     * a callback that takes the loaded features as argument.
     *
     * @typedef {function(string, function(Array.<ol.Feature>))}
     * @api
     */
    ol.TileVectorLoadFunctionType;