Thanks Andrew,

Brisbane! Brisbane is like a pimply teenager. Growing way to fast, and
no-one knows how to handle it!

Anyway, .setBaseCountryCode("AU"); did not appear to work for me.
So I tried the other suggestion, which was to append Australia to the
address input. This is not such a bad idea, because we are only
australia-wide.
The good news is that its working really well on cities and postcodes.
Except it doesn't recognise states. Not that it needs to really, but
what would I need to do to achieve this? Get location?

Oh how I wish I was out having fun in Brisbane!



On Mar 27, 10:47 pm, Andrew Leach <[email protected]>
wrote:
> On Mar 27, 12:38 pm, penmeister <[email protected]> wrote:
>
> > Very new to this. But I am over the moon because I have actually got
> > the store locator to work. Except what's wrong with Brisbane??
>
> What's wrong with Brisbane? Where do we start...? [Only kidding]
>
> > Type in
> > Brisbane, and there is no result.
> > It works for Sydney. If there are conflicting latlng for Bris, can I
> > do a javascript/php if statement perhaps?
>
> The code geocodes Brisbane and submits a request 
> forhttp://dev.recyclemybattery.com.au/includes/searchcentres_xml.php?lat...
> which comes back with no markers.
>
> It appears to be locating the wrong Brisbane. Asking for Brisbane AU
> gets it right.
>
> You could add ", Australia" to whatever your user enters, or use
> the .setBaseCountryCode() 
> method.http://code.google.com/apis/maps/documentation/reference.html#GClient...
>
> > And I'd love it if it could work on Australian postcodes, but how??
>
> Try using something like 9999 AU (as above).
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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