List

Retrieves a list of styles

3 variables
44 variables

Retrieves a list of styles

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage your Fusion Tables
  • View your Fusion Tables

Input

This building block consumes 3 input parameters

  = Parameter name
  = Format

tableId STRING Required

Table whose styles are being listed

maxResults INTEGER

Maximum number of styles to return. Optional. Default is 5

pageToken STRING

Continuation token specifying which result page to return. Optional

Output

This building block provides 44 output parameters

  = Parameter name
  = Format

items[] OBJECT

Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId

items[].kind STRING

The kind of item this is. A StyleSetting contains the style definitions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions

items[].markerOptions OBJECT

Represents a PointStyle within a StyleSetting

items[].markerOptions.iconName STRING

Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519

items[].markerOptions.iconStyler OBJECT

Represents a StyleFunction within a StyleSetting

items[].markerOptions.iconStyler.columnName STRING

Name of the column whose value is used in the style

items[].markerOptions.iconStyler.gradient OBJECT

Gradient function that interpolates a range of colors based on column value

items[].markerOptions.iconStyler.kind STRING

Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls

items[].name STRING

Optional name for the style setting

items[].polygonOptions OBJECT

Represents a PolygonStyle within a StyleSetting

items[].polygonOptions.fillColor STRING

Color of the interior of the polygon in #RRGGBB format

items[].polygonOptions.fillColorStyler OBJECT

Represents a StyleFunction within a StyleSetting

items[].polygonOptions.fillColorStyler.columnName STRING

Name of the column whose value is used in the style

items[].polygonOptions.fillColorStyler.gradient OBJECT

Gradient function that interpolates a range of colors based on column value

items[].polygonOptions.fillColorStyler.kind STRING

Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls

items[].polygonOptions.fillOpacity NUMBER

Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque)

items[].polygonOptions.strokeColor STRING

Color of the polygon border in #RRGGBB format

items[].polygonOptions.strokeColorStyler OBJECT

Represents a StyleFunction within a StyleSetting

items[].polygonOptions.strokeColorStyler.columnName STRING

Name of the column whose value is used in the style

items[].polygonOptions.strokeColorStyler.gradient OBJECT

Gradient function that interpolates a range of colors based on column value

items[].polygonOptions.strokeColorStyler.kind STRING

Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls

items[].polygonOptions.strokeOpacity NUMBER

Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque)

items[].polygonOptions.strokeWeight INTEGER

Width of the polyon border in pixels

items[].polygonOptions.strokeWeightStyler OBJECT

Represents a StyleFunction within a StyleSetting

items[].polygonOptions.strokeWeightStyler.columnName STRING

Name of the column whose value is used in the style

items[].polygonOptions.strokeWeightStyler.gradient OBJECT

Gradient function that interpolates a range of colors based on column value

items[].polygonOptions.strokeWeightStyler.kind STRING

Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls

items[].polylineOptions OBJECT

Represents a LineStyle within a StyleSetting

items[].polylineOptions.strokeColor STRING

Color of the line in #RRGGBB format

items[].polylineOptions.strokeColorStyler OBJECT

Represents a StyleFunction within a StyleSetting

items[].polylineOptions.strokeColorStyler.columnName STRING

Name of the column whose value is used in the style

items[].polylineOptions.strokeColorStyler.gradient OBJECT

Gradient function that interpolates a range of colors based on column value

items[].polylineOptions.strokeColorStyler.kind STRING

Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls

items[].polylineOptions.strokeOpacity NUMBER

Opacity of the line : 0.0 (transparent) to 1.0 (opaque)

items[].polylineOptions.strokeWeight INTEGER

Width of the line in pixels

items[].polylineOptions.strokeWeightStyler OBJECT

Represents a StyleFunction within a StyleSetting

items[].polylineOptions.strokeWeightStyler.columnName STRING

Name of the column whose value is used in the style

items[].polylineOptions.strokeWeightStyler.gradient OBJECT

Gradient function that interpolates a range of colors based on column value

items[].polylineOptions.strokeWeightStyler.kind STRING

Stylers can be one of three kinds: "fusiontables#fromColumn if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if the styling of the row is to be based on applying the gradient function on the column value; or fusiontables#buckets if the styling is to based on the bucket into which the the column value falls

items[].styleId INTEGER

Identifier for the style setting (unique only within tables)

items[].tableId STRING

Identifier for the table

kind STRING

The kind of item this is. For a style list, this is always fusiontables#styleSettingList

nextPageToken STRING

Token used to access the next page of this result. No token is displayed if there are no more styles left

totalItems INTEGER

Total number of styles for the table