A simple example showing its location and some points around it
- 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 activate the 3;
- Install the dependencies:
npm i
- Run the project
ionic serve -l
Center the map with your location;
List establishments passed in an array with multiple objects;
Adds the marker to each object in the array, by latitude and longitude;
When clicking on the marker, it opens a pop-up with the name of the establishment;