Skip to content
Use Google Maps v3 to autocomplete the name of a location and grab the coordinates of said location
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
js
README.rst
index.html

README.rst

lbGMapLocation jQuery Plugin v1.0

Copyright (c) 2011. Licensed under the MIT license.

Overview

A jQuery plugin that autocompletes locations based on the user input and returns said location's coordinates.

Usage

$('#input').lbGMapLocation()

  • it works with an input[type=text]
  • a hidden field should be added, named as the input field with "-coordinates" appended
  • if the hidden field is not present it will automagically be added
You can’t perform that action at this time.