Skip to content

matheusribeirog/IonicMaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ionic3-googleMaps

A simple example showing its location and some points around it

  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 activate the 3;

  1. Install the dependencies:

npm i

  1. Run the project

ionic serve -l

Establishments around me

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;

View this