leaflet-area-select icon indicating copy to clipboard operation
leaflet-area-select copied to clipboard

import for angular 4.0.0

Open f7o opened this issue 7 years ago • 0 comments

this does not work for angular 4.0.0 and @angular/cli import SelectArea from 'leaflet-area-select';

following works, but only with a not really pretty hack import * as L from 'leaflet'; import 'leaflet-area-select';

webpack integrated in ng does not compile otherwise let map2 = (map as any); map2.selectArea.enable();

f7o avatar May 24 '17 12:05 f7o