C# Class Mapsui.Samples.Common.Maps.PointsSample

ファイルを表示 Open project: pauldendulk/Mapsui Class Usage Examples

Public Methods

Method Description
CreateMap ( ) : Map
CreateProviderWithRandomPoints ( BoundingBox envelope, int count = 100 ) : MemoryProvider
GenerateRandomPoints ( BoundingBox envelope, int count = 25 ) : IEnumerable

Private Methods

Method Description
CreateFeatures ( IEnumerable randomPoints ) : Features
CreateRandomPointLayer ( BoundingBox envelope, int count = 25, IStyle style = null ) : ILayer

Method Details

CreateMap() public static method

public static CreateMap ( ) : Map
return Map

CreateProviderWithRandomPoints() public static method

public static CreateProviderWithRandomPoints ( BoundingBox envelope, int count = 100 ) : MemoryProvider
envelope BoundingBox
count int
return Mapsui.Providers.MemoryProvider

GenerateRandomPoints() public static method

public static GenerateRandomPoints ( BoundingBox envelope, int count = 25 ) : IEnumerable
envelope BoundingBox
count int
return IEnumerable