Microreact
  • Introduction
  • Introductory Videos
  • About Microreact
    • Privacy and Terms Of Service
    • Open source software used by Microreact
    • Change Log
  • Instructions
    • Navigating the site
      • Managing Projects
    • Navigating within a project
      • History sidebar
      • Selection sidebar
      • Views Sidebar
    • Creating a Project
      • Supported File Formats
      • Metadata Data
      • Tree Data
      • Map Data
      • Timeline Data
      • Network Data
      • Matrix Data
    • Adding and Editing Panels
      • Data Table
      • Map
      • Timeline
      • Tree
      • Network
      • Data-slicer
      • Chart overview
        • Area Chart
        • Line Chart
        • Bar Chart
        • Circle, Tick, Point Charts
        • Custom charts
        • Pie Chart
        • Multi-variable Chart
        • Heatmap
      • Note Panel
      • Matrix
    • Selecting and Filtering Data
    • Labels, Colours, and Shapes
    • Saving and version control
    • Access Control and Project Sharing
      • Download Project Files
      • URL control options
    • Tips & FAQ
      • How to Link Microreact projects to Google Sheets
  • API
    • API Access Tokens
    • Creating Projects via API
    • Updating Projects via API
    • Deleting Projects via API
    • Sharing Projects via API
    • Migrating to the new API
  • Feedback
    • Contact the Microreact team
Powered by GitBook
On this page
  • Interactive Map Settings
  • Markers menu
  • Style menu
  • Regions menu (Choropleth)
  • Filtering
  • Lasso (polygon lasso)
  • Viewport filtering

Was this helpful?

  1. Instructions
  2. Adding and Editing Panels

Map

PreviousData TableNextTimeline

Last updated 11 months ago

Was this helpful?

See for data source guidance (including what to do if markers seem to be showing up in the wrong place on the map, which is usually due to W/S lat/long instead of negative numbers, or due to an ambiguous place).

The Map panel uses to create the basic map, and only requires latitude & longitude to place your data correctly. No data gets sent to Mapbox; rather, your data are overlaid onto data from Mapbox. Choropleth GeoJSON files must be created specifically, but otherwise no specific maps must be created.

Interactive Map Settings

Clicking the configure icon on the top-right corner of a map panel brings up menus for configuring the and overall map , as well as two to use the map panel for filtering the rest of the Microreact panels.

​​​

Markers menu

  • Map markers can be toggled on and off

  • The size and opacity can be changed using the slider

  • If the uploaded data included a GeoJSON file, the markers can be grouped by the boundaries defined in that file by selecting the 'Group by region' toggle

  • Turning on the 'Scale markers' button will scale each marker's size based on the number of samples at that map location.

    • There are 3 scaling functions to choose from, with SQRT being the option where the area is proportional to number of samples

    • A minimum and maximum pixel size for the scaled markers can also be set so that the markers are not too small or become too dominant.

Style menu

The overall style of the map can be changed. "Light" style is the default. Below is the same map with different styles:

Regions menu (Choropleth)

When the project contains a GeoJSON file, the choropleth will automatically be rendered, shading the regions based on an aggregate of the number of IDs (entries) in your data that fall within each geoJSON boundary.

When GeoJSON regions are included in the data, the map menus will include a new lozenge called "Regions" with a few customisable options (including toggling the region features on/off). The calculation used for depth of colour can be changed, as well as which column is being aggregated.

Filtering

Lasso (polygon lasso)

Viewport filtering

Zooming or panning on the map will live-update the rest of the panels so they remain in concert with the visible portion of the map.

To color regions on your map, you must first add a GeoJSON file to your project. See for more information.

Samples can be filtered based on their location by using the lasso tool

The viewport button filters dynamically based on what is currently visible in the map (the viewport). When this Viewport Button is selected (the button goes dark), the other panels are filtered to show only the data represented in the visible area of the map.

Map Data
Mapbox
markers
style
quick-filter options
Viewport filter interaction
Map Data
Map styles
Panels being filtered to show only what is visible in the Viewport