initWithIdentifier$1 method

MLNImageSource initWithIdentifier$1(
  1. NSString identifier, {
  2. required MLNCoordinateQuad coordinateQuad,
  3. required UIImage image,
})

Returns a georeferenced image source with an identifier, coordinates and an image.

@param identifier A string that uniquely identifies the source. @param coordinateQuad The top left, top right, bottom right, and bottom left coordinates for the image. @param image The image to display for the source. @return An initialized shape source.

Implementation

MLNImageSource initWithIdentifier$1(objc.NSString identifier, {required MLNCoordinateQuad coordinateQuad,required UIImage image}) {
  final _ret = _objc_msgSend_judg3a(this.ref.retainAndReturnPointer(), _sel_initWithIdentifier_coordinateQuad_image_, identifier.ref.pointer, coordinateQuad, image.ref.pointer);
  return MLNImageSource.castFromPointer(_ret, retain: false, release: true);
}