Getting the static map is perhaps the most common location-related activity.
You start by specifying map description, i.e. parameters such as
Once ready, the setup parameters can be used for several purposes:
Resco.Location.Services.Map namespace contains GeoMap class that supports the work with static maps and related helper classes.
GeoMap class implements event-based asynchronous pattern.
Multiple concurrent requests are allowed.
Map can be used to display routes constructed by GeoRoute class.
| Class | Description |
|---|---|
| DownloadMapCompletedEventArgs | Represents a DownloadMapCompleted event arguments. |
| GeoMap | Provides methods for showing and downloading static maps with a possibility of including a markers and highlighting a path. |
| GeoMap.MapOptions | Defines the GeoMap request parameters. |
| GeoMapMarkers | Marker is a graphical object pinpointing a location (or a set of locations) on a map. You can specify various parameters that modify the marker appearance - size, color, label etc. |
| GeoMapPath | Represents a style and points for showing path on Google Maps. |
| Enumeration | Description |
|---|---|
| eImgFormat | Defines the image format of a resulting map image. |
| eMapType | Defines a type of the map view. |
| GeoMapMarkers.eGoogleMarkerSize | Google marker size. Google specifies the size of the marker from the set {tiny, mid, small}. |