MapboxStyler
Creates a common style for a group of features destined for the GeoJSON writer.
Parameters
Properties
This parameter specifies the title to be displayed when the output feature is clicked or hovered over.
This parameter specifies the description to be displayed when the output feature is clicked or hovered over.
Marker Style (for point geometries)
This parameter specifies the size of the selected marker symbol. If “small” is selected, a 12x12 pixel marker is displayed. “Medium” represents 18x18 pixels, and “large” represents 24x24 pixel markers.
Marker symbol specifies the name of an icon selected from the icon picker, or a valid icon name from the mapbox-maki icon collection found here. The marker symbol is overlaid inside the marker.
This parameter specifies the color of the marker displayed.
This example shows a marker that has had its size, color, and symbol set by the MapboxStyler.
Stroke Style (for area boundaries and line geometries)
This parameter specifies the pen color of the feature used to render the feature in the set color. The pen color determines the color of lines, and area boundaries. To edit this parameter, click the browse button to the right of the text field.
Stroke opacity specifies the opacity of the pen color of the feature. A value of 1.0 is fully opaque, and 0.0 is completely transparent.
Line Width specifies the width of line geometries and boundaries of area geometries.
Fill Style (for area geometries)
This parameter specifies the fill color for an area geometry on a feature used to render the interior feature in the set color. To edit this parameter, click the browse button to the right of the text field.
Fill Opacity specifies the opacity of the fill color for an area geometry on a feature. A value of 1.0 is fully opaque, and 0.0 is completely transparent.
Example
The example below shows a polygon styled by MapboxStyler.
Additional References
For more information regarding GeoJSON Mapbox styling:
-
See the FME GeoJSON Writer chapter in the FME Readers and Writers manual (in Workbench, select Help > FME Readers and Writers Reference)
See the SimpleStyle documentation: https://github.com/mapbox/simplestyle-spec
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
Search FME Community
Search for samples and information about this transformer on the FME Community.