AFComponents.com

Polyline
Date: Aug 29, 2007   Views: 1449  
Question:
Can i use polyline?
Answer:

andreit (Admin)
Yes, you can use addLine method to add polylines. Here is the example:

//Create array of points
var linePoints:Array = new Array();

//Add Denver location
linePoints.push({lat:39.740038,lng:-104.992272});

//Add Miami location
linePoints.push({lat:25.728989,lng:-80.237446});

//Create line
gMap.addLine({points:linePoints});


© 2005-2007 advanced flash components