Leaflet.draw icon indicating copy to clipboard operation
Leaflet.draw copied to clipboard

BUG: fixed "ReferenceError: type is not defined"

Open iCodr8 opened this issue 6 years ago • 4 comments
trafficstars

The bug occurs when a new rectangle will be created.

iCodr8 avatar Oct 30 '19 10:10 iCodr8

@ddproxy Can you please check and merge it?

iCodr8 avatar Nov 04 '19 09:11 iCodr8

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.

reblace avatar May 03 '20 18:05 reblace