Skip to main content
View as Markdown

Common

This page is intended for the description of properties that are used across area monitoring system.

Common properties

scope

The scope identifier primarily serves as a reference data differentiator. It can be:

  • a country identifier (ISO 3166-1 alpha-2) + year of data (for example, SI22) or
  • internal classifier (for example, DEMO), if the country scope is not applicable, that can be constructed of:
    • uppercase letters [A-Z] (English alphabet only)
    • numbers [0-9]
    • underscore _

Common React props objects

geometry

A geometry element is a GeoJSON object (CRS: WGS84). Holes are allowed.

PropertyTypeDescription
type*stringThe type of shape to be rendered. The supportive geometry types are Polygon or MultiPolygon.
coordinates*arrayThe coordinates that set the position of the drawn shape’s outline.

* indicates mandatory properties

style

A style element is an object that defines how geometry will be displayed.

PropertyDescription
strokeColor*The color (one of CSS legal color values) of the shape's outline.
lineWidth*The width of the outline in pixels.

* indicates mandatory properties