panels:msupply-world-map

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
panels:msupply-world-map [2021/01/15 04:31] – created Mark Prinspanels:msupply-world-map [2021/01/15 04:40] (current) Mark Prins
Line 1: Line 1:
-==== mSupply World Map ====+===== mSupply World Map =====
  
 This is a custom panel which will need to be installed on your server. Contact mSupply support if this panel is not available to you. This is a custom panel which will need to be installed on your server. Contact mSupply support if this panel is not available to you.
Line 12: Line 12:
 There are a number of options available in the **Display** section: There are a number of options available in the **Display** section:
  
 +{{:panels:world-map-display-properties-1.png?direct&400|}}
 +{{:panels:world-map-display-properties-2.png?direct&400|}}
  
- * **Show export button** toggles display of the export button +  * **Centre** the latitude and longitude of the centre of the map 
- * **Export button title** which allows customising of the export button text+  * **Initial Zoom** a numerical value for the initial zoom level of the map. Higher values are more zoomed in 
 +  * **Min Circle Size** The minimum size of circles to display, in pixels 
 +  * **Max Circle Size** The maximum size of circles to display, in pixels 
 +  * **Show Legend** toggles the display of a tooltip on mouse over 
 +  * **Mouse Wheel Zoom** toggles the ability to zoom the map using the mouse wheel 
 +  * **Label template** specifies a custom format for the tooltip. Use ${name} for the name field, ${value} for the numerical value and ${unit} for the unit field ( if used ) 
 +  * **Geo JSON** Here you can specify a geojson string which will display on the map. An example is an outline of a country or district on the map 
 +  * **Geo JSON Outline Colour** the colour to use for the above geojson outline 
 +  * **Linked Variable** Is where you can specify a linked filter - the variable with this name is updated when a region is clicked 
 +  * **Decimals** the number of decimals to truncate the display value to 
 +  * **Latitude Field** specify the name of the field in your query which returns latitude 
 +  * **Longitude Field** specify the name of the field in your query which returns longitude 
 +  * **Metric Field** specifies the name of the numerical value field 
 +  * **Location Name Field** specifies the name of the field containing a text value. Used in the tooltip / label as the name of the region
  
-And the option to link a cell to a variable is per field, so it can be specified as an override to select this for a single column only: 
- 
-{{:en:dashboard:msupply-table-linked-variable.png?direct&400|}} 
  • panels/msupply-world-map.1610685118.txt.gz
  • Last modified: 2021/01/15 04:31
  • by Mark Prins