Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jifalops/geo-query-input
A Polymer element for specifying latitude, longitude, and search radius for geographical queries.
https://github.com/jifalops/geo-query-input
firebase geofire geographical-queries polymer-element
Last synced: about 1 month ago
JSON representation
A Polymer element for specifying latitude, longitude, and search radius for geographical queries.
- Host: GitHub
- URL: https://github.com/jifalops/geo-query-input
- Owner: jifalops
- License: mit
- Created: 2016-11-10T07:19:07.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-31T03:39:43.000Z (over 6 years ago)
- Last Synced: 2024-11-09T08:15:54.746Z (about 1 month ago)
- Topics: firebase, geofire, geographical-queries, polymer-element
- Language: HTML
- Size: 3.14 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/jifalopsgeo-query-input)
[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/jifalopsgeo-query-input.svg)](https://vaadin.com/directory/component/jifalopsgeo-query-input)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/jifalops/geo-query-input)# geo-query-input
Specify the center point and search radius for geographical queries.## Installation
```
bower i -S geo-query-input # Polymer 2.0 hybrid (1.x compatible)
bower i -S geo-query-input#^0.3 # Polymer 1.x based
```## Usage
* Bind to the `query` property.
* Supply a Google Maps API key (will be optional in the future)## Demo
```html
lat: [[query.lat]]lng: [[query.lng]]radiusKm: [[query.radiusKm]]fromSearch: [[query.fromSearch]]valid: [[query.valid]]
```Full demo:
[webcomponents.org](https://www.webcomponents.org/element/jifalops/geo-query-input/demo/demo/index.html)
| [github](https://jifalops.github.io/geo-query-input/components/geo-query-input/demo/).API: [webcomponents.org](https://www.webcomponents.org/element/jifalops/geo-query-input/geo-query-input)
| [github](https://jifalops.github.io/geo-query-input).## Contributing
1. Fork it on Github.
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request## License
[MIT](https://opensource.org/licenses/MIT)