Maps
Maps illustrate geographical data.
Properties
Layers
Shape Layer
This layer type is used for displaying polygons, points and lines with geoJSON (SDD for shapes and lines is not supported, points will work). It provides less control over rendering therefore using lines and points types is preferred.
- Layer Name - Name of the layer, displayed in the legend
- Layer Type - To make Shape Layer select "Shape", defines the layer type
- Shape Data Format - Shape Layer supports geoJSON only.
- Shape Data - geoJSON representing shapes
- Data Id Key - The name of the property to use to determine unique element id
- Merge Additional Data? - Use to join SDD into GeoJSON
- Additional Data - (optional) SDD data that will be added to GeoJSON from Shape Data
- Color Key - (optional) The name of the property to use to determine shape fill color
- Stroke Color -(optional) Color used as a stroke color
- Default Fill Color -(optional) Elements fill color, will be overwritten by Color Key
- Stroke Width - (optional) Line thickness of drawn elements
- Clustered - Whether elements should be grouped with number representing count of elements grouped. Elements will uncluster on certain zoom level
- Visible - Selected to false hides layer on the map, while leaving it in Legend
- Show Tooltips - Selected to false will prevent showing tooltips for the layer
Points Layer
This layer type is used to render points only.
- Layer Name - Name of the layer, displayed in the legend
- Layer Type - To make Points Layer select "Points", defines the layer type
- Shape Data Format - Depending on data format you want to provide, can be SDD or geoJSON.
- Shape Data - geoJSON or SDD based on Shape Data Format representing points
- Data Id Key - The name of the property to use to determine unique element id
- Latitude Key - The name of the property to use to determine element Latitude position
- Longtitude Key - The name of the property to use to determine element Longtitude position
- Merge Additional Data? - Use to join SDD into GeoJSON
- Additional Data - (optional) SDD data that will be added to GeoJSON (provided or generated basing on SDD) from Shape Data
- Color Key - (optional) The name of the property to use to determine shape fill color
- Default Fill Color -(optional) Elements fill color, will be overwritten by Color Key
- Clustered - Whether elements should be grouped with number representing count of elements grouped. Elements will uncluster on certain zoom level
- Visible - Selected to false hides layer on the map, while leaving it in Legend
- Show Tooltips - Selected to false will prevent showing tooltips for the layer
- Data Driven Size - Allows calculating size basing on data values (i.e. population)
- Radius Key - The name of the property to use to determine radius size. When Data Driven Size is selected it will calculate smallest and greates data elements and render sizes between Minimum Radius Size and Maximum Radius Size. Otherwise it will directly use value as element size.
- Minimum Radius Size - Smallest size of the point
- Maximum Radius Size - Biggest size of the point
- Point Radius - if above values are not used it will render points of this size.
- Opacity - point opacity
Lines Layer
This layer type is used to render lines, basing on SDD data. To achieve lines - 2 data sets are required - points and lines. Points serve as a reference and lines should say which points should be connected.
- Layer Name - Name of the layer, displayed in the legend
- Layer Type - To make Shape Layer select "Shape", defines the layer type
- Points Data - SDD data with points locations
- Lines Data - SDD data that connects points
- Data Id Key - The name of the property to use to determine unique element id
- Latitude Key - The name of the property to use to determine point Latitude position
- Longtitude Key - The name of the property to use to determine point Longtitude position
- Line Origin Key - The name of the property to use to determine start position of the line, value should match one of the values in Data Id Key at Points Data
- Line Destination Key - The name of the property to use to determine end position of the line, value should match one of the values in Point Id Key at Points Data - if line should go through multiple points, there has to be multiple lines.
- Point Id Key - The name of the property to use to determine which point is Line Origin and Destination are refering to. Depending on the use case it might be the same as Data Id Key or different.
- Line Width Key - The name of the property to use to determine thickness of the line (recommended line thickness 1-8)
- Curved Lines - When selected true will render curved lines instead of stright ones.
- Merge Additional Data? - Use to join SDD into GeoJSON
- Additional Data - (optional) SDD data that will be added to GeoJSON from Shape Data
- Color Key - (optional) The name of the property to use to determine shape fill color
- Stroke Color -(optional) Color used as a stroke color
- Default Fill Color -(optional) Elements fill color, will be overwritten by Color Key
- Stroke Width - (optional) Line thickness of drawn elements
- Clustered - Whether elements should be grouped with number representing count of elements grouped. Elements will uncluster on certain zoom level
- Visible - Selected to false hides layer on the map, while leaving it in Legend
- Show Tooltips - Selected to false will prevent showing tooltips for the layer
- Show As Arrows - Adds arrow head at the end of the line to indicate direction
From Tile Server
This layer type is used when dealing with large data sets. Improves performance by querying Tile Server only for elements visible in viewbox. Requires Tile Server to work, please contact the Dais team for access.
- Layer Name - Name of the layer, displayed in the legend
- Layer Type - To make Shape Layer select "Shape", defines the layer type
- Server Name - name of the Tile Service
- Files To Use - Array of files to be used depending on zoom level. Therefore allowing using more detailed files on bigger zoom level.
- File Name - name of the file hosted in File Service
- All Zoom Levels - selected to true will always query for this file
- Zoom From - when All Zoom Levels set to false it will query for the file data only if zoom is above Zoom From
- Zoom To - when All Zoom Levels set to false it will query for the file data only if zoom is below Zoom To
- Shape Data Format - Shape Layer supports geoJSON only.
- Shape Data - geoJSON representing shapes
- Data Id Key - The name of the property to use to determine unique element id
- Merge Additional Data? - Use to join SDD into GeoJSON
- Additional Data - (optional) SDD data that will be added to GeoJSON from Shape Data
- Color Key - (optional) The name of the property to use to determine shape fill color
- Stroke Color -(optional) Color used as a stroke color
- Default Fill Color -(optional) Elements fill color, will be overwritten by Color Key
- Stroke Width - (optional) Line thickness of drawn elements
- Clustered - Whether elements should be grouped with number representing count of elements grouped. Elements will uncluster on certain zoom level
- Visible - Selected to false hides layer on the map, while leaving it in Legend
- Show Tooltips - Selected to false will prevent showing tooltips for the layer
Display Options
- Show Base Layer - If set to true will render base world map
- Use OSM - Will use Open Street Maps as base layer
- Initial Position - Determines default location the map is centered on
- Initial Zoom - Determines default zoom level
- Show Legend - Will render legend with layers list
- Legend Link - When linked to the store allows layers manipulation through the Legend.
- Show Minimap - Renders minimap at bottom right corner
Zoom Locations
Renders set of buttons at bottom left corner. These buttons when clicked will quickly move the map to predefined location and zoom.
- Name - Will be displayed on the Button
- Location - Target location where the map will be centered on Button click
- Zoom Level - Target Zoom of the map after Button click
Properties
- Min Height - Minimum map height
- Enable Click To Get Coordinates - when enabled and Coordinates is linked, clicking anywhere on the map will store clicked location in Dais Store
- Coordinates - must be linked for Enable Click To Get Coordinates to work. That's where the value will be stored.
Tooltips
Enabled
Enable or disable tooltips for all Layers.
Config
Format for a simple tooltip. Specify a suffix or prefix and set the decimal places.
{
"prefix": "",
"suffix": "",
"multiplier": "auto",
"decimalPlaces": 1,
"capitalize": true,
"useLocale": true
}
Column Config
Construct a custom tooltip by combining data from columns in the source data.
- Column - Layer Name from Layers to display in the tooltip.
- Label - Alias to display instead of the column name.
- Apply To All Series - Should this column tooltip be displayed for all series?
- Applies To Series - Which series should this tooltip schema apply to.
- Prefix - Tooltip prefix.
- Suffix - Tooltip suffix.
- Is Numeric - Is the tooltip numeric? If yes, hide the properties related to numeric tooltips.
- Multiplier - Converts the value to the chosen multiplier. For example, the option "Thousands" would convert the value "1000" to "1k".
- Decimal Points - Decimal points to add to the number.
- Capitalized Multiplier - Capitalizes the multiplier value.
- Locale Used - Should the tooltip be formatted based on user locale?
Selection
- Enable Selection - When set to true will allow points and shapes selection by clicking on the map
- Selected Points - Must be linked to the store, that's where selected points IDs will be stored.