Esempio n. 1
0
        public static Map CreateMap()
        {
            var map = new Map();

            map.Layers.Add(OsmSample.CreateLayer());
            map.Layers.Add(new RasterizingLayer(CreateRandomPointLayer()));
            return(map);
        }
Esempio n. 2
0
        public static Map CreateMap()
        {
            var map = new Map();

            map.Layers.Add(OsmSample.CreateLayer());
            map.Layers.Add(CreateRandomPointLayer(map.Envelope));
            return(map);
        }
Esempio n. 3
0
        public static Map CreateMap()
        {
            var map = new Map();

            map.Layers.Add(OsmSample.CreateLayer());
            map.Layers.Add(CreateLayer());
            return(map);
        }
Esempio n. 4
0
        public static Map CreateMap()
        {
            var map = new Map();

            map.Layers.Add(OsmSample.CreateLayer());
            var provider = PointsSample.CreateRandomPointsProvider(map.Envelope);

            map.Layers.Add(CreateLabelLayer(provider));
            map.Layers.Add(CreateLayer(provider));
            return(map);
        }
Esempio n. 5
0
        public static Map CreateMap()
        {
            var map = new Map();

            map.Layers.Add(OsmSample.CreateLayer());
            var provider = PointsSample.CreateProviderWithRandomPoints(map.Envelope);

            map.Layers.Add(CreateStackedLabelLayer(provider, LabelColumn));
            map.Layers.Add(CreateLayer(provider));
            return(map);
        }
Esempio n. 6
0
        public static Map CreateMap()
        {
            var map = new Map();

            map.Layers.Add(OsmSample.CreateLayer());
            var randomPointLayer = CreateRandomPointLayer(PointsSample.CreateRandomPointsProvider(map.Envelope));

            map.Layers.Add(randomPointLayer);
            map.InfoLayers.Add(randomPointLayer);
            return(map);
        }
Esempio n. 7
0
        public static Map CreateMap()
        {
            var map = new Map
            {
                Transformation = new MinimalTransformation(),
                CRS            = "EPSG:3857"
            };

            map.Layers.Add(OsmSample.CreateLayer());
            map.Layers.Add(CreateWgs84PointLayer());
            return(map);
        }
Esempio n. 8
0
        public static Map CreateMap()
        {
            var map = new Map();

            map.Layers.Add(OsmSample.CreateLayer());
            map.Layers.Add(CreateInfoLayer(map.Envelope));
            map.Layers.Add(CreateHoverInfoLayer(map.Envelope));

            map.InfoLayers.Add(map.Layers.First(l => l.Name == InfoLayerName));
            map.HoverInfoLayers.Add(map.Layers.First(l => l.Name == HoverInfoLayerName));

            return(map);
        }