group/group.ts
| moduleId | module.id.toString() |
| providers |
GroupService
|
| selector | leaflet-group |
| styleUrls | group.css |
| templateUrl | group.html |
name
|
Type: |
|
Defined in group/group.ts:17
|
|
constructor(mapService: MapService, groupService: GroupService, guidService: GuidService)
|
|
Defined in group/group.ts:18
|
| ngOnInit |
ngOnInit()
|
|
Defined in group/group.ts:26
|
|
Returns:
void
|
| ngAfterViewInit |
ngAfterViewInit()
|
|
Defined in group/group.ts:29
|
|
Returns:
void
|
| globalId |
globalId: |
|
Defined in group/group.ts:18
|
import { Component, Input } from '@angular/core';
import { MapService } from '../services/map.service';
import { GroupService } from '../services/group.service';
import { GuidService } from '../services/globalId.service';
import * as L from 'leaflet';
@Component({
moduleId: module.id.toString(),
selector: 'leaflet-group',
templateUrl: 'group.html',
styleUrls: ['group.css'],
providers: [GroupService]
})
export class LeafletGroup {
@Input() name: string = '';
globalId: string = this.guidService.newGuid();
constructor(
private mapService: MapService,
private groupService: GroupService,
private guidService: GuidService) {
}
ngOnInit() {
}
ngAfterViewInit() {
}
}