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

My location as starting point #67

Open
nilesbarnes opened this issue Jul 18, 2017 · 4 comments
Open

My location as starting point #67

nilesbarnes opened this issue Jul 18, 2017 · 4 comments

Comments

@nilesbarnes
Copy link
Member

User needs to be able to set current location as starting point on mobile.

@clhenrick
Copy link
Collaborator

Agree @nilesbarnes that this would be extremely useful, however implementing it will take some thought.

One issue here is how does someone choose setting their current location as the start location vs. setting their start location via a place name search on mobile.

A couple potential methods to achieve this might be:

  1. If a user has the location control enabled, it automatically sets their start location. They would then only need to search for an end location.

  2. A separate UI button or element prompts them with "use your current location as the start" or similar.

With option 1 we would need to indicate that their current location is being used as the start location some how. With option 2, a "cancel" or "no thanks" button would be needed so that the UI doesn't persist when they are using the location control.

It also makes the app logic a little more complicated as we would only enable this feature when a user hasn't already searched for a route, and right now the app isn't storing the current location in application state.

So while it's a great idea and would be very useful, it is a new feature that will take some additional time to implement.

@nilesbarnes
Copy link
Member Author

@clhenrick A combo of the options is what I was thinking. A user turns on location tracking on mobile and the "search a starting point" allows them to 1. enter a location or 2. use their current location as the start point.

@danrademacher
Copy link
Collaborator

As noted in an earlier email conversation about making the markers draggable, the text search fields are the only way to set start and end locations in this version of the application.

Setting start automatically when they enable Locate Me implies that they are looking for a route, but things get complicated quickly -- if they have a route selected, do we check for that and not re-set the start point in that case? If they have selected start but not end, does Locate Me fill in the end point but leave start alone?

Google Maps displays your current location by default without asking you to choose a start location, and then allows you to select current location for start or end. But as before, they can route you from any arbitrary point — and also of course they have many world’s more resources to make that happen seamlessly and quickly.

Overall, I think we all agree that "Current Location" as start or end is a desirable feature, but I can't see how we can fit it into the current round of work. Niles, let's include this in project check in call we discussed this morning

@nilesbarnes
Copy link
Member Author

@danrademacher Do you have times on Friday that work well? I am open after 12pm eastern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants