Search
Preparing search index...
The search index is not available
FDOT GIS Framework
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Terraformer
Polygon
Class Polygon
Hierarchy
Primitive
Polygon
Index
Constructors
constructor
Properties
coordinates
type
Methods
add
Vertex
bbox
close
contains
convex
Hull
envelope
has
Holes
holes
insert
Vertex
intersects
remove
Vertex
to
Geographic
to
Mercator
within
Constructors
constructor
new
Polygon
(
latLngs
:
Array
<
Array
<
Array
<
number
>
>
>
)
:
Polygon
new
Polygon
(
polygon
:
GeometryObject
)
:
Polygon
Parameters
latLngs:
Array
<
Array
<
Array
<
number
>
>
>
Returns
Polygon
Parameters
polygon:
GeometryObject
Returns
Polygon
Properties
coordinates
coordinates
:
any
type
type
:
string
Methods
add
Vertex
add
Vertex
(
coordinate
:
Array
<
number
>
)
:
Polygon
Parameters
coordinate:
Array
<
number
>
Returns
Polygon
bbox
bbox
(
)
:
Array
<
number
>
Returns
Array
<
number
>
close
close
(
)
:
Polygon
Returns
Polygon
contains
contains
(
geomtry
:
GeometryObject
)
:
boolean
Parameters
geomtry:
GeometryObject
Returns
boolean
convex
Hull
convex
Hull
(
)
:
Polygon
Returns
Polygon
envelope
envelope
(
)
:
Envelope
Returns
Envelope
has
Holes
has
Holes
(
)
:
boolean
Returns
boolean
holes
holes
(
)
:
Array
<
Polygon
>
Returns
Array
<
Polygon
>
insert
Vertex
insert
Vertex
(
coordinate
:
Array
<
number
>
, index
:
number
)
:
Polygon
Parameters
coordinate:
Array
<
number
>
index:
number
Returns
Polygon
intersects
intersects
(
geomtry
:
GeometryObject
)
:
boolean
Parameters
geomtry:
GeometryObject
Returns
boolean
remove
Vertex
remove
Vertex
(
index
:
number
)
:
Polygon
Parameters
index:
number
Returns
Polygon
to
Geographic
to
Geographic
(
)
:
Primitive
Returns
Primitive
to
Mercator
to
Mercator
(
)
:
Primitive
Returns
Primitive
within
within
(
geomtry
:
GeometryObject
)
:
boolean
Parameters
geomtry:
GeometryObject
Returns
boolean
Globals
"leaflet"
"leafletdraw"
"lodash"
"q"
GeoJSON
L
Map
Box
Q
Terraformer
_
proj4
to
GeoJSON
turf
ArcGIS
Feature
Feature
Collection
Line
String
Multi
Line
String
Multi
Point
Multi
Polygon
Point
Polygon
constructor
coordinates
type
add
Vertex
bbox
close
contains
convex
Hull
envelope
has
Holes
holes
insert
Vertex
intersects
remove
Vertex
to
Geographic
to
Mercator
within
Primitive
WKT
Envelope
Esri
Geometry
Parse
Options
Geo
Json
Geometry
Conversion
Options
Geometry
Object
IFeature
IFeature
Collection
to
Geographic
to
Mercator