How those elements are drawn. One style object, shared. Created with kind elementstyle.
"balloon" — BalloonPopupStyleBuilder
| Key | Type | Always required | Notes |
|---|
| Property | Type | Access | Description |
|---|
buttonMargins | struct massif::BalloonPopupMargins | read/write | Returns the margins for popup buttons. |
cornerRadius | integer | read/write | Returns the corner radius of the popup. |
descriptionColor | color | read/write | Returns the color of the description. |
descriptionField | string | read/write | Returns the description field variable. If not empty, this variable is used to read actual text string from object meta info. |
descriptionFontName | string | read/write | Returns the name of the description font. |
descriptionFontSize | integer | read/write | Returns the size of the description font. |
descriptionMargins | struct massif::BalloonPopupMargins | read/write | Returns the margins of the description. |
descriptionWrap | boolean | read/write | Returns the state of the description wrap parameter. |
leftColor | color | read/write | Returns the background color of the left part of the popup. |
leftImage | object std::shared_ptr<massif::Bitmap> | read/write | Returns the image of the left part of the popup. |
leftMargins | struct massif::BalloonPopupMargins | read/write | Returns the margins of the left part of the popup. |
rightColor | color | read/write | Returns the background color of the right part of the popup. |
rightImage | object std::shared_ptr<massif::Bitmap> | read/write | Returns the image of the right part of the popup. |
rightMargins | struct massif::BalloonPopupMargins | read/write | Returns the margins of the right part of the popup. |
strokeColor | color | read/write | Returns the color of the stroke surrounding the popup. |
strokeWidth | integer | read/write | Returns the width of the stroke surrounding the popup. |
titleColor | color | read/write | Returns the color of the title. |
titleField | string | read/write | Returns the title field variable. If not empty, this variable is used to read actual text string from object meta info. |
titleFontName | string | read/write | Returns the name of the title font. |
titleFontSize | integer | read/write | Returns the size of the title font. |
titleMargins | struct massif::BalloonPopupMargins | read/write | Returns the margins of the title. |
titleWrap | boolean | read/write | Returns the state of the title wrap parameter. |
triangleHeight | integer | read/write | Returns the height of the triangle at the bottom of the popup. |
triangleWidth | integer | read/write | Returns the width of the triangle at the bottom of the popup. |
Inherited from BillboardStyleBuilder:
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read/write | Returns the animation style of the billboard. |
attachAnchorPointX | number | read/write | Returns the horizontal attaching anchor point of the billboard. |
attachAnchorPointY | number | read/write | Returns the vertical attaching anchor point of the billboard. |
causesOverlap | boolean | read/write | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read/write | Returns the state of the allow overlap flag. |
horizontalOffset | number | read/write | Returns the horizontal offset of the billboard. |
placementPriority | integer | read/write | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read/write | Returns the state of the scale with DPI flag. |
verticalOffset | number | read/write | Returns the vertical offset of the billboard. |
Inherited from StyleBuilder:
| Property | Type | Access | Description |
|---|
color | color | read/write | Returns the color of the vector element. |
"line" — LineStyleBuilder
| Key | Type | Always required | Notes |
|---|
| Property | Type | Access | Description |
|---|
bitmap | object std::shared_ptr<massif::Bitmap> | read/write | Returns the bitmap of the line. |
clickWidth | number | read/write | Returns the width of the line used for click detection. |
lineEndType | enum | read/write | Returns the end point type of the line. |
lineJoinType | enum | read/write | Returns the join type of the line. |
stretchFactor | number | read/write | Returns the stretch factor of the line. |
width | number | read/write | Returns the width of the line. |
Inherited from StyleBuilder:
| Property | Type | Access | Description |
|---|
color | color | read/write | Returns the color of the vector element. |
"marker" — MarkerStyleBuilder
| Key | Type | Always required | Notes |
|---|
| Property | Type | Access | Description |
|---|
anchorPointX | number | read/write | Returns the horizontal anchor point of the marker. |
anchorPointY | number | read/write | Returns the vertical anchor point of the marker. |
bitmap | object std::shared_ptr<massif::Bitmap> | read/write | Returns the bitmap of the marker. |
clickSize | number | read/write | Returns the size of the marker used for click detection. |
orientationMode | enum | read/write | Returns the orientation mode of the marker. |
scalingMode | enum | read/write | Returns the scaling mode of the marker. |
size | number | read/write | Returns the size of the marker. |
Inherited from BillboardStyleBuilder:
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read/write | Returns the animation style of the billboard. |
attachAnchorPointX | number | read/write | Returns the horizontal attaching anchor point of the billboard. |
attachAnchorPointY | number | read/write | Returns the vertical attaching anchor point of the billboard. |
causesOverlap | boolean | read/write | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read/write | Returns the state of the allow overlap flag. |
horizontalOffset | number | read/write | Returns the horizontal offset of the billboard. |
placementPriority | integer | read/write | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read/write | Returns the state of the scale with DPI flag. |
verticalOffset | number | read/write | Returns the vertical offset of the billboard. |
Inherited from StyleBuilder:
| Property | Type | Access | Description |
|---|
color | color | read/write | Returns the color of the vector element. |
"point" — PointStyleBuilder
| Key | Type | Always required | Notes |
|---|
| Property | Type | Access | Description |
|---|
bitmap | object std::shared_ptr<massif::Bitmap> | read/write | Returns the bitmap of the point. |
clickSize | number | read/write | Returns the size of the point used for click detection. |
size | number | read/write | Returns the size of the point. |
Inherited from StyleBuilder:
| Property | Type | Access | Description |
|---|
color | color | read/write | Returns the color of the vector element. |
"polygon" — PolygonStyleBuilder
| Key | Type | Always required | Notes |
|---|
| Property | Type | Access | Description |
|---|
lineStyle | object std::shared_ptr<massif::LineStyle> | read/write | Returns the line style of the edges of the polygon. |
Inherited from StyleBuilder:
| Property | Type | Access | Description |
|---|
color | color | read/write | Returns the color of the vector element. |
"text" — TextStyleBuilder
| Key | Type | Always required | Notes |
|---|
| Property | Type | Access | Description |
|---|
backgroundColor | color | read/write | Returns the background color for the text label. |
borderColor | color | read/write | Returns the border color for the text label. |
borderWidth | number | read/write | Returns the border width for the text label. |
breakLines | boolean | read/write | Returns the state of the 'break lines' flag. |
fontName | string | read/write | Returns the font name for the text label. |
fontSize | number | read/write | Returns the font size for the text label. |
strokeColor | color | read/write | Returns the stroke color for the text label. |
strokeWidth | number | read/write | Returns the stroke width for the text label. |
textField | string | read/write | Returns the text field variable. If not empty, this variable is used to read actual text string from object meta info. |
textMargins | struct massif::TextMargins | read/write | Returns the margins for the text. |
Inherited from LabelStyleBuilder:
| Property | Type | Access | Description |
|---|
anchorPointX | number | read/write | Returns the horizontal anchor point of the label. |
anchorPointY | number | read/write | Returns the vertical anchor point of the label. |
flippable | boolean | read/write | Returns the state of the flippable flag. |
orientationMode | enum | read/write | Returns the orientation mode of the label. |
renderScale | number | read/write | Returns the relative rendering scale for the label. |
scalingMode | enum | read/write | Returns the scaling mode of the label. |
Inherited from BillboardStyleBuilder:
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read/write | Returns the animation style of the billboard. |
attachAnchorPointX | number | read/write | Returns the horizontal attaching anchor point of the billboard. |
attachAnchorPointY | number | read/write | Returns the vertical attaching anchor point of the billboard. |
causesOverlap | boolean | read/write | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read/write | Returns the state of the allow overlap flag. |
horizontalOffset | number | read/write | Returns the horizontal offset of the billboard. |
placementPriority | integer | read/write | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read/write | Returns the state of the scale with DPI flag. |
verticalOffset | number | read/write | Returns the vertical offset of the billboard. |
Inherited from StyleBuilder:
| Property | Type | Access | Description |
|---|
color | color | read/write | Returns the color of the vector element. |
Base classes
Not constructed directly. Their properties are reachable on every object above that derives from them.
| Property | Type | Access | Description |
|---|
backgroundColor | color | read-only | Returns the background color of the popup. |
buttonMargins | struct massif::BalloonPopupMargins | read-only | Returns the margins for the buttons of the popup. |
cornerRadius | integer | read-only | Returns the corner radius of the popup. |
descriptionColor | color | read-only | Returns the color of the description. |
descriptionField | string | read-only | Returns the description field variable to use. |
descriptionFontName | string | read-only | Returns the name of the description font. |
descriptionFontSize | integer | read-only | Returns the size of the description font. |
descriptionMargins | struct massif::BalloonPopupMargins | read-only | Returns the margins of the description. |
descriptionWrap | boolean | read-only | Returns the state of the description wrap parameter. |
leftColor | color | read-only | Returns the background color of the left part of the popup. |
leftImage | object std::shared_ptr<massif::Bitmap> | read-only | Returns the image of the left part of the popup. |
leftMargins | struct massif::BalloonPopupMargins | read-only | Returns the margins of the left part of the popup. |
rightColor | color | read-only | Returns the background color of the right part of the popup. |
rightImage | object std::shared_ptr<massif::Bitmap> | read-only | Returns the image of the right part of the popup. |
rightMargins | struct massif::BalloonPopupMargins | read-only | Returns the margins of the right part of the popup. |
strokeColor | color | read-only | Returns the color of the stroke surrounding the popup. |
strokeWidth | integer | read-only | Returns the width of the stroke surrounding the popup. |
titleColor | color | read-only | Returns the color of the title. |
titleField | string | read-only | Returns the title field variable to use. |
titleFontName | string | read-only | Returns the name of the title font. |
titleFontSize | integer | read-only | Returns the size of the title font. |
titleMargins | struct massif::BalloonPopupMargins | read-only | Returns the margins of the title. |
titleWrap | boolean | read-only | Returns the state of the title wrap parameter. |
triangleHeight | integer | read-only | Returns the height of the triangle at the bottom of the popup. |
triangleWidth | integer | read-only | Returns the width of the triangle at the bottom of the popup. |
Inherited from BillboardStyle:
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read-only | Returns the animation style of the billboard. |
attachAnchorPointX | number | read-only | Returns the horizontal attaching anchor point of the billoard. |
attachAnchorPointY | number | read-only | Returns the vertical attaching anchor point of the billoard. |
causesOverlap | boolean | read-only | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read-only | Returns the state of the allow overlap flag. |
horizontalOffset | number | read-only | Returns the horizontal offset of the billboard. |
placementPriority | integer | read-only | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read-only | Returns the state of the scale with DPI flag. |
verticalOffset | number | read-only | Returns the vertical offset of the billboard. |
Inherited from Style:
| Property | Type | Access | Description |
|---|
color | color | read-only | Returns the color of the vector element. |
BillboardStyle
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read-only | Returns the animation style of the billboard. |
attachAnchorPointX | number | read-only | Returns the horizontal attaching anchor point of the billoard. |
attachAnchorPointY | number | read-only | Returns the vertical attaching anchor point of the billoard. |
causesOverlap | boolean | read-only | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read-only | Returns the state of the allow overlap flag. |
horizontalOffset | number | read-only | Returns the horizontal offset of the billboard. |
placementPriority | integer | read-only | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read-only | Returns the state of the scale with DPI flag. |
verticalOffset | number | read-only | Returns the vertical offset of the billboard. |
Inherited from Style:
| Property | Type | Access | Description |
|---|
color | color | read-only | Returns the color of the vector element. |
BillboardStyleBuilder
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read/write | Returns the animation style of the billboard. |
attachAnchorPointX | number | read/write | Returns the horizontal attaching anchor point of the billboard. |
attachAnchorPointY | number | read/write | Returns the vertical attaching anchor point of the billboard. |
causesOverlap | boolean | read/write | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read/write | Returns the state of the allow overlap flag. |
horizontalOffset | number | read/write | Returns the horizontal offset of the billboard. |
placementPriority | integer | read/write | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read/write | Returns the state of the scale with DPI flag. |
verticalOffset | number | read/write | Returns the vertical offset of the billboard. |
Inherited from StyleBuilder:
| Property | Type | Access | Description |
|---|
color | color | read/write | Returns the color of the vector element. |
LabelStyle
| Property | Type | Access | Description |
|---|
anchorPointX | number | read-only | Returns the horizontal anchor point of the label. |
anchorPointY | number | read-only | Returns the vertical anchor point of the label. |
flippable | boolean | read-only | Returns the state of the flippable flag. |
orientationMode | enum | read-only | Returns the orientation mode of the label. |
renderScale | number | read-only | Returns the relative rendering scale of the label. |
scalingMode | enum | read-only | Returns the scaling mode of the label. |
Inherited from BillboardStyle:
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read-only | Returns the animation style of the billboard. |
attachAnchorPointX | number | read-only | Returns the horizontal attaching anchor point of the billoard. |
attachAnchorPointY | number | read-only | Returns the vertical attaching anchor point of the billoard. |
causesOverlap | boolean | read-only | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read-only | Returns the state of the allow overlap flag. |
horizontalOffset | number | read-only | Returns the horizontal offset of the billboard. |
placementPriority | integer | read-only | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read-only | Returns the state of the scale with DPI flag. |
verticalOffset | number | read-only | Returns the vertical offset of the billboard. |
Inherited from Style:
| Property | Type | Access | Description |
|---|
color | color | read-only | Returns the color of the vector element. |
LabelStyleBuilder
| Property | Type | Access | Description |
|---|
anchorPointX | number | read/write | Returns the horizontal anchor point of the label. |
anchorPointY | number | read/write | Returns the vertical anchor point of the label. |
flippable | boolean | read/write | Returns the state of the flippable flag. |
orientationMode | enum | read/write | Returns the orientation mode of the label. |
renderScale | number | read/write | Returns the relative rendering scale for the label. |
scalingMode | enum | read/write | Returns the scaling mode of the label. |
Inherited from BillboardStyleBuilder:
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read/write | Returns the animation style of the billboard. |
attachAnchorPointX | number | read/write | Returns the horizontal attaching anchor point of the billboard. |
attachAnchorPointY | number | read/write | Returns the vertical attaching anchor point of the billboard. |
causesOverlap | boolean | read/write | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read/write | Returns the state of the allow overlap flag. |
horizontalOffset | number | read/write | Returns the horizontal offset of the billboard. |
placementPriority | integer | read/write | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read/write | Returns the state of the scale with DPI flag. |
verticalOffset | number | read/write | Returns the vertical offset of the billboard. |
Inherited from StyleBuilder:
| Property | Type | Access | Description |
|---|
color | color | read/write | Returns the color of the vector element. |
LineStyle
| Property | Type | Access | Description |
|---|
bitmap | object std::shared_ptr<massif::Bitmap> | read-only | Returns the bitmap of the line. |
clickWidth | number | read-only | Returns the width of the line used for click detection. |
lineEndType | enum | read-only | Returns the end point type of the line. |
lineJoinType | enum | read-only | Returns the join type of the line. |
stretchFactor | number | read-only | Returns the stretching factor of the line. |
width | number | read-only | Returns the width of the line. |
Inherited from Style:
| Property | Type | Access | Description |
|---|
color | color | read-only | Returns the color of the vector element. |
MarkerStyle
| Property | Type | Access | Description |
|---|
anchorPointX | number | read-only | Returns the horizontal anchor point of the marker. |
anchorPointY | number | read-only | Returns the vertical anchor point of the marker. |
bitmap | object std::shared_ptr<massif::Bitmap> | read-only | Returns the bitmap of the marker. |
clickSize | number | read-only | Returns the click size of the marker. |
orientationMode | enum | read-only | Returns the orientation mode of the marker. |
scalingMode | enum | read-only | Returns the scaling mode of the marker. |
size | number | read-only | Returns the size of the marker. |
Inherited from BillboardStyle:
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read-only | Returns the animation style of the billboard. |
attachAnchorPointX | number | read-only | Returns the horizontal attaching anchor point of the billoard. |
attachAnchorPointY | number | read-only | Returns the vertical attaching anchor point of the billoard. |
causesOverlap | boolean | read-only | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read-only | Returns the state of the allow overlap flag. |
horizontalOffset | number | read-only | Returns the horizontal offset of the billboard. |
placementPriority | integer | read-only | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read-only | Returns the state of the scale with DPI flag. |
verticalOffset | number | read-only | Returns the vertical offset of the billboard. |
Inherited from Style:
| Property | Type | Access | Description |
|---|
color | color | read-only | Returns the color of the vector element. |
PointStyle
| Property | Type | Access | Description |
|---|
bitmap | object std::shared_ptr<massif::Bitmap> | read-only | Returns the bitmap of the point. |
clickSize | number | read-only | Returns the size of the point used for click detection. |
size | number | read-only | Returns the size of the point. |
Inherited from Style:
| Property | Type | Access | Description |
|---|
color | color | read-only | Returns the color of the vector element. |
PolygonStyle
| Property | Type | Access | Description |
|---|
lineStyle | object std::shared_ptr<massif::LineStyle> | read-only | Returns the style of the edges of the polygon. |
Inherited from Style:
| Property | Type | Access | Description |
|---|
color | color | read-only | Returns the color of the vector element. |
Inherited from BillboardStyle:
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read-only | Returns the animation style of the billboard. |
attachAnchorPointX | number | read-only | Returns the horizontal attaching anchor point of the billoard. |
attachAnchorPointY | number | read-only | Returns the vertical attaching anchor point of the billoard. |
causesOverlap | boolean | read-only | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read-only | Returns the state of the allow overlap flag. |
horizontalOffset | number | read-only | Returns the horizontal offset of the billboard. |
placementPriority | integer | read-only | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read-only | Returns the state of the scale with DPI flag. |
verticalOffset | number | read-only | Returns the vertical offset of the billboard. |
Inherited from Style:
| Property | Type | Access | Description |
|---|
color | color | read-only | Returns the color of the vector element. |
Inherited from BillboardStyleBuilder:
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read/write | Returns the animation style of the billboard. |
attachAnchorPointX | number | read/write | Returns the horizontal attaching anchor point of the billboard. |
attachAnchorPointY | number | read/write | Returns the vertical attaching anchor point of the billboard. |
causesOverlap | boolean | read/write | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read/write | Returns the state of the allow overlap flag. |
horizontalOffset | number | read/write | Returns the horizontal offset of the billboard. |
placementPriority | integer | read/write | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read/write | Returns the state of the scale with DPI flag. |
verticalOffset | number | read/write | Returns the vertical offset of the billboard. |
Inherited from StyleBuilder:
| Property | Type | Access | Description |
|---|
color | color | read/write | Returns the color of the vector element. |
Style
| Property | Type | Access | Description |
|---|
color | color | read-only | Returns the color of the vector element. |
StyleBuilder
| Property | Type | Access | Description |
|---|
color | color | read/write | Returns the color of the vector element. |
TextStyle
| Property | Type | Access | Description |
|---|
backgroundColor | color | read-only | Returns the background color of the text. |
borderColor | color | read-only | Returns the color of the border. |
borderWidth | number | read-only | Returns the width of the border. |
breakLines | boolean | read-only | Returns the state of the 'break lines' flag. |
fontColor | color | read-only | Returns the font's color. |
fontName | string | read-only | Returns the font's name. |
fontSize | number | read-only | Returns the font's size. |
strokeColor | color | read-only | Returns the color of the stroke. |
strokeWidth | number | read-only | Returns the width of the stroke. |
textField | string | read-only | Returns the text field variable to use. |
textMargins | struct massif::TextMargins | read-only | Returns the margins for the text. |
Inherited from LabelStyle:
| Property | Type | Access | Description |
|---|
anchorPointX | number | read-only | Returns the horizontal anchor point of the label. |
anchorPointY | number | read-only | Returns the vertical anchor point of the label. |
flippable | boolean | read-only | Returns the state of the flippable flag. |
orientationMode | enum | read-only | Returns the orientation mode of the label. |
renderScale | number | read-only | Returns the relative rendering scale of the label. |
scalingMode | enum | read-only | Returns the scaling mode of the label. |
Inherited from BillboardStyle:
| Property | Type | Access | Description |
|---|
animationStyle | object std::shared_ptr<massif::AnimationStyle> | read-only | Returns the animation style of the billboard. |
attachAnchorPointX | number | read-only | Returns the horizontal attaching anchor point of the billoard. |
attachAnchorPointY | number | read-only | Returns the vertical attaching anchor point of the billoard. |
causesOverlap | boolean | read-only | Returns the state of the causes overlap flag. |
hideIfOverlapped | boolean | read-only | Returns the state of the allow overlap flag. |
horizontalOffset | number | read-only | Returns the horizontal offset of the billboard. |
placementPriority | integer | read-only | Returns the placement priority of the billboard. |
scaleWithDPI | boolean | read-only | Returns the state of the scale with DPI flag. |
verticalOffset | number | read-only | Returns the vertical offset of the billboard. |
Inherited from Style:
| Property | Type | Access | Description |
|---|
color | color | read-only | Returns the color of the vector element. |