On 5 December 2011 23:39, [email protected]
<[email protected]> wrote:
>
> Basically, when you type in a query into the search field and press 'submit'
> it returns results (eg if you type in 'Sydney', nodes will appear), I just
> need to know how to make it so the site automatically sends a request when
> it loads, so when the maps starts it displays results for Sydney straight
> away.
>
> Anyone have any ideas?

In your load() function, add a search for Syndey:
searchLocationsNear(new GLatLng(-33.873651,151.206890));

You may have to set the zoom explicitly.

By the way, you're using Version 2 of the API, which (a) is
deprecated; (b) has its own Group at
http://groups.google.com/group/Google-Maps-API/topics

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to