Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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)