UNPKG

@zsoltszabo/reg-pontok-terkep

Version:

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.1.1.

26 lines (21 loc) 888 B
/// <reference types="googlemaps" /> import { Component, OnInit, Input } from '@angular/core'; import { RegPontService } from './shared/reg-pont.service'; import { TelepulesService } from './shared/telepules.service'; import { RegPont } from './shared/reg-pont'; @Component({ selector: 'app-rp-terkep', templateUrl: './rp-terkep.component.html', styleUrls: ['./rp-terkep.component.less'], }) export class RpTerkepComponent implements OnInit { selectedTelepulesLatLng: google.maps.LatLng; selectedRegPont: RegPont; @Input() regPontokUrl = ''; @Input() telepulesekUrl = ''; constructor(private regPontService: RegPontService, private telepulesService: TelepulesService) { } ngOnInit() { this.regPontService.regPontokUrl = this.regPontokUrl; this.telepulesService.telepulesekUrl = this.telepulesekUrl; } }