C# Class At.FF.Krems.Configuration.Google.StaticMaps.StaticMapsEngine

Creates a URL to google's static map according to propery filled up StaticMapsRequest http://code.google.com/apis/maps/documentation/staticmaps/
显示文件 Open project: Grisu-NOE/Infoscreen

Protected Properties

Property Type Description
BaseUrl string

Public Methods

Method Description
GenerateStaticMapUrl ( StaticMapRequest request ) : string

Generates the static map URL.

Private Methods

Method Description
ColorToHexConverter ( Color color ) : string

Convert Color to hex string.

StaticMapsEngine ( ) : System

Initializes static members of the StaticMapsEngine class.

Method Details

GenerateStaticMapUrl() public method

Generates the static map URL.
/// Size is invalid /// or /// Marker style color can't be empty /// or /// Path style color can't be empty /// /// Request image format is unknown. ///
public GenerateStaticMapUrl ( StaticMapRequest request ) : string
request StaticMapRequest The request.
return string

Property Details

BaseUrl protected_oe static_oe property

The base URL
protected static string BaseUrl
return string