Class MapConfig
Represents a single map in a Maps API client application. The MapConfig is the parent resource of MapContextConfigs and enables custom styling in SDKs (Mobile/Web). A MapConfig can have multiple MapContextConfigs, each applying styling to specific map variants. Next ID = 9;
Implements
Namespace: Google.Maps.MapManagement.V2Beta
Assembly: Google.Maps.MapManagement.V2Beta.dll
Syntax
public sealed class MapConfig : IMessage<MapConfig>, IEquatable<MapConfig>, IDeepCloneable<MapConfig>, IBufferMessage, IMessage
Constructors
MapConfig()
Declaration
public MapConfig()
MapConfig(MapConfig)
Declaration
public MapConfig(MapConfig other)
Parameters
| Type | Name | Description |
|---|---|---|
| MapConfig | other |
Properties
CreateTime
Output only. Denotes the creation time of the Map Config. Output only.
Declaration
public Timestamp CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Description
Optional. The description of this MapConfig, as specified by the user.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Optional. The display name of this MapConfig, as specified by the user.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MapConfigName
MapConfigName-typed view over the Name resource name property.
Declaration
public MapConfigName MapConfigName { get; set; }
Property Value
| Type | Description |
|---|---|
| MapConfigName |
MapFeatures
Optional. The Map Features that apply to this Map Config.
Declaration
public MapFeatures MapFeatures { get; set; }
Property Value
| Type | Description |
|---|---|
| MapFeatures |
MapId
Output only. The Map ID of this MapConfig, used to identify the map in client applications. This read-only field is generated when the MapConfig is created. Output only.
Declaration
public string MapId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MapType
Optional. Represents the Map Type of the MapConfig. If this is unset, the default behavior is to use the raster map type.
Declaration
public MapRenderingType MapType { get; set; }
Property Value
| Type | Description |
|---|---|
| MapRenderingType |
Name
Output only. Identifier. Resource name of this MapConfig. For example: "projects/my-project-123/mapConfigs/234". Output only.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
Output only. Denotes the last update time of the Map Config. Output only.
Declaration
public Timestamp UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |