Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How i can add navigation #33

Open
monikagupta78 opened this issue Jul 28, 2018 · 4 comments
Open

How i can add navigation #33

monikagupta78 opened this issue Jul 28, 2018 · 4 comments
Labels
enhancement Indicates new feature requests help wanted Indicates that a maintainer wants help on an issue or pull request

Comments

@monikagupta78
Copy link

I used this library to show route, next i am looking for navigation. can you pls guide how we can add navigation for that route?

@explooosion
Copy link
Owner

explooosion commented Jul 31, 2018

Hi ! @monikagupta78

I'm not sure I understand what you mean.
You want to display a directions panel?🤔

Panel

Here is an example of panel:

<agm-direction ... [panel]="myPanel"></agm-direction>
<div #myPanel></div>

Check out more examples:

  • Agm-Direction-Docs: Direction (Update Panel With New Query)

Navigation Functions (Heading)

Or this feature? Navigation Functions (Heading)

Hope to help you~

@monikagupta78
Copy link
Author

No, I am looking to add Navigation, like we have in android phone in google maps, for user to navigation from point A to B with geo tracking on.

@explooosion explooosion added the question Indicates that an issue or pull request needs more information label Aug 2, 2018
@explooosion
Copy link
Owner

Sorry, I can't understand clearly.
Could you provide some use case or images about this issue?

@monikagupta78
Copy link
Author

My usecase is to draw a route with multiple stops and provide real time navigation like Ola/Uber.
I am trying to understand if I can add real time navigation after drawing the route using this direction library?
one option could be to generate a URL, that can take the user to google Maps navigation App.

Need help here to construct a URL with multiple waypoints using this module? like it is available in Google direction API using dir_action=navigate attribute?

https://developers.google.com/maps/documentation/urls/guide#directions-action

example URL - https://www.google.com/maps/dir/?api=1&origin=Paris,France&destination=Cherbourg,France&travelmode=driving&waypoints=Versailles,France%7CChartres,France%7CLe+Mans,France%7CCaen,France

Any inputs pls?

@explooosion explooosion added received Indicates the problem has been received enhancement Indicates new feature requests and removed question Indicates that an issue or pull request needs more information labels Aug 2, 2018
@explooosion explooosion added help wanted Indicates that a maintainer wants help on an issue or pull request and removed received Indicates the problem has been received labels Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Indicates new feature requests help wanted Indicates that a maintainer wants help on an issue or pull request
Projects
None yet
Development

No branches or pull requests

2 participants