IMapLineProperties

Type interface

Defines properties for MapLine.

Inheritance

IMapLineProperties extends IMapObjectProperties.

IMapLineProperties is extended by IMapLineAdapters, IGraticuleProperties, IMapArcProperties, IMapSplineProperties.

Properties

align
#

Type Align

Inherited from ISpriteProperties

alwaysShowTooltip
#

Type boolean

Inherited from ISpriteProperties

clickable
#

Type boolean

Inherited from ISpriteProperties

contentAlign
#

Type Align

Inherited from IContainerProperties

Horizontal alignment of Container's items.

contextMenuDisabled
#

Type boolean

Inherited from ISpriteProperties

disabled
#

Type boolean

Inherited from ISpriteProperties

draggable
#

Type boolean

Inherited from ISpriteProperties

dx
#

Type number

Inherited from ISpriteProperties

dy
#

Type number

Inherited from ISpriteProperties

fill
#

Type Color | LinearGradient | RadialGradient | Pattern

Inherited from ISpriteProperties

fillModifier
#

Type ColorModifier

Inherited from ISpriteProperties

fillOpacity
#

Type number

Inherited from ISpriteProperties

fixedWidthGrid
#

Type boolean

Default false

Inherited from IContainerProperties

If set to true, all columns of the container with layout type "grid" will be equally sized.

focusable
#

Type boolean

Inherited from ISpriteProperties

fontFamily
#

Type string

Inherited from IContainerProperties

Font family for the text.

fontSize
#

Type number

Inherited from IContainerProperties

Font size for the text.

fontWeight
#

Type FontWeight

Default "normal"

Inherited from IContainerProperties

Default font weight.

height
#

Type number | Percent

Inherited from ISpriteProperties

hidden
#

Type boolean

Inherited from ISpriteProperties

horizontalCenter
#

Type HorizontalCenter

Inherited from ISpriteProperties

hoverOnFocus
#

Type boolean

Inherited from ISpriteProperties

hoverable
#

Type boolean

Inherited from ISpriteProperties

id
#

Type string

Inherited from ISpriteProperties

imagesToConnect
#

Type MapImage[]

Instead of setting longitudes/latitudes you can set an array of images which will be connected by the line

inert
#

Type boolean

Inherited from ISpriteProperties

interactionsEnabled
#

Type boolean

Inherited from ISpriteProperties

isActive
#

Type boolean

Inherited from ISpriteProperties

isHover
#

Type boolean

Inherited from ISpriteProperties

layout
#

Type ContainerLayout

Default "absolute"

Inherited from IContainerProperties

Container layout.

Options: "absolute" (default), "vertical", "horizontal", or "grid".

marginBottom
#

Type number

Inherited from ISpriteProperties

marginLeft
#

Type number

Inherited from ISpriteProperties

marginRight
#

Type number

Inherited from ISpriteProperties

marginTop
#

Type number

Inherited from ISpriteProperties

maxColumns
#

Type number

Inherited from IContainerProperties

Maximum number of columns (when using "grid" layout).

maxHeight
#

Type number

Inherited from ISpriteProperties

maxWidth
#

Type number

Inherited from ISpriteProperties

maxX
#

Type number

Inherited from ISpriteProperties

maxY
#

Type number

Inherited from ISpriteProperties

minHeight
#

Type number

Inherited from ISpriteProperties

minWidth
#

Type number

Inherited from ISpriteProperties

minX
#

Type number

Inherited from ISpriteProperties

minY
#

Type number

Inherited from ISpriteProperties

multiGeoLine
#

Type Array < Array < IGeoPoint > >

Lat/long coordinates of all line ends and intermediate elbows.

multiLine
#

Type Array < Array < ... > >

Lat/long coordinates of all line ends and intermediate elbows.

nonScaling
#

Type boolean

Inherited from ISpriteProperties

nonScalingStroke
#

Type boolean

Inherited from ISpriteProperties

opacity
#

Type number

Inherited from ISpriteProperties

paddingBottom
#

Type number

Inherited from ISpriteProperties

paddingLeft
#

Type number

Inherited from ISpriteProperties

paddingRight
#

Type number

Inherited from ISpriteProperties

paddingTop
#

Type number

Inherited from ISpriteProperties

path
#

Type string

Inherited from ISpriteProperties

pixelPerfect
#

Type boolean

Inherited from ISpriteProperties

precision
#

Type number

Default 0.1

When line is plotted, if its shortestDistance is set to true it is bent according to the used projection, to depict the shortest distance how it would go on the actual land.

