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 full
)
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
get
Native
init
Native
View
Constructors
constructor
new
Polygon
<
T
>
(
options
?
,
native
?
)
:
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
during
Init
:
boolean
Optional
geometry
geometry
?:
Geometry
<
T
,
GeometryOptions
<
T
>
>
Optional
line
Style
Builder
line
Style
Builder
?:
LineStyleBuilderOptions
|
LineStyleBuilder
meta
Data
meta
Data
:
{
[
k
:
string
]
:
string
;
}
Type declaration
[
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
style
Builder
?:
PolygonStyleBuilderOptions
|
PolygonStyleBuilder
Optional
visible
visible
?:
boolean
Methods
get
Native
get
Native
(
)
:
any
Returns
any
init
Native
View
init
Native
View
(
native
,
options
)
:
void
Parameters
native
:
any
options
:
PolygonOptions
<
T
>
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
color
during
Init
geometry
line
Style
Builder
meta
Data
native
options
positions
projection
size
style
style
Builder
visible
get
Native
init
Native
View
@nativescript-community/ui-carto
core
datasources
geocoding/service
geometry
index
layers
packagemanager
projections
rastertiles
routing
search
ui
utils
vectorelements
vectortiles
Generated using
TypeDoc