pointCollectionWithCoordinates static method

MLNPointCollectionFeature pointCollectionWithCoordinates(
  1. Pointer<CLLocationCoordinate2D> coords, {
  2. required int count,
})
override

Creates and returns a MLNPointCollection object from the specified set of coordinates.

@param coords The array of coordinates defining the shape. The data in this array is copied to the new object. @param count The number of items in the coords array. @return A new point collection object.

Implementation

static MLNPointCollectionFeature pointCollectionWithCoordinates(ffi.Pointer<CLLocationCoordinate2D> coords, {required int count}) {
  final _ret = _objc_msgSend_i90tul(_class_MLNPointCollectionFeature, _sel_pointCollectionWithCoordinates_count_, coords, count);
  return MLNPointCollectionFeature.castFromPointer(_ret, retain: true, release: true);
}