code: function () {
  		if (!L.Polyline._flat) {
  			return this._poly._latlngs;
  		}
  		return L.Polyline._flat(this._poly._latlngs) ? this._poly._latlngs : this._poly._latlngs[0];
  	}
docs: Compatibility method to normalize Poly* objects between 0.7.x and 1.0+