
Google Geocomplete
$7 • 57 sales
This plugin generates an autocomplet from an input field, so that you can retrieve an address and its associated geodata from Google and fill it into input fields.
Initialize
Include libraries
Create your Autocomplete Input field
Setup your fields, you can use type=”hidden” too
<input class="form-control" id="street" data-geo="street" name="" value=""> <input class="form-control" id="latitude" data-geo="latitude" name="" value=""> <input class="form-control" id="longitude" data-geo="longitude" name="" value="">
Call the plugin