Closed sgrillon14 closed 2 months ago
it work when add [leafletDrawLocal]="drawLocal"
<div leaflet style="height: 400px;"
leafletDraw
[leafletOptions]="options"
[leafletDrawOptions]="drawOptions"
[leafletDrawLocal]="drawLocal"
(leafletDrawCreated)="onDrawCreated($event)">
<div [leafletLayer]="drawnItems"></div>
</div>
I see https://github.com/bluehalo/ngx-leaflet-draw?tab=readme-ov-file#leafletdrawlocal but the sample is not full