[]
        
(Showing Draft Content)

Area Map

The Area Map scenario is used to shade geographic regions according to values in your dataset, allowing you to compare measures across areas such as countries, states, or counties.

Example

The following map has been created using this native query dataset from the AdventureWorks Data Warehouse:

SELECT 
    st.SalesTerritoryRegion AS Region,
    SUM(fact.SalesAmount) AS TotalSales
FROM 
    dbo.FactInternetSales fact
INNER JOIN 
    dbo.DimSalesTerritory st
    ON fact.SalesTerritoryKey = st.SalesTerritoryKey
GROUP BY 
    st.SalesTerritoryRegion
ORDER BY 
    TotalSales DESC;



Data Binding

You can configure these bindings in the   Data Binding Panelon the right side of the dashboard designer. At minimum, the Area Map requires the   Region   binding. The   Color   binding is typically used to drive the main visualization, while   Tooltip   is optional for added context.

  • Region

    Bind a geographic field (e.g., country, state, county, or city) to define the areas displayed on the map. This slot is required for the Area Map to function.

  • Color

    Bind a measure (such as sales, population, or density) to control the shading of each region. Higher or lower values are represented with stronger or lighter color intensity, making it easy to identify patterns and trends across regions.

  • Tooltip

    Bind additional fields to display extra information when hovering over a region. Tooltips allow you to provide more context without adding clutter to the visual.

You can customize the appearance of the   Area Map   using the   Inspector Panel   on the right side of the dashboard designer.



Property Reference

  • Show Base Map   – Enable or disable the reference map (default:   True). Wyn uses Mapbox GIS as the base map.

  • Base Map Type   – Options:

    • OpenStreetMap   (default)

    • Mapbox   – available if   Use Mapbox   is enabled in the Admin portal. Provides default styles (Normal, Dark, Light) or custom Mapbox styles added in Admin.

    • Custom   – allows configuration of   Custom GIS Base Styles.

  • Scroll to Zoom   – If   True   (default), users can zoom with the scroll wheel. If   False, zooming requires double-click.

  • Tilt Angle   – Adjust tilt to view the map from an angle.

  • Display Area   – Choose how the visible area is set:

    • Auto   – automatically fits all data points.

    • By Area   – shows an area selector. Clicking a bubble zooms to that region.

    • By Longitude & Latitude   – manually set zoom level, longitude, and latitude.

      • Zoom Level   – range: 2–16

      • Longitude   – set via slider or input box

      • Latitude   – set via slider or input box



Area Style

  • Color Preference   – Choose   Palette   or   Gradient   (default: Gradient).

  • Fill Mode   – Options:   Continuous   or   Grouped   (only visible if Gradient is selected).

  • Maintain Color Assignments   – If   True, you can manually change colors in the Assign Colors popup. If   False(default), select a default palette instead.

  • Palette   – Visible only if Maintain Color Assignments = False. Lets you choose a palette.

  • Group Number   – Visible only when Fill Mode = Grouped. Set groups between 2–10.

  • Divide Equally   – If   False, specify custom percentages to divide groups (default:   True).

  • Fill Color   – Choose 2- or 3-color gradients for area fills.

  • Background Color   – Set color for areas with no values.

  • Border Width   – Adjust width of country borders.

  • Border Color   – Choose border color.