Leaflet / Leaflet.draw

Vector drawing and editing plugin for Leaflet
https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html
MIT License
1.98k stars 994 forks source link

Angular7 angular/cli build with ‘ng build --prod --aot --vendor-chunk --common-chunk --delete-output-path --buildOptimizer --extract-css’ , The default draw marker can not shown #982

Open LittleSisterMogu opened 4 years ago

LittleSisterMogu commented 4 years ago

How to reproduce

When I run 'ng build --extract-css',Same page the behaviour is normal, can see the default blue marker on map and mouse also have the default blue marker

When I run 'ng build --prod --aot --vendor-chunk --common-chunk --delete-output-path --buildOptimizer --extract-css', Same page the behaviour is strange,I can not see the default blue marker on map and mouse didn't show the default blue marker

Minimal example reproducing the issue

Using jsfiddle or another example site.