initWithIdentifier method
MLNImageSource
initWithIdentifier(
- NSString identifier, {
- required MLNCoordinateQuad coordinateQuad,
- required NSURL URL,
Returns a georeferenced image source with an identifier, coordinates and a URL.
@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 url An HTTP(S) URL, absolute file URL, or local file URL relative to the current application’s resource bundle. @return An initialized shape source.
Implementation
MLNImageSource initWithIdentifier(objc.NSString identifier, {required MLNCoordinateQuad coordinateQuad,required objc.NSURL URL}) {
final _ret = _objc_msgSend_judg3a(this.ref.retainAndReturnPointer(), _sel_initWithIdentifier_coordinateQuad_URL_, identifier.ref.pointer, coordinateQuad, URL.ref.pointer);
return MLNImageSource.castFromPointer(_ret, retain: false, release: true);
}