Angular typeahead Google Maps Geocoder
You can download angular-google-maps-geocoder by:
- Using bower and running
bower install angular-google-maps-geocoder - Using npm and running
npm install angular-google-maps-geocoder - Downloading it manually from this repo
This module exposes a simple directive with the following attributes:
placeid- Will set the value of the input to the formatted address of the passed Google Maps place IDoutput- The variable that will contain the selected valuemin-length- Minimal number of characters before typeahead kicks-inwait-ms- Minimal wait time after last character typed before typeahead kicks-in
<div
angular-google-maps-geocoder placeid="{{ my_place_id }}"
output="out"
placeholder="Placeholder goes here..."
min-length="5"
wait-ms="500"
></div>