refs #34 force distance display when drawing a line

merge-requests/3/head
Julien Veyssier 2017-08-31 14:36:37 +02:00
parent 5a1bc9b06a
commit 01ea989345
1 changed files with 0 additions and 3 deletions

View File

@ -904,9 +904,6 @@ L.Draw.Polyline = L.Draw.Feature.extend({
_getTooltipText: function () { _getTooltipText: function () {
var showLength = this.options.showLength, var showLength = this.options.showLength,
labelText, distanceStr; labelText, distanceStr;
if (L.Browser.touch) {
showLength = false; // if there's a better place to put this, feel free to move it
}
if (this._markers.length === 0) { if (this._markers.length === 0) {
labelText = { labelText = {
text: L.drawLocal.draw.handlers.polyline.tooltip.start text: L.drawLocal.draw.handlers.polyline.tooltip.start