C# Class Google.Maps.StaticMaps.StaticMapRequest

The Google Static Maps API returns an image (either GIF, PNG or JPEG) in response to a HTTP request via a URL. For each request, you can specify the location of the map, the size of the image, the zoom level, the type of map, and the placement of optional markers at locations on the map.
Afficher le fichier Open project: ericnewton76/gmaps-api-net Class Usage Examples

Méthodes publiques

Свойство Type Description
BaseUri System.Uri

Méthodes publiques

Méthode Description
StaticMapRequest ( ) : System
ToUri ( ) : Uri

Private Methods

Méthode Description
EnsureSensor ( bool throwIfNotSet ) : void
GetColorEncoded ( System.Drawing.Color color, bool useNamedColorIfPossible ) : string

The color encoding for google static maps API puts the alpha last (0xrrggbbaa) whereas .NET encodes it alpha first by default (0xaarrggbb).

GetMarkersStr ( ) : string

Builds markers uri parameter(s)

GetPathEncoded ( Path currentPath ) : string
GetPathsStr ( ) : string

Builds path uri parameter

GetVisibleStr ( ) : string

Builds visible uri parameter

Method Details

StaticMapRequest() public méthode

public StaticMapRequest ( ) : System
Résultat System

ToUri() public méthode

public ToUri ( ) : Uri
Résultat System.Uri

Property Details

BaseUri public_oe static_oe property

public static Uri,System BaseUri
Résultat System.Uri