src/leaflet-measure.js
function() {
    this._latlngs = [];
    this._resultsModel = null;
    this._measureVertexes.clearLayers();
    if (this._measureDrag) {
      this._layer.removeLayer(this._measureDrag);
    }
    if (this._measureArea) {
      this._layer.removeLayer(this._measureArea);
    }
    if (this._measureBoundary) {
      this._layer.removeLayer(this._measureBoundary);
    }
    this._measureDrag = null;
    this._measureArea = null;
    this._measureBoundary = null;
  }
function() {
    this._latlngs = [];
    this._resultsModel = null;
    this._measureVertexes.clearLayers();
    if (this._measureDrag) {
      this._layer.removeLayer(this._measureDrag);
    }
    if (this._measureArea) {
      this._layer.removeLayer(this._measureArea);
    }
    if (this._measureBoundary) {
      this._layer.removeLayer(this._measureBoundary);
    }
    this._measureDrag = null;
    this._measureArea = null;
    this._measureBoundary = null;
  }
function ( ) { this . _latlngs = [ ] ; this . _resultsModel = null ; this . _measureVertexes . clearLayers ( ) ; if ( this . _measureDrag ) { this . _layer . removeLayer ( this . _measureDrag ) ; } if ( this . _measureArea ) { this . _layer . removeLayer ( this . _measureArea ) ; } if ( this . _measureBoundary ) { this . _layer . removeLayer ( this . _measureBoundary ) ; } this . _measureDrag = null ; this . _measureArea = null ; this . _measureBoundary = null ; }
clear all running measure data
clear all running measure data