@asymmetrik/ngx-leaflet-draw
Version:
Angular.io component for the draw plugin for Leaflet
25 lines (14 loc) • 394 B
HTML
<div class="container" style="margin-top: 30px;">
<div class="row">
<!-- Map -->
<div class="col-sm-12">
<div leaflet style="height: 400px;"
leafletDraw
[leafletOptions]="options"
[leafletDrawOptions]="drawOptions"
(leafletDrawCreated)="onDrawCreated($event)"
(leafletDrawStart)="onDrawStart($event)">
</div>
</div>
</div>
</div>