# all files / ol/source/ vectoreventtype.js

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

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    361×

    1×

     goog.provide('ol.source.VectorEventType');

    /**
     * @enum {string}
     */
    ol.source.VectorEventType = {
      /**
       * Triggered when a feature is added to the source.
       * @event ol.source.Vector.Event#addfeature
       * @api
       */
      ADDFEATURE: 'addfeature',

      /**
       * Triggered when a feature is updated.
       * @event ol.source.Vector.Event#changefeature
       * @api
       */
      CHANGEFEATURE: 'changefeature',

      /**
       * Triggered when the clear method is called on the source.
       * @event ol.source.Vector.Event#clear
       * @api
       */
      CLEAR: 'clear',

      /**
       * Triggered when a feature is removed from the source.
       * See {@link ol.source.Vector#clear source.clear()} for exceptions.
       * @event ol.source.Vector.Event#removefeature
       * @api
       */
      REMOVEFEATURE: 'removefeature'
    };