angular-google-places-autocomplete

WebJar for angular-google-places-autocomplete

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks Auto Application Layer Libs Code Generators
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

angular-google-places-autocomplete
Last Version

Last Version

0.2.7
Release Date

Release Date

Type

Type

jar
Description

Description

angular-google-places-autocomplete
WebJar for angular-google-places-autocomplete
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/kuhnza/angular-google-places-autocomplete

Download angular-google-places-autocomplete

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-google-places-autocomplete/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-google-places-autocomplete</artifactId>
    <version>0.2.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-google-places-autocomplete/
implementation 'org.webjars.bower:angular-google-places-autocomplete:0.2.7'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-google-places-autocomplete/
implementation ("org.webjars.bower:angular-google-places-autocomplete:0.2.7")
'org.webjars.bower:angular-google-places-autocomplete:jar:0.2.7'
<dependency org="org.webjars.bower" name="angular-google-places-autocomplete" rev="0.2.7">
  <artifact name="angular-google-places-autocomplete" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-google-places-autocomplete', version='0.2.7')
)
libraryDependencies += "org.webjars.bower" % "angular-google-places-autocomplete" % "0.2.7"
[org.webjars.bower/angular-google-places-autocomplete "0.2.7"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bower : angular jar [1.2.0,2)

Project Modules

There are no modules declared in this project.

WARNING: This library is deprecated Unfortunately I no longer have the need, time or desire to maintain this lib. That said, if anyone wishes to take it on please let me know.

angular-google-places-autocomplete

Angular directive for the Google Places Autocomplete component.

Installation

Install via bower: bower install angular-google-places-autocomplete

Or if you're old skool, copy src/autocomplete.js into your project.

Then add the script to your page (be sure to include the Google Places API as well):

<script src="https://maps.googleapis.com/maps/api/js?libraries=places"></script>
<script src="/bower_components/angular-google-places-autocomplete/src/autocomplete.js"></script>

You'll probably also want the styles:

<link rel="stylesheet" href="/bower_components/angular-google-places-autocomplete/src/autocomplete.css">

Usage

First add the dependency to your app:

angular.module('myApp', ['google.places']);

Then you can use the directive on text inputs like so:

<input type="text" g-places-autocomplete ng-model="myScopeVar" />

The directive also supports the following optional attributes:

Examples

Issues or feature requests

Create a ticket here

Contributing

Issue a pull request including any relevant testing and updated any documentation if required.

Versions

Version
0.2.7