Skip to content

rajmohan6535/jQuery-Google-Place-AutoComplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

jQuery-Google-Place-AutoComplete

Usage

<input id="example1" type="text" name="loocation" class="form-control" placeholder="Location"/>
let locationPicker = $('#example1').LocationRegionPicker({
                    types: '(regions)',
                    map: 'map', // map elemetn id
                    placeChanged: function (place, map) {
                        
                    }
                });
                

To get Latitide and longitude

                 placeChanged: function (place, map) {
                        console.log(place.geometry.location.lat(),place.geometry.location.lng());
                    }

About

Team Members

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published