Show / Hide Table of Contents

Enum UnitSystem

By default, directions are calculated and displayed using the unit system of the origin's country or region. (Note: origins expressed using latitude/longitude coordinates rather than addresses always default to metric units.) For example, a route from "Chicago, IL" to "Toronto, ONT" will display results in miles, while the reverse route will display results in kilometers.

Namespace:GoogleMaps.Directions
Assembly:GoogleMaps.dll
Syntax
public enum UnitSystem

Fields

Name Description
IMPERIAL

Specifies usage of the Imperial (English) system. Distances are shown using miles.

METRIC

Specifies usage of the metric system. Distances are shown using kilometers.

Back to top Copyright © 2017 GoogleMapControl
Generated by DocFX