Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
vectorelements/line
Line
Class Line<T>
Type Parameters
T
=
DefaultLatLonKeys
Hierarchy (
View Summary
)
BaseLineVectorElement
<
any
,
LineOptions
<
T
>
,
T
>
Line
Index
Constructors
constructor
Properties
click
Width?
color?
during
Init
end
Type?
geometry
ignore
Altitude?
join
Type?
meta
Data
native
options
positions?
projection?
stretch
Factor?
style?
style
Builder?
visible?
width?
Methods
dispose
get
Bounds
get
Geometry
get
Native
get
Poses
init
Native
View
set
Poses
Constructors
constructor
new
Line
<
T
=
DefaultLatLonKeys
>
(
options
?:
LineOptions
<
T
>
,
native
?:
any
)
:
Line
<
T
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
Optional
options
:
LineOptions
<
T
>
Optional
native
:
any
Returns
Line
<
T
>
Properties
Optional
click
Width
clickWidth
?:
number
Optional
color
color
?:
string
|
Color
during
Init
duringInit
:
boolean
Optional
end
Type
endType
?:
LineEndType
geometry
geometry
:
LineGeometry
<
T
>
Optional
ignore
Altitude
ignoreAltitude
?:
boolean
Optional
join
Type
joinType
?:
LineJointType
meta
Data
metaData
:
{
[
k
:
string
]:
string
}
native
native
:
any
options
options
:
LineOptions
<
T
>
Optional
positions
positions
?:
MapPosVector
<
T
>
|
GenericMapPos
<
T
>
[]
Optional
projection
projection
?:
Projection
Optional
stretch
Factor
stretchFactor
?:
number
Optional
style
style
?:
any
Optional
style
Builder
styleBuilder
?:
LineStyleBuilderOptions
|
LineStyleBuilder
Optional
visible
visible
?:
boolean
Optional
width
width
?:
number
Methods
dispose
dispose
()
:
any
Returns
any
get
Bounds
getBounds
()
:
MapBounds
<
T
>
Returns
MapBounds
<
T
>
get
Geometry
getGeometry
()
:
LineGeometry
<
T
>
Returns
LineGeometry
<
T
>
get
Native
getNative
()
:
any
Returns
any
get
Poses
getPoses
()
:
MapPosVector
<
T
>
|
GenericMapPos
<
T
>
[]
Returns
MapPosVector
<
T
>
|
GenericMapPos
<
T
>
[]
init
Native
View
initNativeView
(
native
:
any
,
options
:
LineOptions
<
T
>
)
:
void
Parameters
native
:
any
options
:
LineOptions
<
T
>
Returns
void
set
Poses
setPoses
(
positions
:
MapPosVector
<
T
>
|
GenericMapPos
<
T
>
[]
)
:
any
Parameters
positions
:
MapPosVector
<
T
>
|
GenericMapPos
<
T
>
[]
Returns
any
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
click
Width
color
during
Init
end
Type
geometry
ignore
Altitude
join
Type
meta
Data
native
options
positions
projection
stretch
Factor
style
style
Builder
visible
width
Methods
dispose
get
Bounds
get
Geometry
get
Native
get
Poses
init
Native
View
set
Poses
Nativescript Doc
@nativescript-community/ui-carto
Loading...