Exemple #1
0
 public ProxyTile(ITileServer server, Vec2 point)
 {
     this.loaded = false;
     this.point = point;
     this.server = server;
     this.tile = new Tile (point, 0);
 }
Exemple #2
0
 public ProxyTile(ITileServer server, Vec2 point)
 {
     this.loaded = false;
     this.point  = point;
     this.server = server;
     this.tile   = new Tile(point, 0);
 }
Exemple #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);
        }
Exemple #4
0
 public ProxyTileFactory(ITileServer server)
 {
     this.server = server;
 }
 public TimedProxyTileFactory(ITileServer server, float timeOut)
 {
     this.timeOut = timeOut;
     this.server = server;
 }
Exemple #6
0
 public TimedProxyTileFactory(ITileServer server, float timeOut)
 {
     this.timeOut = timeOut;
     this.server  = server;
 }
 public ProxyTileFactory(ITileServer server)
 {
     this.server = server;
 }