Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
5 years ago
by
Ratnadeep Rajendra Kharade
Browse files
Options
Download
Email Patches
Plain Diff
Zoomed on selected bike on map.
parent
bc8992ec
master
72-feedback-toast-message
73-removal-here-maps-api-key
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/home/home.page.ts
+3
-0
src/app/home/home.page.ts
with
3 additions
and
0 deletions
+3
-0
src/app/home/home.page.ts
+
3
-
0
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
()
{
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets