Multiline object class (polyline) placed on the maps in the form of layers EMAPI.VectorLayer type.
Inherits from;
| EMAPI. | Multiline 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. | The constructor of a new instance of the EMAPI.Object.PolylineObject class. |
| destroy | Destroys an object of EMAPI.Object.PolylineObject class. |
| setGeometry | Sets new coordinates of polyline. |
{Array(EMAPI.LonLat)} The coordinates list of the polyline points.
setGeometry: function( geometry )
Sets new coordinates of polyline.
| geometry | {Array(EMAPI.LonLat} The list of new coordinates of polyline. |
Destroys an object of EMAPI.Object.PolylineObject class.
destroy: function()
Sets new coordinates of polyline.
setGeometry: function( geometry )