Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacklam718/ng-places-autocomplete
a fancy places autocomplete angular directive, support google, baidu places autocomplete
https://github.com/jacklam718/ng-places-autocomplete
Last synced: 3 days ago
JSON representation
a fancy places autocomplete angular directive, support google, baidu places autocomplete
- Host: GitHub
- URL: https://github.com/jacklam718/ng-places-autocomplete
- Owner: jacklam718
- License: mit
- Created: 2015-08-09T04:58:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-12T20:44:01.000Z (almost 9 years ago)
- Last Synced: 2025-01-28T14:04:56.758Z (24 days ago)
- Language: JavaScript
- Size: 1.28 MB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ng-places-autocomplete
A fancy and simple diective for places autocomplete and quickly preview the place in a map window. Now support google places api and baidu places api.
# Demo
DEMO# Install
#### Bower:
```bash
bower install --save ng-fancy-places-autocomplete
```# Usage
Include the required libraries.
This package is required jQuery please include jQuery on your project.#### Google places api:
```html```
#### Baidu places api:
```html```
#### Import this library on your project:
```html```
#### Declare a dependency on your angular app:
```javascript
var ngApp = angular.module('ngApp', ['ng-places-autocomplete']);
```#### Add the directive to textbox, now enable places autocomplete with a map popup preview option:
```html```
#### Or you can only enable the places autocmplete:
```html```
#### Options:
map-popup - map popup preview window
city - choose a specific city # now only for baidu
country - choose a country # now only for google
lang - choose language # now only for google# TODO:
test case