javascript clientside doesn't return zipcode

23 views
Skip to first unread message

kShan

unread,
Dec 5, 2011, 1:38:37 AM12/5/11
to google-map...@googlegroups.com
I'm using JS v3 and realized that google is returning only the lat and long of an address and not the zipcode. Is there a way to get this? I know server side returns the zipcode.
 
This is critical as sometimes users might type a wrong zipcode but the correct address. I want to return the correct the zipcode back
 
'am I missing something?
 
Thanks!

Marcelo

unread,
Dec 5, 2011, 8:35:10 AM12/5/11
to Google Maps JavaScript API v3
On Dec 4, 11:38 pm, kShan <kkss...@gmail.com> wrote:
> I'm using JS v3 and realized that google is returning only the lat and long
> of an address and not the zipcode. Is there a way to get this? I know
> server side returns the zipcode.

For the same address? If so, please show us an example.

>
> This is critical as sometimes users might type a wrong zipcode but the
> correct address. I want to return the correct the zipcode back

Keep in mind that Google is not an authority on zip codes. I have seen
many examples in the US where Google has a different zip code for a
given address than the USPS. I don't know about other countries.

--
Marcelo - http://maps.forum.nu
--

Reply all
Reply to author
Forward
0 new messages