> I thought you said you already had SQL supplying marker information in > XML form, although I can't see that implemented in your present map. > Anyways, you could use GDownloadUrl() to supply some parameters (like > centrepoint, radius) to a server-side script that responds with XML of > the marker information. This client-side side of things is covered > in the example you've looked at. The SQL side of things is covered, > searching a range ot lat/longs, is also covered there. The > principles of the server-side script are outlined in php of course, so > you'll have to convert to c#, but you already have much of that if you > have XML output working.
Thats exactly the type of thing I was looking for! I think I've almost got it, just one thing (hopefully) stopping it. I've got a web service which takes a the users search text as a parameter and returns a XMLDocument (is this an ok type?) of the results. I then pass this to the the map to set up the pointers. I am having trouble with the parameters of the javascript. If I don't pass any parameters and send back some default results it works fine. I'm not sure where I put the search parameter in the method call. Example: My web service method is : public XmlDocument GetXmlDocument() An onclick() button calls the javascript :function GetXmlDocument() This function calls the web service method via : Service.GetXmlDocument (SucceededCallbackWithContext, FailedCallback,"XmlDocument") This works fine. If I want to pass the search parameter, where would I put it in the 'Service.GetXmlDocument(.....) method? I have now put the latest code on my site (http:// www.constructiondirectory.co.uk/new/mapsearch.aspx) and you can see where I have tried passing it. Many thanks for the help! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
