Skip to main content
Version: 4.1

Map Marker

Map marker item, placed inside a map object.

Attributes​

Common​

Type​

Specifies the marker type.

Attribute Values​
ValueDescription
markerDefault value. Standard marker.
buttonButton marker.
cameraCamera marker.
shapeShape marker.
textText marker.
imageImage marker.

The default value is: marker.

Position​

Lat​

Specifies the marker latitude.

Attribute Values​
ValueDescriptionExample
<float>Latitude.45.07

Lng​

Specifies the marker longitude.

Attribute Values​
ValueDescriptionExample
<float>Longitude.7.69

Content​

Marker Tooltip​

Specifies the marker tooltip label.

Attribute Values​
ValueDescription
<string>Marker label.

This attribute is available when type is "marker".

Specifies the marker popup content.

Attribute Values​
ValueDescription
<string>Popup text.

This attribute is available when type is "marker".

Size​

Width​

Sets the object's width in pixels.

Minimum value is 1.

This attribute is available when type is one of "button", "camera", "shape", "text", or "image".

Height​

Sets the object's height in pixels.

Minimum value is 1.

This attribute is available when type is one of "button", "camera", "shape", "text", or "image".

Button​

Label​

Specifies the button's label.

Attribute Values​
ValueDescription
<string>Button's label.

This attribute is available when type is "button".

Description​

Specifies a description displayed below the label.

Attribute Values​
ValueDescription
<string>Button's description.

This attribute is available when type is "button".

Color​

Specifies the button color.

Attribute Values​
ValueDescription
defaultDefault value. Default color.
primaryPrimary color, used to highlight action buttons.
warningWarning color, used to highlight warning buttons.
successSuccess color, used to highlight success buttons.
errorError color, used to highlight error buttons.
lightLight color.
darkDark color.
red,blue,yellow,green,yellow,purple,orange,greenPalette colors.
customCustom color, defined in the "Custom Color" attribute.

This attribute is available when type is "button".

The default value is: default.

Look​

Specifies the button's look.

Attribute Values​
ValueDescription
filledDefault value. Filled look, with a solid background.
clearClear look, no background or border.
outlinedOutlined look, with a solid border.
glassGlass look, with a semi-transparent background.

This attribute is available when type is "button".

The default value is: filled.

Shape​

Specifies the button's shape.

Attribute Values​
ValueDescription
defaultDefault value. Default shape.
roundedRounded shape.
pillPill or circle shape.
rectangleRectangle shape.

This attribute is available when type is "button".

The default value is: default.

Icon​

Specifies the button icon.

Attribute Values​
ValueDescription
<icon>Icon name.

This attribute is available when type is "button".

Button Action​

Action​

Specifies the action performed when clicked/tapped.

Attribute Values​
ValueDescription
noneDefault value. No action.
commandSends a command to the server, with the specified name and parameter.
linkChanges page, shows a popup or opens a URL.

This attribute is available when type is "button".

The default value is: none.

Name​

Specifies the command name that is sent to the server.

If the name starts with $, then the server will automatically set a variable with the same name as the command, containing the command's parameter.

Attribute Values​
ValueDescriptionExample
<string>A command name.
$[variable name]A command name that sets a variable.$myvar
$[variable name]!A command name that sets a persistent variable.$myvar!

This attribute is available when type is "button" and action is "command".

When type is "button" and action is "command", this attribute defaults to the id attribute.

Parameter​

Specifies the command parameter that is sent to the server.

Attribute Values​
ValueDescription
<string>A command parameter.

This attribute is available when type is "button" and action is "command".

Specifies a page, navigation command or external URL to follow.

Attribute Values​
ValueDescriptionExample
<Page ID>The page ID.
<URL>A url starting with "http://", "https://", "ftp://" or "www.".
backNavigate backward in browsing history.
forwardNavigate forward in browsing history.
closeCloses the last opened popup.
close-allCloses all open popups.
logoutOpens the logout popup.
adminclockOpens the admin clock page, where the user can set the system time.
adminpwdOpens the admin password page, where the user can change its puk or password.
adminusersOpens the admin users page, where the user can manage users and groups.
<comma-separated list>Consequently opens a list of links.
Useful for example to open multiple modals in sequence, or to open a page and then a popup.
close-all,mymodal

