I want to implement drop down what have auto complete facility for city name . and other drop down value automatically fill for district, state and country.
Is there is any api available for it?
I've been using Google Maps Api, Well it definitely works try looking at this link
Did you try Google Maps Place Details API ?
All you have to do is google "API for places" and find it !
Related
Hi I have a registration form, and on the address details we require the user to input it's State, City and Zipcode.
My problem is I need to verify the Zipcode if it is the correct Zipcode on the Users State and City.
Example.
If user put's Minnesota (State), Bloomington (City) so if user puts 55437 it should be a valid zipcode. But the tricky part is that some City have multiple Zipcodes so I need to have a data for all of the Zipcode available on that City.
I tried google api geocoding but the return from the API is not consistent. Can anyone suggest on what API or package that is best for this? or Some data where I can store on my DB so that I'll have reference for all the City and Zipcodes.
You can use this data or maybe search for another free zipcode resource. Hope this helps.
https://github.com/midwire/free_zipcode_data
You could use https://www.zipcodeapi.com/. This call https://www.zipcodeapi.com/API#locToZips gives you possible zip codes for a city. There is a free version and a low cost version.
I need to get data(Country, State, City, Postcode, Country code) by using Google Autocomplete where user put there address in app.
For Google api I use:
https://maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=false
I try lot of AngularJs and Ionic Plugin for IONIC App but not get success like as:
https://github.com/iazi/ngMapAutocomplete
https://github.com/vskosp/vsGoogleAutocomplete
https://github.com/ivanthecrazy/ion-place-autocomplete
https://github.com/israelidanny/ion-google-place
Please help me if Any one work on it or face this type of problem.
I solve my problem my using this Plugin:
https://market.ionic.io/plugins/ion-google-autocomplete
I plot locations of real estate on a map. The address listed below is mapped incorrectly because it is a new build and I assume the street and everything is a new build, which is the reason Google can't find it in it's database.
What I want to happen is Google return "GeocoderStatus.ZERO_RESULTS" and not just pick a location with a related name and give me those coords.
The address I'm plotting is:
14018 Lonecreek Ave
Orlando, Florida 32828
If you submit the request via http, you get the same results i get through the API, see this link: http://maps.googleapis.com/maps/api/geocode/json?address=140
You'll see it comes back with "Lone Hill Drive" which is incorrect location. How can I tell Google return ZERO_RESULTS status in this instance?
Google's geocoding process isn't perfect (none are.)
What you can check for is the result's geometry.location_type property and test if it's value is "APPROXIMATE" to see if you can trust the returned lat/lng. Read more in the Documentation.
If it's way off you can report it directly to google.
You can use the API's Component Filtering to filter the results by a specific postcode. In such cases a non-exact match will have location_type of "APPROXIMATE" rather than the "GEOMETRIC_CENTER" you were seeing before.
http://maps.googleapis.com/maps/api/geocode/json?address=[address]&components=postal_code:[postcode]&sensor=false
Here's your geocoding request WITH component filtering
and WITHOUT component filtering
I'm developing and application in javascript. I need to get my gmail contacts and their phone numbers.
I have tried the "Sample - Oauth Contacts" from https://developer.chrome.com/extensions/samples.html and it works, but it does not retrieve the phonenumber.
According to the documentation in https://developers.google.com/google-apps/contacts/v3/ it should retrieve a tag like this:
<gd:phoneNumber rel='http://schemas.google.com/g/2005#home'
primary='true'>
456
</gd:phoneNumber>
but it does not appear. It only gets the name (title), ID, and email.
Do you know if I am missing something? Is there any restriction on using this API from a google extension?
Thanks in advance!!
I need an api for nokia maps place search with query and place term.
The API should be in http(url) format.
like this:
http://api.nokia.com/query=hotels/location=lat,long
It looks like you may be after the RESTful Places API. The latest documentation can be found here: http://developer.here.net/places
If you are after hotels, you could base your query on the example here:
http://developer.here.net/apiexplorer/examples/api-for-rest/places-search/places-search-by-category.html
The following URL will return a set of hotels in central Berlin (around 52.51N,13.4E)
http://demo.places.nlp.nokia.com/places/v1/discover/explore?cat=hotel&at=52.51,13.4&app_id=_peU-uCkp-j8ovkzFGNU&app_code=gBoUkAMoxoqIWfxWA5DuMQ&accept=application/json
See this link http://demo.places.nlp.nokia.com/places/v1/discover/explore?at=19.1273%2C72.8515&tf=plain&size=10&app_id=7vivA7jIFlZh9WX_B0cd&app_code=6ptUAobtF0RFJ9CkfX7geg&Geolocation=geo%3A19.0254%2C72.8401%3Bcgen%3Dmap . You can customize your search on left panel