No description
  • JavaScript 100%
Find a file
2017-02-28 12:20:39 +01:00
dist rename angular directive from 'jqueryLocationpicker' to 'locationpicker' 2016-09-26 16:18:34 +03:00
examples rename angular directive from 'jqueryLocationpicker' to 'locationpicker' 2016-09-26 16:18:34 +03:00
src #95 temporary fixed in development branch 2016-10-17 16:39:38 +03:00
.gitignore fixed incorrect build of angular wrapper v0.1.15 2016-09-24 00:58:58 +03:00
bower.json release v0.1.15 2016-09-23 17:31:51 +03:00
composer.json added composer.json 2017-02-28 12:20:39 +01:00
Gruntfile.js fixed incorrect build of angular wrapper v0.1.15 2016-09-24 00:58:58 +03:00
LICENSE Initial commit 2013-10-03 06:16:54 -07:00
locationpicker.jquery.json release v0.1.15 2016-09-23 17:31:51 +03:00
package.json release v0.1.15 2016-09-23 17:31:51 +03:00
README.md Update README.md 2016-09-23 21:23:41 +03:00

JQuery Location Picker plugin

Location Picker

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 and the Google Maps API. Integration is pretty simple:

  • Add jQuery and Google Maps API to the <head> of your HTML file:
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
// be careful to include the parameter "libraries=places"
<script type="text/javascript" src='http://maps.google.com/maps/api/js?sensor=false&libraries=places'></script>
<script src="js/locationpicker.jquery.js"></script>
  • Put container somewhere in your page's <body>:
<div id="somecomponent" style="width: 500px; height: 400px;"></div>
  • Attach the plug-in to container:
<script>
$('#somecomponent').locationpicker();
</script>

Documentation and Examples

Documentation along with examples available here.

Credits