Attributes
-
categories :Array.<string>
-
An array of category strings corresponding to this area. This allows highlighting and filtering of areas. By default, the label is used as the area category.
- Default Value:
[]
Example
Initialize the thematic map area with the
categoriesattribute specified:<oj-thematic-map-area categories='[[$current.data.categories]]'></oj-thematic-map-area> -
color :string
-
The area color. The default values come from the CSS classess and varies based on theme.
- Default Value:
null
Example
Initialize the thematic map area with the
colorattribute specified:<oj-thematic-map-area color='[[$current.data.color]]'></oj-thematic-map-area> -
label :string
-
Text used for the area's label.
- Default Value:
""
Example
Initialize the thematic map area with the
labelattribute specified:<oj-thematic-map-area label='[[$current.data.label]]'></oj-thematic-map-area> -
label-style :object
-
The CSS style object defining the style of the area. The default values come from the CSS classess and varies based on theme.
- Default Value:
null
Example
Initialize the thematic map area with the
label-styleattribute specified:<oj-thematic-map-area label-style='{"color":"black","fontSize":"12px"}'></oj-thematic-map-area> -
location :string
-
An identifier corresponding to a Feature provided in the mapProvider geo object that this area is associated with.
- Default Value:
""
Example
Initialize the thematic map area with the
locationattribute specified:<oj-thematic-map-area location='[[$current.data.location}}'></oj-thematic-map-area> -
opacity :number
-
The area opacity.
- Default Value:
1
Example
Initialize the thematic map area with the
opacityattribute specified:<oj-thematic-map-area opacity='0.5'></oj-thematic-map-area> -
selectable :string
-
Specifies whether or not the area will be selectable.
- Default Value:
"auto"
Supported Values:
Name Type "auto"string "off"string Example
Initialize the thematic map area with the
selectableattribute specified:<oj-thematic-map-area selectable='off'></oj-thematic-map-area> -
short-desc :string
-
The text that displays in the area's tooltip.
- Default Value:
""
Example
Initialize the thematic map area with the
short-descattribute specified:<oj-thematic-map-area short-desc='[[$current.data.shortDesc]]'></oj-thematic-map-area> -
svg-class-name :string
-
The CSS style class defining the style of the area.
- Default Value:
""
Example
Initialize the thematic map area with the
svg-class-nameattribute specified:<oj-thematic-map-area svg-class-name='areaStyle'></oj-thematic-map-area> -
svg-style :object
-
The CSS style object defining the style of the area.
- Default Value:
{}
Example
Initialize the thematic map area with the
svg-styleattribute specified:<oj-thematic-map-area svg-style='{"color": "red"}'></oj-thematic-map-area>