Leaflet.draw
Leaflet.draw copied to clipboard
BUG: fixed "ReferenceError: type is not defined"
trafficstars
The bug occurs when a new rectangle will be created.
@ddproxy Can you please check and merge it?
You can also fix this issue by changing your build target (in tsconfig.json) to "es5." Angular CLI 8/9 moving to a target of es2015 seems to have switched the behavior of this code to throwing an error.