foldkit-viz - v0.15.0
Storybook
Charts
npm
GitHub
Zloz API
Preparing search index...
geoCentroid
Function geoCentroid
geoCentroid
(
proj
:
Projection
,
obj
:
GeoObject
)
:
readonly
[
number
,
number
]
|
null
Centroid of a GeoObject in projected pixel space. Uses arithmetic mean of all coordinate positions.
Parameters
proj
:
Projection
obj
:
GeoObject
Returns
readonly
[
number
,
number
]
|
null
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Storybook
Charts
npm
GitHub
Zloz API
foldkit-viz - v0.15.0
Loading...
Centroid of a GeoObject in projected pixel space. Uses arithmetic mean of all coordinate positions.