menu
turf package
documentation
centroid.dart
centroid.dart
dark_mode
light_mode
centroid
library
Functions
centroid
(
GeoJSONObject
geoJSON
, {
Map
<
String
,
dynamic
>
?
properties
})
→
Feature
<
Point
>
Takes a
Feature
or a
FeatureCollection
and computes the centroid as the mean of all vertices within the object.
turf package
documentation
centroid.dart
turf
package
Libraries
along
area
bbox
bbox_polygon
bearing
center
centroid
clean_coords
clusters
destination
distance
explode
extensions
helpers
length
line_segment
line_to_polygon
meta
midpoint
nearest_point
nearest_point_on_line
polygon_smooth
polygon_to_line
polyline
transform
truncate
turf
turf_centroid library