shapes (lines)

Jul 13, 2010 at 8: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 4: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,