Skip to content

g-map-route expose calculated distance from service - #115

Open
thoresuenert wants to merge 3 commits into
asennikov:masterfrom
thoresuenert:pu/route-expose-calculated-distance-from-service
Open

g-map-route expose calculated distance from service#115
thoresuenert wants to merge 3 commits into
asennikov:masterfrom
thoresuenert:pu/route-expose-calculated-distance-from-service

Conversation

@thoresuenert

Copy link
Copy Markdown
Contributor

When using g-map-route to display a route between two lat lng destinations.
If you want to show human readable information about distance and duration there is no chance to get that info.

We introduce a callback called: onDistanceUpdate

  • the first leg of direction object will be exposed to the handler

@coveralls

coveralls commented Jul 11, 2017

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling ff98bd1 on thoresuenert:pu/route-expose-calculated-distance-from-service into 63b0fd0 on asennikov:master.

@thoresuenert

Copy link
Copy Markdown
Contributor Author
  • add docs
  • fix travis issue

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants