On Aug 26, 12:54 pm, "[email protected]" <[email protected]>
wrote:
> On Aug 25, 6:04 pm, Nathan <[email protected]> wrote:
>
> > Hi guys,
>
> > page of interest:http://isellhome.com.au/en_Sell+or+Rent+Your+Property.html
> > type into address field: Smithfield State High
>
> I get an error when I do that.  Why would you expect the geocoder to
> return a result for a school?  That really isn't an address, I think
> you are lucky to get a returned result.
>
>   -- Larry
>

I have placed some debug alerts into the javascript to display the
resulting AddressDetails object, although none of these appear when
typing in "smithfield state high".
The problem I have is not any lack of address as such, It's the fact
that it returned a valid lat/long and a place.Address = "Smithfield
State High School, Smithfield QLD 4879, Australia", but the
place.AddressDetails only contains " { Accuracy: 9, AddressLine:  { 0:
Smithfield State High School }  } ". I'm not expecting that this is
immediately fixed or whatever, and I guess I can just do some funky
logic to get the Suburb/State/Postcode/Country from the address text,
but I just thought posting it here might be worth it to maybe see if
there are ways around it, or if the issue might be included in a
future update.

As for the address, "2-60 O'brien Road Smithfield" doesn't seem to
fare much better...

>
>
>
>
> > I'm writing a website that I uses information from the Google Maps API
> > and Geocoding. I am trying to use the geocode information to extract
> > the Suburb/Postcode/State/Country details for local points of interest
> > (in this case a local school) so that I can return a list of
> > properties in the vacinity. The problem is that when I receive
> > callback information from getLocations, although the Suburb/Postcode/
> > State/Country is returned in the address field, none of this
> > information is in the AddressDetails object.
>
> > Does this have anything to do with the Accuracy being 9 for this
> > location, and is there any way around this?
>
> > Thanks,
> > Nathan.
--~--~---------~--~----~------------~-------~--~----~
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