shapes (lines)

Jul 13, 2010 at 9:33 PM

I have the control successfully implemented and the pushpins are working nicely.  I can't seem to figure out the shapes... specifically drawing lines.  I want to be able to draw a line between two coordinates.  How do you do this?

Aug 26, 2010 at 5:09 PM


I have a list of locations, and I plot them this way:

                    List<VEarth.Locations.SearchLocation> lineSegs = new List<VEarth.Locations.SearchLocation>();
			.	.	.
                        loc = new VEarth.Locations.SearchLocation();

                        loc.Latitude = ((GPSPoint)t.points[i]).TAIPPacket.latitude;
                        loc.Longitude = ((GPSPoint)t.points[i]).TAIPPacket.longitude;


			.	.	.

In other words, I create a list of the line segments and then call VE_AddShape.

Hope this helps,