get dist when opening in browser
Merge branch 'master' into new-polylines
+ _prepareMapIfNeeded()
Stupid hack

Prevent map 'click' event by delaying busy=false

L.DomEvent.stopPropagation(event) didn't work :(