Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hdastageeri
hft_awado_app
Commits
8fae2859
Commit
8fae2859
authored
Jan 13, 2020
by
Ratnadeep Rajendra Kharade
Browse files
Zoomed on selected bike on map.
parent
bc8992ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/home/home.page.ts
View file @
8fae2859
...
...
@@ -264,10 +264,13 @@ export class HomePage implements OnInit, OnDestroy {
}
showBikeDetails
(
bike
)
{
//console.log(bike);
this
.
selectedBike
=
bike
;
this
.
distance
=
bike
.
distance
;
this
.
distanceService
.
setDistance
(
this
.
distance
);
this
.
isDetailsVisible
=
true
;
this
.
map
.
setCenter
({
lat
:
bike
.
lat
,
lng
:
bike
.
lon
});
this
.
map
.
setZoom
(
17
);
}
reserveBike
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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