Google Groups Home
Help | Sign in
how to reload xml file to url
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
kobe  
View profile
(1 user)  More options Jul 5, 7:08 am
From: kobe <kobe691...@yahoo.com.tw>
Date: Fri, 4 Jul 2008 19:08:16 -0700 (PDT)
Local: Sat, Jul 5 2008 7:08 am
Subject: how to reload xml file to url
Please help me !
i don't know why couldn't reload xml file to show google map

@_____my procedure is :
step 1.
push a button to generate a XMLFile.xml file ,
because i want to show new polyline on google map
step 2.
use vb.net control called webBrower to do ,
WebBrowser1.Navigate("http://localhost:64096/Google%20AP1/
Default.aspx")
step 3 is my question
why nothing be change on url :http://localhost:64096/Google%20AP1/
Default.aspx

my meaning is no new polyline to show , always is old line
it seems not reload xml to webpage.

@_____my asp.net code is following,
GDownloadUrl("XMLFile.xml", function(data) {
          var xml = GXml.parse(data);
          var points =
xml.documentElement.getElementsByTagName("point");
          var pts=[];
                for (var i = 0; i < points.length; i++) {
                    pts[i] = new
GLatLng(parseFloat(points[i].getAttribute("lat")),

parseFloat(points[i].getAttribute("lng")));
                }
                map.setCenter(new
GLatLng(parseFloat(points[0].getAttribute("lat")),parseFloat(points[0].getA ttribute("lng"))),
15);
                var polyline = new GPolyline(pts,"#FF0000",
4)
                map.addOverlay(polyline);
        });
i appreciate any advice.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ralph Ames  
View profile
 More options Jul 5, 7:11 am
From: Ralph Ames <ralph.a...@gmail.com>
Date: Sat, 5 Jul 2008 05:11:37 +0300
Local: Sat, Jul 5 2008 7:11 am
Subject: RE: how to reload xml file to url
Can you provide a link to your map?

Ralph

www.easypagez.com
-


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google