precision introduces a setting which can control when such bending occurs.

If the distance (in degrees) between line start and end points is less than precision, no bending will take place and the line will be straight.

Set to large number (e.g. 10000) for perfectly straight line.

@since 4.9.1

readerChecked
#

Type boolean

Inherited from ISpriteProperties

readerControls
#

Type string

Inherited from ISpriteProperties

readerDescribedBy
#

Type string

Inherited from ISpriteProperties

readerDescription
#

Type string

Inherited from ISpriteProperties

readerHidden
#

Type boolean

Inherited from ISpriteProperties

readerLabelledBy
#

Type string

Inherited from ISpriteProperties

readerLive
#

Type AriaLive

Inherited from ISpriteProperties

readerOrientation
#

Type string

Inherited from ISpriteProperties

readerTitle
#

Type string

Inherited from ISpriteProperties

readerValueNow
#

Type string

Inherited from ISpriteProperties

readerValueText
#

Type string

Inherited from ISpriteProperties

resizable
#

Type boolean

Inherited from ISpriteProperties

reverseOrder
#

Type boolean

Default false

Inherited from IContainerProperties

If set to true, the children of the container will be drawn in reverse order.

role
#

Type Roles

Inherited from ISpriteProperties

rotation
#

Type number

Inherited from ISpriteProperties

scale
#

Type number

Inherited from ISpriteProperties

setStateOnChildren
#

Type boolean

Default false

Inherited from IContainerProperties

Specifies if, when state is applied on this container, the same state should be applied to container's children as well as background.

shapeRendering
#

Type ShapeRendering

Inherited from ISpriteProperties

shortestDistance
#

Type boolean

If true it line will be arched in the way to simulate shortest path over curvature of Earth's surface, based on currently used on projection.

showOnInit
#

Type boolean

Inherited from ISpriteProperties

showTooltipOn
#

Type "hover" | "hit" | "always"

Inherited from ISpriteProperties

stroke
#

Type Color | LinearGradient | RadialGradient | Pattern

Inherited from ISpriteProperties

strokeDasharray
#

Type string

Inherited from ISpriteProperties

strokeDashoffset
#

Type number

Inherited from ISpriteProperties

strokeLinecap
#

Type "butt" | "square" | "round"

Inherited from ISpriteProperties

strokeLinejoin
#

Type "miter" | "round" | "bevel"

Inherited from ISpriteProperties

strokeModifier
#

Type ColorModifier

Inherited from ISpriteProperties

strokeOpacity
#

Type number

Inherited from ISpriteProperties

strokeWidth
#

Type number

Inherited from ISpriteProperties

swipeable
#

Type boolean

Inherited from ISpriteProperties

tabindex
#

Type number

Inherited from ISpriteProperties

textDecoration
#

Type TextDecoration

Default "none"

Inherited from IContainerProperties

Default font decoration.

togglable
#

Type boolean

Inherited from ISpriteProperties

tooltipHTML
#

Type string

Inherited from ISpriteProperties

tooltipPosition
#

Type "fixed" | "pointer"

Inherited from ISpriteProperties

tooltipText
#

Type string

Inherited from ISpriteProperties

tooltipX
#

Type number | Percent

Inherited from ISpriteProperties

tooltipY
#

Type number | Percent

Inherited from ISpriteProperties

trackable
#

Type boolean

Inherited from ISpriteProperties

url
#

Type string

Inherited from ISpriteProperties

urlTarget
#

Type string

Inherited from ISpriteProperties

userClassName
#

Type string

Inherited from ISpriteProperties

valign
#

Type VerticalAlign

Inherited from ISpriteProperties

verticalCenter
#

Type VerticalCenter

Inherited from ISpriteProperties

visible
#

Type boolean

Inherited from ISpriteProperties

wheelable
#

Type boolean

Inherited from ISpriteProperties

width
#

Type number | Percent

Inherited from ISpriteProperties

x
#

Type number | Percent

Inherited from ISpriteProperties

y
#

Type number | Percent

Inherited from ISpriteProperties

zIndex
#

Type number

Inherited from ISpriteProperties

zoomGeoPoint
#

Type IGeoPoint

Inherited from IMapObjectProperties

A custom point to use when zoomToMapObject() is called on this map object.

zoomLevel
#

Type number

Inherited from IMapObjectProperties

A custom zoom level to use when zoomToMapObject() is called on this map object.

There are 101 inherited items currently hidden from this list.