Here's a C# Example:
HttpWebRequest DirectionsRequest = WebRequest.Create(GoogleMapsUrl) as
HttpWebRequest;
using (HttpWebResponse DirectionsResponse =
DirectionsRequest.GetResponse() as HttpWebResponse)
using (System.IO.StreamReader DirectionsResponseStream = new
System.IO.StreamReader(DirectionsResponse.GetResponseStream(),
System.Text.Encoding.UTF8))
{
System.Xml.XPath.XPathDocument = new
System.Xml.XPath.XPathDocument(DirectionsResponseStream);
//Use XML Here
}
Chad Killingsworth
On Jun 24, 11:12 am, Kyle <[email protected]> wrote:
> I've added error handling to the Javascript version thanks to your
> example. All is good, just a slow process, I'm just having issues with
> replicating the logic on the server side VB. There's no good
> documentation out there for the WebRequest functionality (VB or C#
> with XML)
--
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.