private static void LoadBingRoad(LayerHelper layerHelper)
        {
            var bingRoad = new BaseTileLayer(new BingTileSource(new BingRequest("http://h3.ortho.tiles.virtualearth.net/tiles", null, BingMapType.Roads)))
            {
                LayerName = "Bing Road",
                TumbnailPath = "Resources/Images/bingStreet.jpg",
                CopyrightImage = "Resources/Images/bing.png",
                Enabled = false
            };

            layerHelper.AddBaseLayer(bingRoad);
        }
        private static void LoadOsmMapnik(LayerHelper layerHelper)
        {
            var osmLayer = new BaseTileLayer(new OsmTileSource())
            {
                LayerName = "OSM",
                TumbnailPath = "Resources/Images/osm.png",
                CopyrightText = "CC-BY-SA Open Street Map and Contributors",
                Enabled = false
            };

            layerHelper.AddBaseLayer(osmLayer);
        }
Exemple #3
0
        private static void LoadBingRoad(LayerHelper layerHelper)
        {
            var bingRoad = new BaseTileLayer(new BingTileSource(new BingRequest("http://h3.ortho.tiles.virtualearth.net/tiles", null, BingMapType.Roads)))
            {
                LayerName      = "Bing Road",
                TumbnailPath   = "Resources/Images/bingStreet.jpg",
                CopyrightImage = "Resources/Images/bing.png",
                Enabled        = false
            };

            layerHelper.AddBaseLayer(bingRoad);
        }
Exemple #4
0
        private static void LoadOsmMapnik(LayerHelper layerHelper)
        {
            var osmLayer = new BaseTileLayer(new OsmTileSource())
            {
                LayerName     = "OSM",
                TumbnailPath  = "Resources/Images/osm.png",
                CopyrightText = "CC-BY-SA Open Street Map and Contributors",
                Enabled       = false
            };

            layerHelper.AddBaseLayer(osmLayer);
        }
Exemple #5
0
        private static void LoadEsriImagery(LayerHelper layerHelper)
        {
            var tileSource = new ArcGisTileSource("http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer", EsriWorldSchema.GetSchema());
            var esri       = new BaseTileLayer(tileSource)
            {
                LayerName      = "World Imagery",
                TumbnailPath   = "Resources/Images/world_imagery.png",
                CopyrightImage = "Resources/Images/esriLogo.png",
                Enabled        = true
            };

            layerHelper.AddBaseLayer(esri);
        }
        private static void LoadEsriImagery(LayerHelper layerHelper)
        {
            var tileSource = new ArcGisTileSource("http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer", EsriWorldSchema.GetSchema());
            var esri = new BaseTileLayer(tileSource)
            {
                LayerName = "World Imagery",
                TumbnailPath = "Resources/Images/world_imagery.png",
                CopyrightImage = "Resources/Images/esriLogo.png",
                Enabled = true
            };

            layerHelper.AddBaseLayer(esri);
        }