On Sep 30, 12:08 pm, mksteven <[EMAIL PROTECTED]> wrote:
> Hi, I am using java to put maps on a website I am working on.  We
> provide service to the US as well as Canada.  When creating a location
> for google to give a map for, we can input the zipcode or leave it
> out.  Everything works fine when making a US location. However, when
> creating a Canadian location, google only returns half of the postal
> code.  For Example, inputing "T2P 1J2", googlemaps API will only
> return "T2P".  The map gives the correct location.  There is nothing wrong
> with that at all.

I don't see that behavior with the javascript API.

> However, using the geo services from google API with
> java, it creates a location with only half of the canadian postal code.  I was
> just wondering if anyone has run into this type of error before? or if
> anyone knows how this service works?

Are you talking about the javascript Google Maps API or some as yet to
be specified java API?
If I use the Google Maps API Geocoder on that postcode:
http://www.geocodezip.com/example_geo2.asp?addr1=T2P%201J2&geocode=1
I get the full postcode in the returned value:
"PostalCodeNumber": "T2P 1J2"

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to