?? program.cs
字號(hào):
using System;
using System.Collections.Generic;
using System.Text;
namespace KMLCreator
{
class Program
{
static void Main(string[] args)
{
//Generic List of KML Coords
List<KMLCoordinates> l = new List<KMLCoordinates>();
//Sample KML Coords
l.Add(new KMLCoordinates(0.0, 51.0));
l.Add(new KMLCoordinates(0.2, 51.01));
l.Add(new KMLCoordinates(-0.1, 51.03));
l.Add(new KMLCoordinates(0.03, 51.01));
l.Add(new KMLCoordinates(-0.5, 51.05));
l.Add(new KMLCoordinates(0.5, 51.05));
l.Add(new KMLCoordinates(0.6, 51.06));
//Creates a line here
KMLLine kl = new KMLLine(l, "LineSample", "This is a Line Sample");
kl.Save();
//Sample KML Coords
KMLCoordinates p = new KMLCoordinates(0.25, 51.25);
//Creates a line here
KMLPoint kp = new KMLPoint(p, "PointSample", "This is a Point Sample");
kp.Save();
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -