derTuca / nativescript-googleplaces-autocomplete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nativescript Google Places Autocomplete

This plugin helps you retrieve autocomplete results programatically from the Google Places API using the native APIs for each platform

Installation

tns plugin add nativescript-googleplaces-autocomplete

Make sure to add your API key to AndroidManifest.xml for Android.

Usage

    this.googleplacesAutocomplete = new GoogleplacesAutocomplete();
    this.googleplacesAutocomplete.init("apiKey"); // used for iOS
    this.googleplacesAutocomplete.get("query", PlaceTypes.City);

License

Apache License Version 2.0, January 2004

About

License:Apache License 2.0


Languages

Language:TypeScript 78.0%Language:Shell 13.1%Language:JavaScript 8.2%Language:Ruby 0.7%