Geometry.point constructor

Geometry.point(
  1. List<double> point, {
  2. Map<String, dynamic>? crs,
})

Implementation

Geometry.point(List<double> point, {Map<String, dynamic>? crs})
    : type = GeometryObjectType.Point,
      super('geometry', {
        'type': GeometryObjectType.Point.toString().split('.').last,
        'coordinates': point,
        if (crs != null) 'crs': crs
      });