src/app/services/map/map.service.ts
A map service.
Properties |
|
Methods |
|
Accessors |
constructor(model: ModelModel)
|
||||||||
Constructs a map. ~constructor
Parameters :
|
Public prepareMap | ||||||||||||
prepareMap(frequencies: Indexable[], countriesVisited: string[])
|
||||||||||||
Prepares a map.
Parameters :
Returns :
{ data: {}; layout: { title: string; geo: { scope: string; resolution: number; projection: { type: string; scale: number; }; center: { lon: number; lat: number; }; bgcolor: string; showocean: boolean; oceancolor: string; ... 11 more ...; framecolor: string; }; paper_bgcolor: string; plot_bgcolor: string; margin: { ....
|
Public Readonly model |
Type : ModelModel
|
The model injected dependency.
|
countriesVisited |
getcountriesVisited()
|
Get countries visited.
Returns :
string[]
|
entity |
getentity()
|
Get countries visited. |