@asymmetrik/ngx-leaflet-draw
Version:
Angular.io component for the draw plugin for Leaflet
25 lines (19 loc) • 460 B
text/typescript
import { ModuleWithProviders, NgModule } from '@angular/core';
import { LeafletModule } from '@asymmetrik/ngx-leaflet';
import { LeafletDrawDirective } from './core/leaflet-draw.directive';
({
imports: [
LeafletModule
],
exports: [
LeafletDrawDirective
],
declarations: [
LeafletDrawDirective
]
})
export class LeafletDrawModule {
static forRoot(): ModuleWithProviders {
return { ngModule: LeafletDrawModule, providers: [] };
}
}