Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
panels:msupply-world-map [2021/01/15 04:31] – created Mark Prins | panels: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: | ||
+ | {{: | ||
+ | {{: | ||
- | * **Show | + | * **Centre** the latitude and longitude of the centre of the map |
- | * **Export button title** which allows customising | + | * **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 | ||
+ | * **Mouse Wheel Zoom** toggles | ||
+ | * **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 | ||
+ | * **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: | ||
- | |||
- | {{: |