Skip to main content
Version: 1.8.3.X

Layer Styling

Layer styles control how map features are visually presented. You can apply styles to any sublayer, allowing you to customize the appearance of your data for different use cases. The Layer Styling tab provides tools to:

  • Set style properties such as color, opacity, and geometry type (e.g., line, fill, symbol)
  • Target specific features using filters or attribute values
  • Adjust styles for different zoom levels
  • Use the Style Wizard for guided style creation
  • Keep styles automatically updated with the source, or customize them as needed

You can select from various style types, including Background, Circle, Fill, Fill Extrusion, Line, Raster, Symbol, or Shape. Styles can be managed and reordered to control their rendering order on the map.

Layer Coordinate Configuration​

For a Dataverse layer, configure the record ID and the location source you need. Pins use latitude/longitude mappings; saved shapes use a Shape style's source configuration.

FieldDescriptionPurpose
ID FieldSelect the unique identifier field for each featureUsed to uniquely identify and track individual features for styling and interaction purposes
Latitude FieldSelect the field containing latitude coordinatesRequired with Longitude Field for pins; not required for shape-only records
Longitude FieldSelect the field containing longitude coordinatesRequired with Latitude Field for pins; not required for shape-only records
Shape SourceSelect the record-level map's source field in a Shape styleLocates records using matching saved shapes, including tables without coordinate columns
Important

The ID field identifies the parent record. A valid coordinate pair, configured shapes, or both can locate it. Shape-only records do not need parent coordinate columns or a centroid workaround. To display both pins and shapes, configure the coordinate mappings, a point style and one Shape style. See Using Saved Shapes as Layers.

Managing Layer Styles​

  1. Review styles in the styles list.

  2. Enable Auto-Update: Turn on Always use latest styles to keep the style sheet synced with the source.

  3. Customize styles: To edit styles, ensure Always use latest styles is off. You can then add, edit, clone, move, or delete styles.

  4. Style Actions:

    FeatureDescription
    EditEdit properties of this style
    CloneDuplicate a non-Shape style and its properties; cloning Shape styles is disabled
    Move Up and Move DownChange the rendering order (z-index) of styles; higher styles appear above lower ones
    DeleteRemove the style from the layer
  5. Edit style properties: Click the Edit icon to adjust style details:

    FeatureDescription
    Legend NameName shown in the map legend
    Min and Max zoomSet the zoom range for this style
    FiltersDefine which features this style applies to
    StylesAdjust the relate style controls for that style type
  6. Save or Reset: Click Save Style to apply changes. Use Reset to revert to the original style, or Advanced Style Editor for direct JSON editing.

    FieldDescription
    ResetReverts all customized styling back to the original state.
    Advanced Style EditorDirectly edit the style JSON for advanced customization.

One Active Shape Style​

Each Dataverse layer supports one active Shape style. Other style types can coexist with it.

  • The active style is the first Shape style in the configuration's layers array, not the first row on screen, the lowest style ID, or the first style whose zoom/filter settings match.
  • Both the Layer Gallery and Preloaded Layers style tables display the array in reverse order. Check the ignored-style messages or inspect the array in Advanced Style Editor before changing a legacy configuration.
  • Additional legacy Shape styles still load, remain editable and can be saved, but are ignored at runtime. They do not register shape sources or contribute query filters or zoom limits. If the active style is outside its zoom range, an ignored style does not take over.
  • Every ignored Shape style shows "This Shape style is ignored. Only the first configured Shape style is used." in its table row and when opened in the form editor, in both editors.

The wizard does not offer Shape for a new style when one already exists, and Clone is disabled for Shape styles. Edit the existing Shape style or remove it before adding a replacement.

Advanced Style Editor is not a way around this restriction. With zero or one Shape style, saving a second is blocked. With a legacy configuration containing several, valid edits, reordering and removal are allowed, but you cannot increase the existing Shape-style count. Reordering the layers array can change which Shape style is active; it does not enable multiple shape sources. Review the warnings after saving, and remove unused legacy entries when appropriate.

The same rules apply to a preloaded-layer style override, not just the gallery configuration.


Create a Layer Style​

The New Style Wizard provides an intuitive interface for creating and applying new styles to your layers. Each style type has its own specific configuration options and use cases.

To use the Style Wizard​

  1. Add or edit a layer in the Layer Gallery.

  2. Go to the Features tab and select the layer you want to style.

  3. Open Layer Styles and click New Style Wizard.

  4. Configure the common style properties and select your style type.

Common Style Configuration​

Every style in the wizard includes these essential configuration fields on the left side:

FieldDescriptionPurpose
Style TypeDropdown to select the type of visualizationDetermines which styling options are available (circle, fill, line, etc.)
Legend NameDisplay name for this style in the map legendHelps users identify what this style represents
Min ZoomMinimum zoom level where this style is visibleControls when the style appears as users zoom in
Max ZoomMaximum zoom level where this style is visibleControls when the style disappears as users zoom out
FilterConditional logic to control which features use this styleAllows targeting specific data based on field values

