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

[Feature Request] Display route distance #39

Closed
kirantpatil opened this issue Mar 22, 2016 · 7 comments
Closed

[Feature Request] Display route distance #39

kirantpatil opened this issue Mar 22, 2016 · 7 comments

Comments

@kirantpatil
Copy link

Continuing the discussion from #38, We would like to give an opportunity to Junior developer to work on this feature.

@asennikov
Copy link
Owner

Sure, once you and your dev have something to show just submit Pull Request and I can take a look at it.

@asennikov
Copy link
Owner

@kirantpatil any progress on this?

@kirantpatil
Copy link
Author

@asennikov, no Sir, not much happened. Due to time issue we could not pursue it but we have to do it by this month or next.

@smitakiran25 may take up the task.

@ivanjolic95
Copy link
Contributor

I've done it, I just need to add some tests if that's okay.

@kirantpatil
Copy link
Author

@ivanjolic95, that is great. 👍

@alvarouribe
Copy link

Well if you want to get distance today you can do the following...

with geometry included in config/environment.js
libraries: ['geometry']

You can check for distance like this:

function(lat, lon, toLat, toLon) {
return google.maps.geometry.spherical.computeDistanceBetween(new google.maps.LatLng(lat, lon), new google.maps.LatLng(toLat, toLon));
}

@steveszc
Copy link
Collaborator

Closing due to inactivity. If there is desire to continue work on this I am happy to reopen.

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

5 participants