Attributes
-
border-color :string
-
The marker border color.
- Default Value:
""
Example
Initialize the thematic map marker with the
border-colorattribute specified:<oj-thematic-map-marker border-color='3'></oj-thematic-map-marker> -
border-style :string
-
The marker border style.
- Default Value:
"solid"
Supported Values:
Name Type "none"string "solid"string Example
Initialize the thematic map marker with the
border-styleattribute specified:<oj-thematic-map-marker border-style='none'></oj-thematic-map-marker> -
border-width :number
-
The marker border width in pixels.
- Default Value:
0.5
Example
Initialize the thematic map marker with the
border-widthattribute specified:<oj-thematic-map-marker border-width='none'></oj-thematic-map-marker> -
categories :Array.<string>
-
An array of category strings corresponding to this marker. This allows highlighting and filtering of markers. By default, the label is used as the marker category.
- Default Value:
[]
Example
Initialize the thematic map marker with the
categoriesattribute specified:<oj-thematic-map-marker categories='[[$current.data.categories]]'></oj-thematic-map-marker> -
color :string
-
The marker color. The default values come from the CSS classess and varies based on theme.
- Default Value:
null
Example
Initialize the thematic map marker with the
colorattribute specified:<oj-thematic-map-marker color='[[$current.data.color]]'></oj-thematic-map-marker> -
height :number
-
The marker height in pixels.
- Default Value:
8
Example
Initialize the thematic map marker with the
heightattribute specified:<oj-thematic-map-marker height='3'></oj-thematic-map-marker> -
label :string
-
Text used for the marker's label.
- Default Value:
""
Example
Initialize the thematic map marker with the
labelattribute specified:<oj-thematic-map-marker label='[[$current.data.label]]'></oj-thematic-map-marker> -
label-position :string
-
Determines the label position relative to the marker.
- Default Value:
"center"
Supported Values:
Name Type "bottom"string "center"string "top"string Example
Initialize the thematic map marker with the
label-positionattribute specified:<oj-thematic-map-marker label-position='bottom'></oj-thematic-map-marker> -
label-style :object
-
The CSS style object defining the style of the marker. The default values come from the CSS classess and varies based on theme.
- Default Value:
null
Example
Initialize the thematic map marker with the
label-styleattribute specified:<oj-thematic-map-marker label-style='{"color":"black","fontSize":"12px"}'></oj-thematic-map-marker> -
location :string
-
An identifier corresponding to a Feature provided in the mapProvider geo object that this marker is associated with.
- Default Value:
""
Example
Initialize the thematic map marker with the
locationattribute specified:<oj-thematic-map-marker location='[[$current.data.location}}'></oj-thematic-map-marker> -
opacity :number
-
The marker opacity.
- Default Value:
1
Example
Initialize the thematic map marker with the
opacityattribute specified:<oj-thematic-map-marker opacity='0.5'></oj-thematic-map-marker> -
rotation :number
-
The angle to rotate the marker in clockwise degrees around the marker center.
- Default Value:
0
Example
Initialize the thematic map marker with the
rotationattribute specified:<oj-thematic-map-marker rotation='180'></oj-thematic-map-marker> -
selectable :string
-
Specifies whether or not the marker will be selectable.
- Default Value:
"auto"
Supported Values:
Name Type "auto"string "off"string Example
Initialize the thematic map marker with the
selectableattribute specified:<oj-thematic-map-marker selectable='off'></oj-thematic-map-marker> -
shape :string
-
Specifies the shape of a marker. Can take the name of a built-in shape or the svg path commands for a custom shape.
- Default Value:
"circle"
Example
Initialize the thematic map marker with the
shapeattribute specified:<oj-thematic-map-marker shape='star'></oj-thematic-map-marker> -
short-desc :string
-
The text that displays in the marker's tooltip.
- Default Value:
""
Example
Initialize the thematic map marker with the
short-descattribute specified:<oj-thematic-map-marker short-desc='[[$current.data.shortDesc]]'></oj-thematic-map-marker> -
source :string
-
Specifies an URI specifying the location of the image resource to use for the marker instead of a built-in shape. The shape attribute is ignored if the source image is defined.
- Default Value:
""
Example
Initialize the thematic map marker with the
sourceattribute specified:<oj-thematic-map-marker source='[[$current.data.source]]'></oj-thematic-map-marker> -
source-hover :string
-
An optional URI specifying the location of the hover image resource. If not defined, the source image will be used.
- Default Value:
""
Example
Initialize the thematic map marker with the
source-hoverattribute specified:<oj-thematic-map-marker source-hover='[[$current.data.sourceHover]]'></oj-thematic-map-marker> -
source-hover-selected :string
-
An optional URI specifying the location of the selected image resource on hover. If not defined, the sourceSelected image will be used. If sourceSelected is not defined, then the source image will be used. * @expose
- Default Value:
""
Example
Initialize the thematic map marker with the
source-hover-selectedattribute specified:<oj-thematic-map-marker source-hover-selected='[[$current.data.sourceHoverSelected]]'></oj-thematic-map-marker> -
source-selected :string
-
An optional URI specifying the location of the selected image. If not defined, the source image will be used.
- Default Value:
""
Example
Initialize the thematic map marker with the
source-selectedattribute specified:<oj-thematic-map-marker source-selected='[[$current.data.sourceSelected]]'></oj-thematic-map-marker> -
svg-class-name :string
-
The CSS style class defining the style of the marker.
- Default Value:
""
Example
Initialize the thematic map marker with the
svg-class-nameattribute specified:<oj-thematic-map-marker svg-class-name='markerStyle'></oj-thematic-map-marker> -
svg-style :object
-
The CSS style object defining the style of the marker.
- Default Value:
{}
Example
Initialize the thematic map marker with the
svg-styleattribute specified:<oj-thematic-map-marker svg-style='{"color": "red"}'></oj-thematic-map-marker> -
value :number
-
A data value used to calculate the marker dimensions based on the range of all the data values and the element size. Markers with negative or zero data values will not be rendered. If specified, this value takes precedence over the width and height attributes.
- Default Value:
2
Example
Initialize the thematic map marker with the
valueattribute specified:<oj-thematic-map-marker value='[[$current.data.value]]'></oj-thematic-map-marker> -
width :number
-
The pixel width for this marker. Note that this attribute will be ignored if a value is provided to calculate marker.
- Default Value:
8
Example
Initialize the thematic map marker with the
widthattribute specified:<oj-thematic-map-marker width='3'></oj-thematic-map-marker> -
x :number|null
-
The x coordinate of the marker transformed using the map projection, which can be null if location is set instead.
- Default Value:
null
Example
Initialize the thematic map marker with the
xattribute specified:<oj-thematic-map-marker x='[[$current.data.lat]]'></oj-thematic-map-marker> -
y :number|null
-
The x coordinate of the marker transformed using the map projection, which can be null if location is set instead.
- Default Value:
null
Example
Initialize the thematic map marker with the
yattribute specified:<oj-thematic-map-marker y='[[$current.data.long]]'></oj-thematic-map-marker>