@nativescript-community/ui-massifmaps
Nativescript Doc
Preparing search index...
vectorelements/line
Line
Class Line<T>
public shape of the accessors this class declares itself
Type Parameters
T
=
DefaultLatLonKeys
Hierarchy (
View Summary
)
BaseLineVectorElement
<
any
,
LineOptions
<
T
>
,
T
>
Accessors
Accessors
Omit
<
Methods
,
"getBounds"
|
"getGeometry"
>
Line
Index
Constructors
constructor
Properties
click
Width?
color?
during
Init
end
Type?
geometry
id?
ignore
Altitude?
join
Type?
meta
Data
native
options
poses
positions?
projection?
stretch
Factor?
style?
style
Builder?
visible?
width?
Methods
contains
Meta
Data
Key
dispose
get
Bounds
get
Geometry
get
Id
get
Meta
Data
get
Metadata
Element
get
Meta
Data
Element
get
Native
get
Poses
init
Native
View
is
Visible
notify
Element
Changed
set
Id
set
Meta
Data
set
Metadata
Element
set
Meta
Data
Element
set
Poses
set
Visible
Constructors
constructor
new
Line
<
T
=
DefaultLatLonKeys
>
(
options
?:
LineOptions
,
native
?:
any
)
:
Line
<
T
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
Optional
options
:
LineOptions
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
id
id
?:
number
Optional
ignore
Altitude
ignoreAltitude
?:
boolean
Optional
join
Type
joinType
?:
LineJointType
meta
Data
metaData
:
{
[
k
:
string
]:
string
}
native
native
:
any
options
options
:
LineOptions
poses
poses
:
any
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
contains
Meta
Data
Key
containsMetaDataKey
(
arg0
:
string
)
:
boolean
Parameters
arg0
:
string
Returns
boolean
dispose
dispose
()
:
any
Returns
any
get
Bounds
getBounds
()
:
MapBounds
<
T
>
Returns
MapBounds
<
T
>
get
Geometry
getGeometry
()
:
LineGeometry
<
T
>
Returns
LineGeometry
<
T
>
get
Id
getId
()
:
number
Returns
number
get
Meta
Data
getMetaData
()
:
any
Returns
any
get
Metadata
Element
getMetadataElement
(
key
:
string
)
:
{
[
k
:
string
]:
string
}
Parameters
key
:
string
Returns
{
[
k
:
string
]:
string
}
get
Meta
Data
Element
getMetaDataElement
(
arg0
:
string
)
:
any
Parameters
arg0
:
string
Returns
any
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
)
:
void
Parameters
native
:
any
options
:
LineOptions
Returns
void
is
Visible
isVisible
()
:
boolean
Returns
boolean
notify
Element
Changed
notifyElementChanged
()
:
void
Returns
void
set
Id
setId
(
arg0
:
number
)
:
void
Parameters
arg0
:
number
Returns
void
set
Meta
Data
setMetaData
(
arg0
:
any
)
:
void
Parameters
arg0
:
any
Returns
void
set
Metadata
Element
setMetadataElement
(
key
:
string
,
element
:
{
[
k
:
string
]:
string
}
)
:
void
Parameters
key
:
string
element
:
{
[
k
:
string
]:
string
}
Returns
void
set
Meta
Data
Element
setMetaDataElement
(
arg0
:
string
,
arg1
:
any
)
:
void
Parameters
arg0
:
string
arg1
:
any
Returns
void
set
Poses
setPoses
(
positions
:
MapPosVector
<
T
>
|
GenericMapPos
<
T
>
[]
)
:
any
Parameters
positions
:
MapPosVector
<
T
>
|
GenericMapPos
<
T
>
[]
Returns
any
set
Visible
setVisible
(
arg0
:
boolean
)
:
void
Parameters
arg0
:
boolean
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
click
Width
color
during
Init
end
Type
geometry
id
ignore
Altitude
join
Type
meta
Data
native
options
poses
positions
projection
stretch
Factor
style
style
Builder
visible
width
Methods
contains
Meta
Data
Key
dispose
get
Bounds
get
Geometry
get
Id
get
Meta
Data
get
Metadata
Element
get
Meta
Data
Element
get
Native
get
Poses
init
Native
View
is
Visible
notify
Element
Changed
set
Id
set
Meta
Data
set
Metadata
Element
set
Meta
Data
Element
set
Poses
set
Visible
Nativescript Doc
@nativescript-community/ui-massifmaps
Loading...
public shape of the accessors this class declares itself