how to plot multiple polylines in virtual earth

Sep 22, 2006 at 7:53 AM
I have embedded virtual earth map in my webpage.
I have written a code to plot multiple polylines connected one another

the code doesn't plot multiple lines
i am newbie to jscript
here is the jscript function i have written

function GetMap()
var lat1 = 13.05386; //starting latitude
var lon1 = 80.19887; //starting longitude
var lat2 = lat1 + 0.005; //incrementing
var lon2 = lon1 + 0.005; //
var x = 0;
var poly = new Array();
map = new VEMap('myMap');
while(x < 5)
points = new Array( new VELatLong(lat1,lon1),new VELatLong(lat2,lon2));
polyx = new VEPolyline('1',points);
polyx.SetColor(new VEColor(0,150,100,1.0));
lat1 = lat2;
lon1 = lon2;
lat2 = lat2 + 0.005;
lon2 = lon2 + 0.005;

help me..plz
Thanks in advance
Sep 22, 2006 at 6:55 PM
This forum is for issues related to CodePlex only. If you're asking about a project found on the site, please try posting this question in the Discussion forum of that project. If not, try searching for assistance at