import { Injectable } from '@angular/core' ; import { HttpClient } from '@angular/common/http' ; import { Observable } from 'rxjs' ; @ Injectable ( ) export class CountryOrdersMapService { constructor ( private http ) { } getCords ( ) { return this . http . get ( 'assets/leaflet-countries/countries.geo.json' ) ; } }