Skip to end of metadata
Go to start of metadata

Represent an utility class to perform various map operation.

Definition

public static class MapUtility

Summary

The following table summarizes the members exposed in this class.

Static Methods

CallDirectionsAPI(DirectionsRequest) Performs a call to Google Directions API.
CallGeocodingAPI(GeocodingRequest) Performs a call to Google Geocoding API.
ResolveMarkerAdapter(MapView) Gets the marker adapter for the specified map view.
ResolvePolylineAdapter(MapView) Gets the polyline adapter for the specified map view.

Static Methods

public static DirectionsResponse CallDirectionsAPI(DirectionsRequest request)

Performs a call to Google Directions API.

Parameters

request The request.

Return Types

The response.

public static GeocodingResponse CallGeocodingAPI(GeocodingRequest request)

Performs a call to Google Geocoding API.

Parameters

request The request.

Return Types

The response.

public static MarkerAdapter ResolveMarkerAdapter(MapView mapView)

Gets the marker adapter for the specified map view.

Parameters

mapView The map view.

Return Types

The marker adapter.

public static PolylineAdapter ResolvePolylineAdapter(MapView mapView)

Gets the polyline adapter for the specified map view.

Parameters

mapView The map view.

Return Types

The polyline adapter.
  • No labels