coderhut Posted April 15, 2013 Share Posted April 15, 2013 I am using google map api and its autocomplete feature as well. When google tells about results it returns even the results/location having no latitude or longitude information. How can I remove such location suggestions in autocomplete dropdown? Quote Link to comment Share on other sites More sharing options...
coderhut Posted April 15, 2013 Author Share Posted April 15, 2013 just wanting to elaborate it more. The results which are displayed by googel api in autocompleted dropdown, also contains the locations which have no longitude/latitude values. How can I remove such locations from autocomplete dropdown? Have someone encountered this issue before Quote Link to comment Share on other sites More sharing options...
lemmin Posted April 15, 2013 Share Posted April 15, 2013 I think the geocode location type requires coordinates. Try adding this to your request &type=geocode https://developers.google.com/places/documentation/autocomplete#place_types Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.