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.
| Field | Description | Purpose |
|---|---|---|
| ID Field | Select the unique identifier field for each feature | Used to uniquely identify and track individual features for styling and interaction purposes |
| Latitude Field | Select the field containing latitude coordinates | Required with Longitude Field for pins; not required for shape-only records |
| Longitude Field | Select the field containing longitude coordinates | Required with Latitude Field for pins; not required for shape-only records |
| Shape Source | Select the record-level map's source field in a Shape style | Locates records using matching saved shapes, including tables without coordinate columns |
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
-
Review styles in the styles list.
-
Enable Auto-Update: Turn on
Always use latest stylesto keep the style sheet synced with the source. -
Customize styles: To edit styles, ensure
Always use latest stylesis off. You can then add, edit, clone, move, or delete styles. -
Style Actions:
Feature Description Edit Edit properties of this style Clone Duplicate a non-Shape style and its properties; cloning Shape styles is disabled Move Up and Move Down Change the rendering order (z-index) of styles; higher styles appear above lower ones Delete Remove the style from the layer -
Edit style properties: Click the
Editicon to adjust style details:Feature Description Legend Name Name shown in the map legend Min and Max zoom Set the zoom range for this style Filters Define which features this style applies to Styles Adjust the relate style controls for that style type -
Save or Reset: Click
Save Styleto apply changes. UseResetto revert to the original style, orAdvanced Style Editorfor direct JSON editing.Field Description Reset Reverts all customized styling back to the original state. Advanced Style Editor Directly 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
layersarray, 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
-
Add or edit a layer in the Layer Gallery.
-
Go to the Features tab and select the layer you want to style.
-
Open Layer Styles and click New Style Wizard.
-
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:
| Field | Description | Purpose |
|---|---|---|
| Style Type | Dropdown to select the type of visualization | Determines which styling options are available (circle, fill, line, etc.) |
| Legend Name | Display name for this style in the map legend | Helps users identify what this style represents |
| Min Zoom | Minimum zoom level where this style is visible | Controls when the style appears as users zoom in |
| Max Zoom | Maximum zoom level where this style is visible | Controls when the style disappears as users zoom out |
| Filter | Conditional logic to control which features use this style | Allows targeting specific data based on field values |
Filter Configuration
The Filter section allows you to create conditional styling based on your data:
| Component | Description |
|---|---|
| Field | Select which data field to evaluate |
| Comparison | Choose comparison operator (Equals, Greater Than, Less Than, etc.) |
| Value | Enter the value to compare against |
| Action | Add or remove filter conditions |
| Match All | Determines 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 Type | Best Used For | Key Features |
|---|---|---|
| Cluster | Point data with high density | Groups nearby features, shows count, customizable radius and zoom levels |
| Circle | Point data with size variation | Radius-based sizing, color coding, opacity control |
| Fill | Polygon areas | Solid color fills, opacity, border styling |
| Line | Linear features | Stroke width, color, dash patterns |
| Symbol | Categorized point data | Icon selection, size scaling, rotation |
| Shape | Custom geometries | User-drawn shapes, custom styling |
| Background | Base layers | Map backgrounds, tile layers |
| Fill Extrusion | 3D polygon visualization | Height-based extrusion, 3D effects |
| Raster | Image/satellite data | Image 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
| Field | Description |
|---|---|
| Point Count | The minimum number of points required to trigger this cluster style |
| Radius | Size of the cluster circle (in pixels) for this point count range |
| Color | Background color of the cluster circle for this point count range |
| Action | Add 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