Skip to main content

DirectionsName

サマリー

A set of names that the directions engine may output or use during the generation of directions.

ディスカッション

If the fullName property is empty, a name is generated using the values of the fields (separated by a space): prefixDirection, prefixType, base, suffixType, suffixDirection, and highwayDirection.

プロパティ

名前 説明 データ タイプ

baseName

(読み取り/書き込み)

The base name of the element, for example, Main.

String

fullName

(読み取り/書き込み)

The full name of the element that will be displayed. If this property is not populated, the name generator will generate a value from the existing components.

String

highwayDirection

(読み取り/書き込み)

The highway direction component, for example, N.

String

language

(読み取り/書き込み)

The language used for the elements, for example, en.

String

nameClass

(読み取り/書き込み)

The optional class of the name. It can be of type "None" also.

  • StreetName—The ordinary street name, for example, Lake St in which Lake is the name and St is the suffix type.

  • RouteNumber—The route number, for example, CR-J22 N in which CR-J22 is the name and N is the direction.

NameClass

phrase

(読み取り/書き込み)

The phase to help generate directions for landmarks, for example, before the 7-Eleven.

String

prefixDirection

(読み取り/書き込み)

The direction prefix of the name, for example, North.

String

prefixType

(読み取り/書き込み)

The type of base name that appears before the name, for example, Boulevard from the full street name "Boulevard Bahía de la Paz".

String

suffixDirection

(読み取り/書き込み)

The direction suffix of the element name, for example, North.

String

suffixType

(読み取り/書き込み)

The type of base name that appears after the name, for example, Ave.

String