File

group/group.ts

Metadata

moduleId module.id.toString()
providers GroupService
selector leaflet-group
styleUrls group.css
templateUrl group.html

Inputs

name

Type: string

Constructor

constructor(mapService: MapService, groupService: GroupService, guidService: GuidService)

Methods

ngOnInit
ngOnInit()
Returns: void
ngAfterViewInit
ngAfterViewInit()
Returns: void

Properties

globalId
globalId: string
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() {
    }


}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""