Is it possible to add Custom Suggestions to google.maps.places.Autocomplete
-
Hi, Is it possible to add Custom Suggestions to the google.maps.places.Autocomplete suggestion. Below code i used to get the google suggestion list based on text entry on textbox but i need to add additional suggestion from database based on same text entry and add those suggestions to this google suggestion list DIV. google.maps.event.addDomListener(window, 'load', function () { var places = new google.maps.places.Autocomplete(document.getElementById('txtPlaces')); google.maps.event.addListener(places, 'place_changed', function () { var place = places.getPlace(); var address = place.formatted_address; var latitude = place.geometry.location.lat(); var longitude = place.geometry.location.lng(); }); }); how to achieve this. If anybody knows, please reply me. Thanks in advance.
-
Hi, Is it possible to add Custom Suggestions to the google.maps.places.Autocomplete suggestion. Below code i used to get the google suggestion list based on text entry on textbox but i need to add additional suggestion from database based on same text entry and add those suggestions to this google suggestion list DIV. google.maps.event.addDomListener(window, 'load', function () { var places = new google.maps.places.Autocomplete(document.getElementById('txtPlaces')); google.maps.event.addListener(places, 'place_changed', function () { var place = places.getPlace(); var address = place.formatted_address; var latitude = place.geometry.location.lat(); var longitude = place.geometry.location.lng(); }); }); how to achieve this. If anybody knows, please reply me. Thanks in advance.
So what did Google say when you asked them about using their API?
A guide to posting questions on CodeProject
Click this: Asking questions is a skill. Seriously, do it.
Dave Kreskowiak