@nativescript-community/ui-massifmaps
Nativescript Doc
Preparing search index...
vectorelements/nmlmodel
NMLModel
Class NMLModel<T>
public shape of the accessors this class declares itself
Type Parameters
T
=
DefaultLatLonKeys
Hierarchy (
View Summary
)
BasePointVectorElement
<
any
,
NMLModelOptions
<
T
>
,
T
>
Accessors
Accessors
Omit
<
Methods
,
"setRotation"
>
Accessors
Omit
<
Methods
,
"getBounds"
|
"getGeometry"
>
NMLModel
Index
Constructors
constructor
Properties
base
Billboard
during
Init
geometry
id?
meta
Data
native
options
position?
projection?
rotation
rotation
Angle
rotation
Axis
scale
style
style
Builder
visible?
Methods
contains
Meta
Data
Key
dispose
get
Base
Billboard
get
Bounds
get
Geometry
get
Id
get
Meta
Data
get
Metadata
Element
get
Meta
Data
Element
get
Native
get
Native
Pos
get
Root
Geometry
get
Rotation
init
Native
View
is
Visible
notify
Element
Changed
set
Base
Billboard
set
Geometry
set
Id
set
Meta
Data
set
Metadata
Element
set
Meta
Data
Element
set
Pos
set
Visible
Constructors
constructor
new
NMLModel
<
T
=
DefaultLatLonKeys
>
(
options
?:
NMLModelOptions
,
native
?:
any
,
)
:
NMLModel
<
T
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
Optional
options
:
NMLModelOptions
Optional
native
:
any
Returns
NMLModel
<
T
>
Properties
base
Billboard
baseBillboard
:
any
during
Init
duringInit
:
boolean
geometry
geometry
:
any
Optional
id
id
?:
number
meta
Data
metaData
:
{
[
k
:
string
]:
string
}
native
native
:
any
options
options
:
NMLModelOptions
Optional
position
position
?:
GenericMapPos
<
T
>
Optional
projection
projection
?:
Projection
rotation
rotation
:
number
rotation
Angle
rotationAngle
:
number
rotation
Axis
rotationAxis
:
MapVec
scale
scale
:
number
style
style
:
any
style
Builder
styleBuilder
:
NMLModelStyleBuilder
<
any
,
any
>
Optional
visible
visible
?:
boolean
Methods
contains
Meta
Data
Key
containsMetaDataKey
(
arg0
:
string
)
:
boolean
Parameters
arg0
:
string
Returns
boolean
dispose
dispose
()
:
any
Returns
any
get
Base
Billboard
getBaseBillboard
()
:
any
Returns
any
get
Bounds
getBounds
()
:
MapBounds
<
DefaultLatLonKeys
>
Returns
MapBounds
<
DefaultLatLonKeys
>
get
Geometry
getGeometry
()
:
Geometry
<
DefaultLatLonKeys
>
Returns
Geometry
<
DefaultLatLonKeys
>
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
Native
Pos
getNativePos
(
pos
:
GenericMapPos
<
T
>
,
projection
?:
Projection
)
:
any
Parameters
pos
:
GenericMapPos
<
T
>
Optional
projection
:
Projection
Returns
any
get
Root
Geometry
getRootGeometry
()
:
any
Returns
any
get
Rotation
getRotation
()
:
number
Returns
number
init
Native
View
initNativeView
(
native
:
any
,
options
:
NMLModelOptions
)
:
void
Parameters
native
:
any
options
:
NMLModelOptions
Returns
void
is
Visible
isVisible
()
:
boolean
Returns
boolean
notify
Element
Changed
notifyElementChanged
()
:
void
Returns
void
set
Base
Billboard
setBaseBillboard
(
arg0
:
any
)
:
void
Parameters
arg0
:
any
Returns
void
set
Geometry
setGeometry
(
arg0
:
any
)
:
void
Parameters
arg0
:
any
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
Pos
setPos
(
arg0
:
any
)
:
void
Parameters
arg0
:
any
Returns
void
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
base
Billboard
during
Init
geometry
id
meta
Data
native
options
position
projection
rotation
rotation
Angle
rotation
Axis
scale
style
style
Builder
visible
Methods
contains
Meta
Data
Key
dispose
get
Base
Billboard
get
Bounds
get
Geometry
get
Id
get
Meta
Data
get
Metadata
Element
get
Meta
Data
Element
get
Native
get
Native
Pos
get
Root
Geometry
get
Rotation
init
Native
View
is
Visible
notify
Element
Changed
set
Base
Billboard
set
Geometry
set
Id
set
Meta
Data
set
Metadata
Element
set
Meta
Data
Element
set
Pos
set
Visible
Nativescript Doc
@nativescript-community/ui-massifmaps
Loading...
public shape of the accessors this class declares itself