This attribute is available when type is "button" and action is "link".

Specifies where to open the linked URL. Available only for URL links.

Attribute Values​
ValueDescription
_selfDefault value. Opens the linked URL in the same window or tab.
_blankOpens the linked URL in a new window or tab.
<string>Opens the linked URL in a named window or tab. Use this to open multiple links in the same window or tab.

This attribute is available when action is link and link is a valid URL or path.

When action is link and link is a valid URL or path, this attribute defaults to _self.

Camera​

Camera​

Specifies the displayed camera name.

Attribute Values​
ValueDescription
<string>Camera name.

This attribute is available when type is "camera".

Target​

Specifies a target camera that replicates the view of the current camera when clicked. This feature can be used on larger camera objects to magnify the image.

Attribute Values​
ValueDescription
<string>Target camera object ID.

This attribute is available when type is "camera".

note

This attribute is static. Its value can't be changed dynamically with a uiSet command or with a value binding.

Shape​

Corners​

Specifies the number of corners.

Attribute Values​
ValueDescription
0Circle.
3Default value. Triangle.
4Rectangle.
5Pentagon.
6Hexagon.
7Heptagon.
8Octagon.
9Nonagon.
10Decagon.
11Hendecagon.
12Dodecagon.

This attribute is available when type is "shape".

When type is "shape", this attribute defaults to 3.

Stretch​

Specifies whether the shape is stretched to fill the object.

Attribute Values​
ValueDescription
falseDefault value. Shape is not stretched.
trueShape is stretched.

This attribute is available when type is "shape".

The default value is: false.

Corner Radius​

Specifies the radius of the rectangle's corners are rounded.

Attribute Values​
ValueDescriptionExample
0Default value. Corners are not rounded.
intCorner radius.4

This attribute is available when type is "shape" and corners is "4".

When type is "shape" and corners is "4", this attribute defaults to 0.

Stroke Width​

Specifies the stroke width.

Attribute Values​
ValueDescription
<string>Stroke width in pixels.

This attribute is available when type is "shape".

When type is "shape", this attribute defaults to 1.

Stroke Dash​

Specifies the pattern of dashes and gaps used to form the shape of the stroke.

The value is a list of comma and/or white space separated lengths or percentages. Each value specifies a length along the line for which the stroke is a dash or a gap.

Attribute Values​
ValueDescriptionExample
<comma-separated list>Dash pattern.5,3

This attribute is available when type is "shape".

Stroke Color​

Specifies the stroke color.

Attribute Values​
ValueDescriptionExample
<html color>Color in any html accepted format.#ff0000

This attribute is available when type is "shape".

Fill Color​

Specifies the fill color.

Attribute Values​
ValueDescription
<html color>Any valid HTML color.

This attribute is available when type is "shape".

Rotation​

Specifies the degrees by which the shape is rotated.

This attribute is available when type is "shape".

When type is "shape", this attribute defaults to 0.

Rotation Origin​

Specifies the rotation origin.

Attribute Values​
ValueDescription
centerDefault value. Center.
startStart Point.
endEnd Point.

This attribute is available when type is "shape".

The default value is: center.

Text​

Text​

Specifies the text.

This attribute is available when type is "text".

Scrollable​

Controls the appearance of scrolling bars.

Attribute Values​
ValueDescription
falseDefault value. No scrolling.
autoShows scrolling bars if content doesn't fit.
verticalShows the vertical scrolling bar.
horizontalShows the horizontal scrolling bar.
autoverticalShows the vertical scrolling bar if the content doesn't fit.
autohorizontalShows the horizontal scrolling bar if the content doesn't fit.

This attribute is available when type is "text".

The default value is: false.

Overflow​

Specifies the text's overflow behavior.

Attribute Values​
ValueDescription
autoDefault value. The text breaks automatically if a size is specified.
break-wordThe text breaks automatically on whole words.
break-allThe text breaks automatically on any character.
ellipsisThe text won't break and will be truncated with an ellipsis.
no-wrapThe text won't automatically break.
hiddenThe text won't break and the overflowing part will be hidden.

