Google.Maps.Feature.StructureMetadata

A Unity-independent representation of immutable properties of a structure. For example, of an extruded or modeled building.

Summary

Inheritance

Inherits from: Google.Maps.Feature.MapFeatureMetadata

Constructors and Destructors

StructureMetadata(string placeId, string name, UsageType usage)
The StructureMetadata class constructor.

Public types

UsageType{
  Unspecified,
  Bar,
  Bank,
  Lodging,
  Cafe,
  Restaurant,
  EventVenue,
  TouristDestination,
  Shopping,
  School
}
enum
A set of values that specify how a Structure is used.

Public attributes

Usage
readonly UsageType
Specifies the way in which the Structure is used.

Public types

UsageType

 UsageType

A set of values that specify how a Structure is used.

Properties
Bank

A financial institution that accepts deposits from the public, and creates credit.

Bar

A retail business establishment that serves alcoholic beverages, such as beer, wine, and liquor.

Cafe

A retail business establishment that sells coffee, tea, and sometimes light meals.

EventVenue

A public or private location that hosts performances or sporting events.

Lodging

A type of residential accommodation. People who travel and stay away from home for more than a day need lodging for sleep, food, and shelter.

Restaurant

A retail business establishment that prepares and serves food and drinks to customers in exchange for money.

School

Institution where young people receive general (not vocation or professional) education.

Shopping

A public location that contains retail businesses (a shopping center).

TouristDestination

A place of interest to tourists, typically for natural or cultural value.

Unspecified

The usage type is unspecified.

Public attributes

Usage

readonly UsageType Usage

Specifies the way in which the Structure is used.

Public functions

StructureMetadata

 StructureMetadata(
  string placeId,
  string name,
  UsageType usage
)

The StructureMetadata class constructor.

Details
Parameters
placeId
The Place ID.
name
The name of this feature, used to name generated Unity objects.
usage
The way in which the Structure is used.

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution