It's the 15th anniversary of Google Maps Platform - Check out the latest news and announcements

Google.Maps.Feature.Style.Attachment.StyleAttachment

Attaches styling settings to any MapsService components residing on the same GameObject.

Summary

Inheritance

Inherits from: MonoBehaviour

Public attributes

AreaWaterStyleSettings
Style settings for area water features.
ExtrudedStructureStyleSettings
Style settings for extruded structure features.
LineWaterStyleSettings
Style settings for line water features.
ModeledStructureStyleSettings
Style settings for modeled structure features.
RegionStyleSettings
Style settings for region features.
SegmentStyleSettings
Style settings for segment features.

Public functions

GetSettings()
IEnumerable< AbstractStyleSettings >
Enumerate all of the attached AbstractStyleSettings instances.
UpdateGameObjectOptions(GameObjectOptions gameObjectOptions)
void
Update a GameObjectOptions instance with the style settings attached to this attachment.

Public attributes

AreaWaterStyleSettings

AreaWaterStyleSettings AreaWaterStyleSettings

Style settings for area water features.

ExtrudedStructureStyleSettings

ExtrudedStructureStyleSettings ExtrudedStructureStyleSettings

Style settings for extruded structure features.

LineWaterStyleSettings

LineWaterStyleSettings LineWaterStyleSettings

Style settings for line water features.

ModeledStructureStyleSettings

ModeledStructureStyleSettings ModeledStructureStyleSettings

Style settings for modeled structure features.

RegionStyleSettings

RegionStyleSettings RegionStyleSettings

Style settings for region features.

SegmentStyleSettings

SegmentStyleSettings SegmentStyleSettings

Style settings for segment features.

Public functions

GetSettings

IEnumerable< AbstractStyleSettings > GetSettings()

Enumerate all of the attached AbstractStyleSettings instances.

Details
Returns
An enumerator for all of the attached AbstractStyleSettings instances.

UpdateGameObjectOptions

void UpdateGameObjectOptions(
  GameObjectOptions gameObjectOptions
)

Update a GameObjectOptions instance with the style settings attached to this attachment.

Details
Parameters
gameObjectOptions
The GameObjectOptions to update.