Filter Configuration​

The Filter section allows you to create conditional styling based on your data:

ComponentDescription
FieldSelect which data field to evaluate
ComparisonChoose comparison operator (Equals, Greater Than, Less Than, etc.)
ValueEnter the value to compare against
ActionAdd or remove filter conditions
Match AllDetermines if ALL conditions must be true or ANY condition

Filter Examples:

  • Show red circles only for records where Status = "Critical"
  • Display larger symbols for records where Priority > 5
  • Hide features where Date < "2024-01-01"

Style Types Overview​

Each style type serves different visualization purposes and has unique configuration options:

Style TypeBest Used ForKey Features
ClusterPoint data with high densityGroups nearby features, shows count, customizable radius and zoom levels
CirclePoint data with size variationRadius-based sizing, color coding, opacity control
FillPolygon areasSolid color fills, opacity, border styling
LineLinear featuresStroke width, color, dash patterns
SymbolCategorized point dataIcon selection, size scaling, rotation
ShapeCustom geometriesUser-drawn shapes, custom styling
BackgroundBase layersMap backgrounds, tile layers
Fill Extrusion3D polygon visualizationHeight-based extrusion, 3D effects
RasterImage/satellite dataImage overlays, opacity blending

Style Type Configuration​

Cluster Style​

Perfect for visualizing high-density point data by grouping nearby features into clusters.

Configuration Options:

  • Cluster Max Zoom: Maximum zoom level where clustering occurs
  • Cluster Radius: Distance (in pixels) for grouping points into clusters
  • Cluster Font Size: Text size for cluster count display
  • Cluster Font Color: Color of the cluster count text
  • Cluster Style Config: Define different visual styles based on point count ranges
FieldDescription
Point CountThe minimum number of points required to trigger this cluster style
RadiusSize of the cluster circle (in pixels) for this point count range
ColorBackground color of the cluster circle for this point count range
ActionAdd or remove cluster style configurations

How Cluster Styles Work:

  • Create multiple rows to define different visual styles for different cluster sizes
  • For example: 1-24 points = small green circle, 25-99 points = medium orange circle, 100+ points = large red circle
  • The system automatically applies the appropriate style based on how many points are grouped in each cluster
  • Higher point count thresholds override lower ones (e.g., a cluster with 50 points will use the "25" row style, not the "1" row style)

Circle Style​

Displays point features as circles with customizable size and appearance.

Configuration Options:

  • circle-radius: Size of the circle (in pixels or data-driven)
  • circle-color: Fill color of the circle
  • circle-opacity: Transparency level (0-1)
  • circle-stroke-width: Width of the circle border
  • circle-stroke-color: Color of the circle border
  • circle-stroke-opacity: Transparency of the border

Background Style​

Sets background colors or patterns for map layers.

Configuration Options:

  • background-color: Background color for the layer
  • background-opacity: Transparency of the background

Fill Style​

Applies solid color fills to polygon features like boundaries or regions.

Configuration Options:

  • fill-color: Interior color of the polygon
  • fill-opacity: Transparency of the fill

Fill Extrusion Style​

Creates 3D polygon visualizations with height-based extrusion.

Configuration Options:

  • fill-extrusion-color: Color of the extruded polygon
  • fill-extrusion-opacity: Transparency of the extrusion
  • fill-extrusion-height: Height of the extrusion (can be data-driven)

Line Style​

Renders linear features like roads, pipelines, or routes.

Configuration Options:

  • line-color: Color of the line
  • line-opacity: Transparency of the line
  • line-width: Thickness of the line
  • line-dasharray: Dash pattern for dotted/dashed lines (e.g., [2,2] for dashed)

Symbol Style​

Uses icons or symbols to represent point features with extensive customization options.

Configuration Options:

  • icon-image: Select icon from library or upload custom image
  • icon-size: Scale of the symbol/icon
  • text-field: Data field to display as text label
  • text-size: Font size for text labels
  • icon-opacity: Transparency of the icon
  • icon-color: Tint color applied to the icon
  • text-opacity: Transparency of the text
  • text-color: Color of the text labels
  • text-halo-color: Color of the text outline/halo
  • text-halo-width: Width of the text outline

Shape Style​

Renders saved Dataverse shapes, including records without pins. Only one Shape style is active per layer; see One Active Shape Style.

Configuration Options:

  • Shape Source: The form field used by the record-level map; selects its related saved shapes, whose geometry is stored in GeoJSON notes
  • Predefined Shape Id: Optional comma-separated predefined shape IDs to restrict the saved shapes included
  • Override the shape style: Apply layer-level appearance instead of the saved per-feature styling

Shape Style Properties:

  • Fill Color: Interior color of the shape
  • Stroke Color: Border color of the shape
  • Stroke Type: Border style (solid, dashed, etc.)
  • Stroke Width: Thickness of the border
  • Text Color: Color of any text within the shape
  • Text Shadow: Shadow effect for text
  • Font Size: Size of text within the shape