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

https://github.com/logicify/jquery-locationpicker-plugin

JQuery Location Picker plugin
https://github.com/logicify/jquery-locationpicker-plugin

Last synced: about 1 month ago
JSON representation

JQuery Location Picker plugin

Awesome Lists containing this project

README

        

JQuery Location Picker plugin
=============================

![Location Picker](http://logicify.github.io/jquery-locationpicker-plugin/images/basic_ui.png)

This plug-in allows finding and selecting a location on the Google map. Along with single point selection, it allows area selection by choosing a point and specifying a radius. The selection can be saved to any HTML input element or processed by Javascript with callback support.

An optional automatic address resolver can reverse geocode the selection to an address. The plug-in also supports searching by address typed into the bound input element which uses auto-complete feature from Google API to make the search process easier. In this case the marker will be automatically positioned on the map after successful address resolution.

Usage
-----

The plug-in requires [jQuery](http://jquery.com/) and the [Google Maps API](https://developers.google.com/maps/). Integration is pretty simple:

* Add jQuery and Google Maps API to the `` of your HTML file:
```

// be careful to include the parameter "libraries=places"

```

* Put container somewhere in your page's ``:
```


```

* Attach the plug-in to container:
```

$('#somecomponent').locationpicker();

```

Documentation and Examples
--------------------------

Documentation along with examples available [here](http://logicify.github.io/jquery-locationpicker-plugin/).

Credits
-------
* Dmitry Berezovsky, Logicify ()
* Gennadiy Varava, Logicify ()
* Emanuele Coppola, Libre sc ()