C# Class IsraelHiking.API.Services.ImageCreationService

Inheritance: IImageCreationService
显示文件 Open project: IsraelHikingMap/Site Class Usage Examples

Public Methods

Method Description
Create ( DataContainer dataContainer ) : Task
ImageCreationService ( IHttpGatewayFactory httpGatewayFactory, ILogger logger ) : System

Private Methods

Method Description
ConvertLatLngZToPoint ( LatLngZ latLng, BackgroundImage backgroundImage ) : PointF
CreateSingleImageFromTiles ( Point topLeft, Point bottomRight, int zoom, string addressTemplate ) : Task
DrawRouteOnImage ( Image image, IEnumerable pointsByRoute ) : void
GetAddressTemplate ( DataContainer dataContainer ) : string
GetBackGroundImage ( string addressTemplate, LatLng allLocations ) : Task
GetTileImage ( int x, int y, int zoom, string addressTemplate ) : Task
GetXTile ( double longitude, double n ) : double
GetYTile ( double latitude, double n ) : double
InitBackgroundImageTiles ( LatLng allLocations ) : BackgroundImage
UpdateImageRectangle ( Point &topLeft, Point &bottomRight ) : void

Method Details

Create() public method

public Create ( DataContainer dataContainer ) : Task
dataContainer IsraelHiking.Common.DataContainer
return Task

ImageCreationService() public method

public ImageCreationService ( IHttpGatewayFactory httpGatewayFactory, ILogger logger ) : System
httpGatewayFactory IHttpGatewayFactory
logger ILogger
return System