This attribute is available when type is "text".

The default value is: auto.

Template​

Defines an HTML template. The text parameter is split with pipe character (|) and each part is inserted in the template, replacing the %1;, %2;, $3;, etc. placeholders.

Attribute Values​
ValueDescriptionExample
<string>HTML template.<b>%1;</b> - %2;

This attribute is available when type is "text".

Format​

Specifies the text's format.

Attribute Values​
ValueDescriptionExample
<JSON object>Format configuration object.{"format":"datetime","datestyle":"medium","timestyle":"short"}

This attribute is available when type is "text".

Selectable​

Makes the text selectable.

Attribute Values​
ValueDescription
falseDefault value. False.
trueTrue.

This attribute is available when type is "text".

The default value is: false.

Detects urls, emails and phone numbers and displays them as hyperlinks. Phone numbers can be: E.164 format, [+]XXX XXX XXXX or [+]XXX-XXX-XXXX.

Attribute Values​
ValueDescription
falseDefault value. Disabled.
trueEnabled.

This attribute is available when type is "text".

The default value is: false.

CSS Style​

This attribute is available when type is "text".

note

This attribute has been deprecated since ver. 4.0

Font Family​

Specifies the font family.

This attribute is available when type is "text".

Default behavior:

  • When type is "text", this attribute defaults to default.
  • When type is "image", this attribute defaults to default.

Font Size​

