Initializes the synchronous map image request.
A Bitmap object representing the resulting map image.
A call to this method blocks the calling thread until the request completes. It either returns a valid Bitmap object or throws a ServiceRequestException describing an error that occurred during the request processing.
Calling this method from the main thread is not recommended. Mind that the request makes a HTTP connection to the location service provider and downloads the result from Internet. Consider using the asynchronous method DownloadMapAsync to do this job on a background thread.
| Exception Type | Condition |
|---|---|
| ServiceRequestException | Map image request failed |
| NotSupportedException | A service provider specified by ServiceProvider property does not support this kind of service. |
GeoMap Class | Resco.Location.Services.Map Namespace