turboMaCk / jquery-places-autocomplete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jQuery Places autocomplete widget

jQuery widget for multiple places selection using Google maps API with structure compatible with chosen plugin.

Features

  • generating from HTML select multiple
  • google places autocomplete
  • creating markers on map
  • editing address
  • removing places on marker double click
  • removing markers from list
  • removing markers with backspace when search value is empty
  • selecting markers on map
  • selecting markers from list
  • deselecting markers from map
  • google info window
  • fit map bounds to all markers when none is selected
  • almoust fully customizable html classes

Getting Started

Download the production version or the development version.

In your web page:

<select multiple id="places-autocomplete">
    <option selected data-address="default address" data-latitude="10" data-longitude="10"></option>
</select>
<script src="jquery.js"></script>
<script src="dist/jquery.places-autocomplete.min.js"></script>
<script>
jQuery(function($) {
    $('#places-autocomplete').placesAutocomplere();
});
</script>

##TO DO

  • styles
  • value serializer config

Documentation

(Coming soon)

Examples

(Coming soon)

Release History

(Nothing yet)

About


Languages

Language:JavaScript 99.0%Language:CSS 1.0%