You are here: Stylers > GoogleMapsEngineStyler


Provides an interface to define layer creation and styling options for use with the Google Maps Engine Tables writer. This transformer is intended for users who are already familiar with the concepts of vector tables, layers, and layer styling in Google Maps Engine, and are looking to automate their workflows. Users who are not familiar with these concepts should first try Google’s tutorial at before using this transformer.

This transformer creates format attributes that are only recognized by the Google Maps Engine writer. These format attributes comprise the definition of a layer, and the presence of one or more of these format attributes will trigger layer creation.

Note that the Google Maps Engine Tables writer will not create layers when writing to a vector table that already exists on Google Maps Engine. When working with existing vector tables, all layer creation and styling options will be ignored.

Important Considerations

  • Display Rule names are arbitrary, and do not need to be unique.
  • The Filters section for each Display Rule defines filters that are passed along in the Display Rule definition that is supplied to Google Maps Engine. These filters are not evaluated by FME. GME Table Property Name in the Filters section must match a user attribute on the Google Maps Engine writer feature type. As filter definitions are not evaluated by FME, it is only possible to define filters based on attributes (properties) that will be present on the schema of the created vector table.
  • The order of Display Rules is significant. For each feature, Google Maps Engine goes down the list of Display Rules. If the feature matches all the filters defined in the Display Rule, then that Display Rule is used to style the feature. No further Display Rules are evaluated, and only one Display Rule can be applied per feature. If the matched Display Rule doesn’t contain styling options appropriate for the geometry of the feature, the feature may appear invisible on the layer.


Layer Info

Display Rules

This table defines the Display Rules used to style features in the layer. Each row represents a single Display Rule.

Each Display Rule can contain styling options for points, lines, and polygons, as well as filtering criteria to specify which zoom levels and features for which the rule is valid. The order of Display Rules is significant: for each feature, Google Maps Engine goes down the list of Display Rules and selects the first rule for which the feature matched all filtering criteria. If the matched Display Rule does not specify styling for the feature’s geometry type, the feature will not be visible in the layer.

This table sets the gme_layer_style format attribute. The value will be JSON, even if the table is empty. If no rules are specified, the Google Maps Engine Tables writer will create a layer that adopts the default styling rules from Google.

Additional References

For more information about the Google Maps Engine Tables writer, see the Google Maps Engine Tables writer chapter in the FME Readers and Writers manual. In Workbench, select Help > FME Readers and Writers Reference.

For more information about the options available, refer to the API documentation at

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories


FME Licensing Level

FME Professional edition and above


Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.

Tags Keywords: "Google Maps"