Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 591 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 591 Bytes
  1. Create project or use existing one in Google Developer Console;

In the list of Dashboard APIs, look for the Google Maps Distance Matrix API, Google Maps Javascript API, Google Maps Geolocation API and Google Maps Directions API and activate the 4;

  1. Install the dependencies:

npm i

  1. Run the project

ionic serve -l

Distance between 2 points

Search for device latitude and longitude (ORIGIN);

It has 2 inputs to define target latitude and longitude;

Button for calculating distance and approximate time.

View this