Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hdastageeri
hft_awado_app
Commits
3c8d3c8e
Commit
3c8d3c8e
authored
Dec 02, 2019
by
Ratnadeep Rajendra Kharade
Browse files
provided map service in map component
parent
98383eb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/components/here-map/here-map.component.ts
View file @
3c8d3c8e
...
...
@@ -5,6 +5,7 @@ import { Observable, Subject } from 'rxjs';
import
{
HttpClient
,
HttpHeaders
}
from
'
@angular/common/http
'
;
import
{
Storage
}
from
'
@ionic/storage
'
;
import
{
ToastService
}
from
'
../../services/toast.service
'
;
import
{
MapDataService
}
from
'
src/app/services/map-data.service
'
;
declare
var
H
:
any
;
...
...
@@ -42,7 +43,8 @@ export class HereMapComponent implements OnInit {
public
restService
:
RestService
,
public
httpClient
:
HttpClient
,
private
storage
:
Storage
,
private
toastService
:
ToastService
)
{
private
toastService
:
ToastService
,
private
mapDataService
:
MapDataService
)
{
this
.
platform
=
new
H
.
service
.
Platform
({
'
apikey
'
:
'
tiVTgBnPbgV1spie5U2MSy-obhD9r2sGiOCbBzFY2_k
'
...
...
@@ -114,6 +116,7 @@ export class HereMapComponent implements OnInit {
*/
this
.
addRouteShapeToMap
(
route
);
this
.
addManueversToMap
(
route
);
this
.
mapDataService
.
mapDataSubject
.
next
(
route
);
//addWaypointsToPanel(route.waypoint);
//addManueversToPanel(route);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment