Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-google-places-autocomplete-last-version

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-google-places-autocomplete-last-version

[![npm version](https://badge.fury.io/js/nativescript-google-places-autocomplete.svg)](https://badge.fury.io/js/nativescript-google-places-autocomplete) [![Twitter Follow][twitter-image]][twitter-url]

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Nativescript Google Places Autocomplete

npm version Twitter Follow

Add location autocomplete to your Nativescript application

Prerequisites

Create and grap your Api key from https://developers.google.com/maps/documentation/javascript/get-api-key?hl=en

Installation

tns plugin add nativescript-google-places-autocomplete

Usage

    import { GooglePlacesAutocomplete } from 'nativescript-google-places-autocomplete';
	
	let API_KEY = "your_api_Key";
	let googlePlacesAutocomplete = new GooglePlacesAutocomplete(API_KEY);

	googlePlacesAutocomplete.search(params)
	      .then((places: any) => {
		      // place predictions list
           }, (error => {
              console.log(error)
          }));
          
	googlePlacesAutocomplete.getPlaceById(place.placeId).then((place) => {
	   .then(function () { });
        }, error => {
            console.log(error)
        })        

Plugin Auther : Aymen Labidi

License

Apache License Version 2.0, January 2004

FAQs

Package last updated on 10 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc