C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BaseUri System.Uri

Открытые методы

Метод Описание
StaticMapRequest ( ) : System
ToUri ( ) : Uri

Приватные методы

Метод Описание
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

Описание методов

StaticMapRequest() публичный Метод

public StaticMapRequest ( ) : System
Результат System

ToUri() публичный Метод

public ToUri ( ) : Uri
Результат System.Uri

Описание свойств

BaseUri публичное статическое свойство

public static Uri,System BaseUri
Результат System.Uri