Index
MapManagement(interface)CreateMapConfigRequest(message)CreateMapContextConfigRequest(message)CreateStyleConfigRequest(message)DeleteMapConfigRequest(message)DeleteMapContextConfigRequest(message)DeleteStyleConfigRequest(message)GetMapConfigRequest(message)GetMapContextConfigRequest(message)GetStyleConfigRequest(message)ListMapConfigsRequest(message)ListMapConfigsResponse(message)ListMapContextConfigsRequest(message)ListMapContextConfigsResponse(message)ListStyleConfigsRequest(message)ListStyleConfigsResponse(message)MapConfig(message)MapContextConfig(message)MapContextConfig.MapVariant(enum)MapFeatures(message)MapFeatures.SimpleFeature(enum)MapRenderingType(enum)StyleConfig(message)StyleConfigView(enum)UpdateMapConfigRequest(message)UpdateMapContextConfigRequest(message)UpdateStyleConfigRequest(message)
interface MapManagement
Service definition for the Map Management API.
| Methods | |
|---|---|
|
Creates a MapConfig in a project. |
|
Creates a MapContextConfig. |
|
Creates a StyleConfig. |
|
Deletes a MapConfig. |
|
Deletes a MapContextConfig. |
|
Deletes a StyleConfig. |
|
Gets a MapConfig. |
|
Gets a MapContextConfig. |
|
Gets a StyleConfig. |
|
Lists MapConfigs for a project. |
|
Lists MapContextConfigs. |
|
Lists StyleConfigs. |
|
Updates a MapConfig. |
|
Updates a MapContextConfig. |
|
Updates a StyleConfig. |
CreateMapConfigRequest
Request to create a MapConfig.
| Fields | |
|---|---|
parent |
Required. Parent project that will own the MapConfig. Format: |
map_config |
Required. The MapConfig to create. |
CreateMapContextConfigRequest
Request to create a MapContextConfig.
| Fields | |
|---|---|
parent |
Required. Parent MapConfig that will own the MapContextConfig. Format: |
map_context_config |
Required. The MapContextConfig to create. |
CreateStyleConfigRequest
Request to create a StyleConfig.
| Fields | |
|---|---|
parent |
Required. Parent project that will own the StyleConfig. Format: |
style_config |
Required. The StyleConfig to create. |
DeleteMapConfigRequest
Request to delete a MapConfig.
| Fields | |
|---|---|
name |
Required. The name of the MapConfig to delete. Format: |
DeleteMapContextConfigRequest
Request to delete a MapContextConfig.
| Fields | |
|---|---|
name |
Required. The name of the MapContextConfig to delete. Format: |
DeleteStyleConfigRequest
Request to delete a StyleConfig.
| Fields | |
|---|---|
name |
Required. The name of the StyleConfig to delete. Format: |
GetMapConfigRequest
Request to get a MapConfig.
| Fields | |
|---|---|
name |
Required. The name of the MapConfig to retrieve. Format: |
GetMapContextConfigRequest
Request to get a MapContextConfig.
| Fields | |
|---|---|
name |
Required. The name of the MapContextConfig to retrieve. Format: |
GetStyleConfigRequest
Request to get a StyleConfig.
| Fields | |
|---|---|
name |
Required. The name of the StyleConfig to retrieve. Format: |
view |
Optional. The subset of the StyleConfig to return. If this is unset, the default behavior is to return the FULL view. |
ListMapConfigsRequest
Request to list MapConfigs for a project.
| Fields | |
|---|---|
parent |
Required. Parent project that owns the MapConfigs. Format: |
page_size |
Optional. The maximum number of MapConfigs to return. The service may return fewer than this value. If unspecified, at most 50 MapConfigs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. CURRENTLY UNSUPPORTED. |
page_token |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
ListMapConfigsResponse
Response to list MapConfigs.
| Fields | |
|---|---|
map_configs[] |
The list of MapConfigs. |
next_page_token |
A token, which can be sent as |
ListMapContextConfigsRequest
Request to list MapContextConfigs.
| Fields | |
|---|---|
parent |
Required. Parent MapConfig that owns the MapContextConfigs. Format: |
page_size |
Optional. The maximum number of MapContextConfigs to return. The service may return fewer than this value. If unspecified, at most 50 MapContextConfigs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. CURRENTLY UNSUPPORTED. |
page_token |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
ListMapContextConfigsResponse
Response to list MapContextConfigs.
| Fields | |
|---|---|
map_context_configs[] |
The MapContextConfigs. |
next_page_token |
A token, which can be sent as |
ListStyleConfigsRequest
Request to list StyleConfigs.
| Fields | |
|---|---|
parent |
Required. Parent project that owns the StyleConfigs. Format: |
page_size |
Optional. The maximum number of StyleConfigs to return. The service may return fewer than this value. If unspecified, at most 50 StyleConfigs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. CURRENTLY UNSUPPORTED. |
page_token |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
filter |
Optional. Filter expression for the ListStyleConfigs call. Currently only supports filtering by display_name. For example: |
view |
Optional. The subset of the StyleConfig to return. If this is unset, the default behavior is to return the FULL view. |
ListStyleConfigsResponse
Response to list StyleConfigs.
| Fields | |
|---|---|
style_configs[] |
The StyleConfigs. |
next_page_token |
A token, which can be sent as |
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;
| Fields | |
|---|---|
name |
Output only. Identifier. Resource name of this MapConfig. For example: "projects/my-project-123/mapConfigs/234". Output only. |
display_name |
Optional. The display name of this MapConfig, as specified by the user. |
description |
Optional. The description of this MapConfig, as specified by the user. |
map_id |
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. |
map_features |
Optional. The Map Features that apply to this Map Config. |
map_type |
Optional. Represents the Map Type of the MapConfig. If this is unset, the default behavior is to use the raster map type. |
create_time |
Output only. Denotes the creation time of the Map Config. Output only. |
update_time |
Output only. Denotes the last update time of the Map Config. Output only. |
MapContextConfig
Encapsulates the styling configuration for a map. The MapContextConfig associates styling components, such as a StyleConfig and Datasets, with specific map variants of a MapConfig. When the MapConfig is loaded in an SDK, the styling and dataset information from the MapContextConfig are applied to the specified map variants. Next ID = 10;
| Fields | |
|---|---|
name |
Output only. Identifier. Resource name of this MapContextConfig. For example: projects/{project_id}/mapConfigs/{map_id}/mapContextConfigs/{map_context_config_id} |
map_config |
Required. The MapConfig resource name that this MapContextConfig is associated with. Format: projects/{project}/mapConfigs/{map_config}. This field is required and cannot be omitted. |
style_config |
Required. The StyleConfig resource name that is styling this MapContextConfig. This field is required and cannot be omitted. Format: projects/{project}/styleConfigs/{style_config} |
dataset[] |
Optional. The Dataset resource name that is associated with this MapContextConfig. This field is optional and can be omitted. If omitted, no datasets will be associated with the MapContextConfig. If a dataset is specified, it will be applied to the MapContextConfig. Format: projects/{project}/datasets/{dataset} |
alias |
Optional. The user defined human readable name for this MapContextConfig. |
map_variants[] |
Required. The map variants that this MapContextConfig can be applied to. If empty, the MapContextConfig will be default applied to only the ROADMAP map variant. |
create_time |
Output only. Denotes the creation time of the MapContextConfig. Output only. |
update_time |
Output only. Denotes the last update time of the MapContextConfig. Output only. |
MapVariant
Possible Map Variants that the MapContextConfig can be applied to. Map Variants are grouped into Light and Dark variants. A Light variant cannot be paired with a Dark variant for the same MapContextConfig. The Light Variants are: ROADMAP, SATELLITE, TERRAIN, NAVIGATION, TRANSIT, ABSTRACT3D, PHOTOREALISTIC3D. The Dark Variants are: ROADMAP_DARK, NAVIGATION_LOW_LIGHT, TERRAIN_DARK, TRANSIT_DARK.
For example, the following is a valid pairing: {MapContextConfig 1: [ROADMAP, NAVIGATION]} {MapContextConfig 2: [ROADMAP_DARK, NAVIGATION_LOW_LIGHT]}
The following is an invalid pairing: {MapContextConfig 1: [ROADMAP, ROADMAP_DARK]}
| Enums | |
|---|---|
ROADMAP |
The default roadmap map type. |
ROADMAP_DARK |
A dark version of the roadmap map type. |
SATELLITE |
Satellite imagery. |
TERRAIN |
Terrain map type. |
TERRAIN_DARK |
A dark version of the terrain map type. |
NAVIGATION |
Navigation map type. |
NAVIGATION_LOW_LIGHT |
A low light version of the navigation map type. |
TRANSIT |
Transit map type. |
TRANSIT_DARK |
A dark version of the transit map type. |
ABSTRACT3D |
Abstract 3D map type. |
PHOTOREALISTIC3D |
Photorealistic 3D map type. |
MapFeatures
Represents a collection of map features that apply to a MapConfig. Features set on a MapConfig are inherited by all of its child MapContextConfigs. Next ID = 3;
| Fields | |
|---|---|
simple_features[] |
Optional. The visual feature to use for this map. |
poi_boost_level |
Optional. POI Boost level, where 0 denotes no boostings and negative values denotes de-boosting. Boosted POIs are shown at lower zoom than default and vice versa de-boosted. Currently supports 2 levels of boosting, so the level is clamped to [-2, 2]. If not specified, the POI density defined in the style sheet will be used if it exists. Otherwise, no POI density will be applied. |
SimpleFeature
This represents the set of map features that affect the intrinsic structure of the map.
| Enums | |
|---|---|
SIMPLE_FEATURE_UNSPECIFIED |
Unspecified visual feature. |
FLATTEN_BUILDINGS |
Flattens all buildings in the map. |
ICONIC_ICONS |
Influences how icons are rendered. |
MapRenderingType
The type of map to be rendered. The default behavior is RASTER if not specified.
| Enums | |
|---|---|
RASTER |
A map rendered using the raster based implementation. |
VECTOR |
A map rendered using webGL. |
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. Next ID = 9;
| Fields | |
|---|---|
name |
Output only. Identifier. Resource name of this StyleConfig. For example: "projects/my-project-123/styleConfigs/234". |
display_name |
Optional. The display name of this StyleConfig, as specified by the user. |
description |
Optional. The description of this StyleConfig, as specified by the user. |
style_id |
Output only. The unique identifier of this style. This is a read-only field that is generated when the StyleConfig is created. Output only. |
json_style_sheet |
Optional. JSON representation of the style sheet for this StyleConfig. If not specified, the base 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. |
create_time |
Output only. Denotes the creation time of the StyleConfig. |
update_time |
Output only. Denotes the last update time of the StyleConfig. |
StyleConfigView
What subset of the StyleConfig to return.
| Enums | |
|---|---|
STYLE_CONFIG_VIEW_UNSPECIFIED |
Unspecified view. |
FULL |
Include the json_style_sheet in the response. |
METADATA_ONLY |
Exclude the json_style_sheet from the response. |
UpdateMapConfigRequest
Request to update a MapConfig.
| Fields | |
|---|---|
map_config |
Required. The MapConfig to update. The MapConfig's |
update_mask |
Optional. The specific field to update for the MapConfig. If not specified, the MapConfig will be updated in its entirety. Valid fields are:
|
UpdateMapContextConfigRequest
Request to update a MapContextConfig.
| Fields | |
|---|---|
map_context_config |
Required. The MapContextConfig to update. The MapContextConfig's |
update_mask |
Optional. The list of fields to update. If not specified, the MapContextConfig will be updated in its entirety. Valid fields are:
|
UpdateStyleConfigRequest
Request to update a StyleConfig.
| Fields | |
|---|---|
style_config |
Required. The StyleConfig to update. The StyleConfig's |
update_mask |
Optional. The list of fields to update. If not specified, the StyleConfig will be updated in its entirety. Valid fields are:
|