places-demo
places-demo copied to clipboard
An ionic demo using ngCordova Geolocation, Google Maps and Google Places nearby search
Places Demo
A progressing ionic app demo showing how to use:
- ngCordova's Geolocation plugin to locate the user's device
- Angular Google Maps to display a Google Map
- Angular Google Places to search for Nearby Places
Working:
- Geolocation
- Google Maps
- Search nearby based on geolocation
Not Working:
- Turning list of returned Nearby Places to markers on the map
To use:
-
git clone https://github.com/skotturi/places-demo.git && cd places-demo
-
npm install && bower install
-
ionic serve --lab
- A list of Nearby Places will populate once they're loaded
TODO:
- Turn list of nearby places into markers on map
- Allow the user to pan the map around, keeping the main marker pin centered, redo nearby location search
- ... ?
License:
MIT