EMAPI.Object.PolylineObject

Multiline object class (polyline) placed on the maps in the form of layers EMAPI.VectorLayer type.

Inherits from;

Summary
EMAPI.Object.PolylineObjectMultiline object class (polyline) placed on the maps in the form of layers EMAPI.VectorLayer type.
Properties
lonLat{Array(EMAPI.LonLat)} The coordinates list of the polyline points.
stroke{Boolean} Information about the visibility of a polyline on the map (default is true).
strokeColor{String} Hexadecimal colour of polyline (default #339933).
strokeOpacity{Float} The level of transparency of the polyline with the range 0.0-1.0 (default 1).
strokeWidth{Integer} The width of polyline (default 3).
strokeLinecap{String} The end style of polyline, one of a set values [butt | round | square] (default round).
strokeDashstyle{String} The style of polyline, one of a set values [dot | dash | dashdot | longdash | longdashdot | solid] (default is solid).
fillOpacity{Float} The level of transparency of fulfilment with the range 0.0-1.0 (default 0.9).
fillColor{String} Hexadecimal colour of fulfilment (default #339933).
Functions
EMAPI.Object.PolylineObjectThe constructor of a new instance of the EMAPI.Object.PolylineObject class.
destroyDestroys an object of EMAPI.Object.PolylineObject class.
setGeometrySets new coordinates of polyline.

Properties

lonLat

{Array(EMAPI.LonLat)} The coordinates list of the polyline points.

stroke

{Boolean} Information about the visibility of a polyline on the map (default is true).

strokeColor

{String} Hexadecimal colour of polyline (default #339933).

strokeOpacity

{Float} The level of transparency of the polyline with the range 0.0-1.0 (default 1).

strokeWidth

{Integer} The width of polyline (default 3).

strokeLinecap

{String} The end style of polyline, one of a set values [butt | round | square] (default round).

strokeDashstyle

{String} The style of polyline, one of a set values [dot | dash | dashdot | longdash | longdashdot | solid] (default is solid).

fillOpacity

{Float} The level of transparency of fulfilment with the range 0.0-1.0 (default 0.9).

fillColor

{String} Hexadecimal colour of fulfilment (default #339933).

Functions

EMAPI.Object.PolylineObject

The constructor of a new instance of the EMAPI.Object.PolylineObject class.

Parameters

options{Object} An object with additional parameters of class instance.
attributes{Object} Object with attributes of instance class.

destroy

destroy: function()

Destroys an object of EMAPI.Object.PolylineObject class.

setGeometry

setGeometry: function(geometry)

Sets new coordinates of polyline.

Parameters

geometry{Array(EMAPI.LonLat} The list of new coordinates of polyline.
An additional layer of objects applied to the map.
A class representing the geographic coordinates in the form of latitude and longitude.
destroy: function()
Destroys an object of EMAPI.Object.PolylineObject class.
setGeometry: function(geometry)
Sets new coordinates of polyline.
The base class for all the objects placed on the maps in a layers of EMAPI.VectorLayer type.
Close