borodatych / ion-place-autocomplete

Google Places Autocomplete for ionic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Places based autocomplete directive for Ionic framework

by http://demka.org

How to use:

  • Add Google maps to your project:
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=false"></script>
  • Add ion-place-autocomplete.js and ion-place-autocomplete.css to your project
  • Use directive as following:
<ion-google-place placeholder="Your address" ng-model="yourModel" location-changed="yourLocationChangeCallback"/>

About

Google Places Autocomplete for ionic


Languages

Language:JavaScript 68.6%Language:HTML 24.5%Language:CSS 6.9%