示例#1
0
 public ProxyTile(ITileServer server, Vec2 point)
 {
     this.loaded = false;
     this.point = point;
     this.server = server;
     this.tile = new Tile (point, 0);
 }
示例#2
0
文件: ProxyTile.cs 项目: hnjm/tilemap
 public ProxyTile(ITileServer server, Vec2 point)
 {
     this.loaded = false;
     this.point  = point;
     this.server = server;
     this.tile   = new Tile(point, 0);
 }
示例#3
0
        public FormMap(Form callingForm)
        {
            //get copy of the calling main form
            mf = callingForm as FormGPS;

            InitializeComponent();

            mapControl.CacheFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MapControl");

            ITileServer[] tileServers = new ITileServer[]
            {
                new BingMapsHybridTileServer(),
                new BingMapsRoadsTileServer(),
                new OpenStreetMapTileServer(userAgent: "Map Control AgOpenGPS"),
                new OfflineTileServer(),
                new BingMapsAerialTileServer(),
            };

            cmbTileServers.Items.AddRange(tileServers);
            cmbTileServers.SelectedIndex = 0;
            mapControl.Tracks.Add(bingLine);
        }
示例#4
0
 public ProxyTileFactory(ITileServer server)
 {
     this.server = server;
 }
 public TimedProxyTileFactory(ITileServer server, float timeOut)
 {
     this.timeOut = timeOut;
     this.server = server;
 }
示例#6
0
 public TimedProxyTileFactory(ITileServer server, float timeOut)
 {
     this.timeOut = timeOut;
     this.server  = server;
 }
示例#7
0
 public ProxyTileFactory(ITileServer server)
 {
     this.server = server;
 }