GoogleApi.ContentWarehouse.V1.Model.GeostoreLandmarkReferenceProto
Table of Contents ▼
Jump to a specific part of the page:
Description
This protocol buffer represents the association between a segment and a landmark feature. Notes: - References to TYPE_SEGMENT features should always point to the even sibling. - Self-references are allowed but the referencing segment's sibling is required to have a self-reference as well (the above requirement to always reference the even sibling still applies).
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
featureType
(type:integer()
, default:nil
)
- The type of the landmark feature. Allowed types: - TYPE_CARTOGRAPHIC e.g. a putting green or water hazard - TYPE_COMPOUND e.g. - the Empire state building (TYPE_COMPOUND_BUILDING)
- a park (TYPE_COMPOUND_GROUNDS)
- a section of a retail store (TYPE_COMPOUND_SECTION)
- TYPE_ESTABLISHMENT e.g. - the Eiffel Tower (TYPE_ESTABLISHMENT_BUILDING)
- a sports field (TYPE_ESTABLISHMENT_GROUNDS)
- Starbucks (TYPE_ESTABLISHMENT_POI)
- TYPE_INTERSECTION_GROUP e.g. a major intersection - TYPE_NATURAL_FEATURE e.g. a river - TYPE_SEGMENT e.g. a bike trail or train tracks -
landmark
(type:GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto
, default:nil
)
- The feature ID of the landmark feature. -
travelMode
(type:list(String.t)
, default:nil
)
- The mode(s) of travel for which this landmark is useful.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreLandmarkReferenceProto{
featureType: integer() | nil,
landmark: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
travelMode: [String.t()] | nil
}
featureType: integer() | nil,
landmark: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
travelMode: [String.t()] | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreLandmarkReferenceProto