Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <input id="autocomplete" size="50" placeholder="Enter your address" type="text"></input>
- function initialize() {
- var options = {componentRestrictions: {country: 'uk'}, types: ['geocode']}
- new google.maps.places.Autocomplete((document.getElementById('autocomplete')), options);
- }
- initialize();
Add Comment
Please, Sign In to add comment