Specifies the font size in pixels or percentage (relative to the project's font size).

Attribute Values​
ValueDescriptionExample
<integer>Font size in pixels.
<percentage>%Relative font size in percentage.90%

This attribute is available when type is "text".

Default behavior:

  • When type is "text", this attribute defaults to 14.
  • When type is "image", this attribute defaults to 14.

Font Color​

Specifies the text CSS color.

Attribute Values​
ValueDescriptionExample
<html color>Color in any html accepted format.#ff0000

This attribute is available when type is "text".

Font Weight​

Specifies the weight of the font.

Attribute Values​
ValueDescription
normalDefault value. Normal.
boldBold.
bolderBolder.
lighterLighter.

This attribute is available when type is "text".

The default value is: normal.

Italic​

Show the text in italics.

Attribute Values​
ValueDescription
falseDefault value. Normal.
trueItalics.

This attribute is available when type is "text".

The default value is: false.

Small Caps​

Sets the font to small caps.

Attribute Values​
ValueDescription
falseDefault value. Normal.
trueSmall caps.

This attribute is available when type is "text".

The default value is: false.

Decoration​

Specifies the text decoration.

Attribute Values​
ValueDescription
noneDefault value. No decoration.
underlineUnderline.
overlineOverline.
line-throughLine through.

This attribute is available when type is "text".

The default value is: none.

Text Align​

Sets the horizontal alignment of the text.

Attribute Values​
ValueDescription
noneDefault value. No alignment.
leftLeft alignment.
rightRight alignment.
centerCenter alignment.
justifyJustified alignment.

This attribute is available when type is "text".

The default value is: none.

Line Height​

Sets the line height of the text.

Attribute Values​
ValueDescription
<float>Specify the line height as a multiple of the font size.

This attribute is available when type is "text".

Default behavior:

  • When type is "text", this attribute defaults to 1.0.
  • When type is "image", this attribute defaults to 1.0.

Vertical Align​

Sets the vertical alignment of the text.

Attribute Values​
ValueDescription
topDefault value. Aligns the text to the top.
middleAligns the text to the middle.
bottomAligns the text to the bottom.

This attribute is available when type is "text".

The default value is: top.

Padding​

Specifies the text's padding.

Attribute Values​
ValueDescriptionExample
<int>Padding in pixels.10
<integer list>A list of integer values, separated by comma or space, that specify the sides' pixel padding in the following order: top, right, bottom, left.10 20 10 20

This attribute is available when type is "text".

Panel​

Shows a panel that frames the object. Its style can be modified.

Attribute Values​
ValueDescription
trueShows the panel.
falseDefault value. Hides the panel.

This attribute is available when type is "text".

When type is "text", this attribute defaults to false.

Panel Color​

Specifies the panel color.

Attribute Values​
ValueDescription
defaultDefault value. Default color.
primaryPrimary color, used to highlight important areas.
warningWarning color, used to highlight warning areas.
successSuccess color, used to highlight success areas.
errorError color, used to highlight error areas.
red,blue,yellow,green,yellow,purple,orange,greenPalette colors.
customCustom color, defined in the "Custom Color" attribute.

This attribute is available when type is "text".

The default value is: default.

Panel Custom Color​

Specifies the panel custom color.

Attribute Values​
ValueDescriptionExample
<html color>Color in any html accepted format.#ff0000

This attribute is available when type is "text".

Image​

Image​

Specifies the relative path of the image file to show.

Attribute Values​
ValueDescription
<image>Relative path to the image file.

This attribute is available when type is "image".

Fit​

Specifies how the image should be resized to fit its container.

Attribute Values​
ValueDescription
fillThe image is resized to fill the given dimension.
containDefault value. The image keeps its aspect ratio, but is resized to fit within the given dimension.
coverThe image keeps its aspect ratio and fills the given dimension.
noneThe image is not resized.
scale-downThe image is scaled down to the smallest version of none or contain.

This attribute is available when type is "image" and image is neither "", "icon:%", nor "loader:%".

When type is "image" and image is neither "", "icon:%", nor "loader:%", this attribute defaults to contain.

Icon Color​

Specifies the icon color.

This attribute is available when type is "image" and image is one of "icon:%" or "%.svg".

Label​

Specifies a label.

Attribute Values​
ValueDescription
<string>Label.

This attribute is available when type is "image".

Font Family​

Specifies the font family.

This attribute is available when type is "image".

Default behavior:

  • When type is "text", this attribute defaults to default.
  • When type is "image", this attribute defaults to default.

Font Size​

Specifies the font size in pixels or percentage (relative to the project's font size).

Attribute Values​
ValueDescriptionExample
<integer>Font size in pixels.
<percentage>%Relative font size in percentage.90%

This attribute is available when type is "image".

Default behavior:

  • When type is "text", this attribute defaults to 14.
  • When type is "image", this attribute defaults to 14.

Font Color​

Specifies the text CSS color.

Attribute Values​
ValueDescriptionExample
<html color>Color in any html accepted format.#ff0000

This attribute is available when type is "image".

Font Weight​

Specifies the weight of the font.

Attribute Values​
ValueDescription
normalDefault value. Normal.
boldBold.
bolderBolder.
lighterLighter.

This attribute is available when type is "image".

The default value is: normal.

Italic​

Show the text in italics.

Attribute Values​
ValueDescription
falseDefault value. Normal.
trueItalics.

This attribute is available when type is "image".

The default value is: false.

Small Caps​

Sets the font to small caps.

Attribute Values​
ValueDescription
falseDefault value. Normal.
trueSmall caps.

This attribute is available when type is "image".

The default value is: false.

Decoration​

Specifies the text decoration.

Attribute Values​
ValueDescription
noneDefault value. No decoration.
underlineUnderline.
overlineOverline.
line-throughLine through.

This attribute is available when type is "image".

The default value is: none.

Text Align​

Sets the horizontal alignment of the text.

Attribute Values​
ValueDescription
noneDefault value. No alignment.
leftLeft alignment.
rightRight alignment.
centerCenter alignment.
justifyJustified alignment.

This attribute is available when type is "image".

The default value is: none.

Line Height​

Sets the line height of the text.

Attribute Values​
ValueDescription
<float>Specify the line height as a multiple of the font size.

This attribute is available when type is "image".

Default behavior:

  • When type is "text", this attribute defaults to 1.0.
  • When type is "image", this attribute defaults to 1.0.

Label CSS​

This attribute is available when type is "image".

note

This attribute has been deprecated since ver. 4.0

Tooltip​

Specifies a tooltip text that appears on mouseover.

Attribute Values​
ValueDescription
<string>Tooltip text.

This attribute is available when type is "image".