Show / Hide Table of Contents

Class StyleConfig

Represents a single style in a Maps API client application. The StyleConfig contains the style sheet that defines the visual appearance of the map.

Inheritance
object
StyleConfig
Implements
IMessage<StyleConfig>
IEquatable<StyleConfig>
IDeepCloneable<StyleConfig>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.MapManagement.V2
Assembly: Google.Maps.MapManagement.V2.dll
Syntax
public sealed class StyleConfig : IMessage<StyleConfig>, IEquatable<StyleConfig>, IDeepCloneable<StyleConfig>, IBufferMessage, IMessage

Constructors

StyleConfig()

Declaration
public StyleConfig()

StyleConfig(StyleConfig)

Declaration
public StyleConfig(StyleConfig other)
Parameters
Type Name Description
StyleConfig other

Properties

CreateTime

Output only. Denotes the creation time of the StyleConfig.

Declaration
public Timestamp CreateTime { get; set; }
Property Value
Type Description
Timestamp

Description

Optional. The description of this StyleConfig, as specified by the user.

Declaration
public string Description { get; set; }
Property Value
Type Description
string

DisplayName

Optional. The display name of this StyleConfig, as specified by the user.

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
string

JsonStyleSheet

Optional. JSON representation of the style sheet for this StyleConfig. If not specified or if provided as an empty string, the base unstyled Google map style will be used. See https://developers.google.com/maps/documentation/javascript/cloud-customization/json-reference for more details on the acceptable JSON format. If both style_sheet and json_style_sheet are filled out, style_sheet takes precedence.

Declaration
public string JsonStyleSheet { get; set; }
Property Value
Type Description
string

Name

Output only. Identifier. Resource name of this StyleConfig. For example: "projects/my-project-123/styleConfigs/234".

Declaration
public string Name { get; set; }
Property Value
Type Description
string

StyleConfigName

StyleConfigName-typed view over the Name resource name property.

Declaration
public StyleConfigName StyleConfigName { get; set; }
Property Value
Type Description
StyleConfigName

StyleId

Output only. The unique identifier of this style. This is a read-only field that is generated when the StyleConfig is created. Output only.

Declaration
public string StyleId { get; set; }
Property Value
Type Description
string

StyleSheet

Optional. The style sheet for this StyleConfig, represented as a raw JSON object. If both style_sheet and json_style_sheet are filled out, style_sheet takes precedence. See https://developers.google.com/maps/documentation/javascript/cloud-customization/json-reference for more details on the acceptable JSON format.

Declaration
public Struct StyleSheet { get; set; }
Property Value
Type Description
Struct

UpdateTime

Output only. Denotes the last update time of the StyleConfig.

Declaration
public Timestamp UpdateTime { get; set; }
Property Value
Type Description
Timestamp
In this article
Back to top Generated by DocFX