Nativescript Doc
Preparing search index...
The search index is not available
@nativescript-community/ui-carto
@nativescript-community/ui-carto
vectorelements/polygon
Polygon
Class Polygon<T>
Type Parameters
T
=
DefaultLatLonKeys
Hierarchy (
View Summary
)
BaseLineVectorElement
<
any
,
PolygonOptions
<
T
>
,
T
>
Polygon
Index
Constructors
constructor
Properties
color?
during
Init
geometry?
line
Style
Builder?
meta
Data
native
options
positions?
projection?
size?
style?
style
Builder?
visible?
Methods
dispose
get
Native
init
Native
View
Constructors
constructor
new
Polygon
<
T
=
DefaultLatLonKeys
>
(
options
?:
PolygonOptions
<
T
>
,
native
?:
any
,
)
:
Polygon
<
T
>
Type Parameters
T
=
DefaultLatLonKeys
Parameters
Optional
options
:
PolygonOptions
<
T
>
Optional
native
:
any
Returns
Polygon
<
T
>
Properties
Optional
color
color
?:
string
|
Color
during
Init
duringInit
:
boolean
Optional
geometry
geometry
?:
Geometry
<
T
,
GeometryOptions
<
T
>
>
Optional
line
Style
Builder
lineStyleBuilder
?:
LineStyleBuilderOptions
|
LineStyleBuilder
meta
Data
metaData
:
{
[
k
:
string
]:
string
}
native
native
:
any
options
options
:
PolygonOptions
<
T
>
Optional
positions
positions
?:
MapPosVector
<
T
>
|
GenericMapPos
<
T
>
[]
Optional
projection
projection
?:
Projection
Optional
size
size
?:
number
Optional
style
style
?:
any
Optional
style
Builder
styleBuilder
?:
PolygonStyleBuilderOptions
|
PolygonStyleBuilder
Optional
visible
visible
?:
boolean
Methods
dispose
dispose
()
:
any
Returns
any
get
Native
getNative
()
:
any
Returns
any
init
Native
View
initNativeView
(
native
:
any
,
options
:
PolygonOptions
<
T
>
)
:
void
Parameters
native
:
any
options
:
PolygonOptions
<
T
>
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
color
during
Init
geometry
line
Style
Builder
meta
Data
native
options
positions
projection
size
style
style
Builder
visible
Methods
dispose
get
Native
init
Native
View
Nativescript Doc
@nativescript-community/ui-carto
Loading...