I have coded up the google store locator http://www.mrsc.co.uk/search_map.html
- my final requirement is to have some sort of default search on load
or pre loading of the mysql query so that on first loading the page,
all the markers are visible.

I've been playing around with

     var searchUrl = 'phpsqlsearch_genxml.php?lat=' + center.lat() +
'&lng=' + center.lng() + '&radius=' + radius;
     GDownloadUrl(searchUrl, function(data) {

but I can't seem to come up with a default search without breaking the
search functionality. This seems like it should be pretty simple, I
have looked at example code such as http://econym.org.uk/gmap/example_map3.htm
but I can't seem to figure out how to meld the two together. Anyone
got some pointers?

TIA.


--~--~---------~--~----~------------~-------~--~----~
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